-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### 동영상 사이즈 최적화 | ||
|
||
- 동영상 서비스가 메인이 아닌 단순한 디자인 적인 요소를 이용할 경우 이용하는 방법이다. | ||
|
||
- 이미지랑 비슷하게 webp같이 구글에서 개발한 webm이라는 포맷이 있다. | ||
|
||
- webm은 비교적 최근에 만들어진 포맷이며 호환이 안되는 환경도 존재하는데 | ||
|
||
- <picture> 태그처럼 <video> 태그안에 <source> 태그를 여러개 이용하여 webm과 mp4같은 포맷을 동시에 이용해 환경에 따라 분기처리 할 수 있다. | ||
|
||
- 영상의 품질이 낮아지는 점을 최대한 방지하는 방안은 background-image로 dot를 씌운다면 조금은 회피 할 수 있다. | ||
|
||
- filter를 적용해 blur처리를 하는 방법도 있다. (메인 컨텐츠가 아닌 경우에 이용해보자) |