forked from tomayac/Media-Fragments-URI
-
Notifications
You must be signed in to change notification settings - Fork 0
yunjiali/Media-Fragments-URI-Loose
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An extension of mediafragment.js (by Thomas Steiner, Google) Media Fragments URI is a W3C specification with the objective to provide for media-format independent, standard means of addressing media fragments on the Web using Uniform Resource Identifiers (URIs). (http://www.w3.org/2008/WebVideo/Fragments/) Many video sharing platforms have already implemented their own means of media fragments, such as the following URIs http://www.youtube.com/watch?v=Wm15rvkifPc#t=120 http://www.dailymotion.com/video/xjwusq?start=120 http://vimeo.com/812027#t=214 They are not strictly following the Media Fragment URI specification. But it is also useful to extend the original parser to be able to extract media fragment information from those URIs. features: 1. uri should use protocol http or https 2. use better uri parsing regex 3. consider the media fragments implemented by video sharing platforms, such as youtube 4. seconds could be bigger than 60 as long as minutes and hours are empty Released under the CC0 1.0 Universal (CC0 1.0) license. (http://creativecommons.org/publicdomain/zero/1.0/)
About
Parsing URI following Media Fragments URI W3C specification as well as the media fragments defined in major multimedia sharing websites
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0%