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 |
WRITTEN BY
- Dukejin
If you don't walk today, you will have to run tomorrow. Try hard, Try hard!
,