티스토리 뷰

IT/ETC

Specifying playback range

Dukejin 2015. 11. 5. 16:05



When specifying the URI of media for an <audio> or <video> element, you can optionally include additional information to specify the portion of the media to play. To do this, append a hash mark ("#") followed by the media fragment description.

A time range is specified using the syntax:

#t=[starttime][,endtime]

The time can be specified as a number of seconds (as a floating-point value) or as an hours/minutes/seconds time separated with colons (such as 2:05:01 for 2 hours, 5 minutes, and 1 second).

A few examples:

http://foo.com/video.ogg#t=10,20
Specifies that the video should play the range 10 seconds through 20 seconds.
http://foo.com/video.ogg#t=,10.5
Specifies that the video should play from the beginning through 10.5 seconds.
http://foo.com/video.ogg#t=,02:00:00
Specifies that the video should play from the beginning through two hours.
http://foo.com/video.ogg#t=60
Specifies that the video should start playing at 60 seconds and play through the end of the video.


'IT > ETC' 카테고리의 다른 글

PMD + ANT XML 샘플 + 룰셋  (0) 2016.03.28
ETC - FTP의 Active Mode 와 Passive Mode  (0) 2015.12.14
video html5 test  (0) 2015.11.05
test  (0) 2015.10.12
중복 Class가 포함된 Jar 파일 찾는 방법  (0) 2015.10.02
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2026/08   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
글 보관함