Accessibility/Video Media Fragments
From MozillaWiki
Implementing Video/Audio Media Fragment URIs in Web Browser
Temporal Media Fragments
http://www.w3.org/TR/media-frags/#naming-time
Relevant to: audio & video
Approach: byte range requests, see http://www.w3.org/TR/media-frags/#URIfragment-user-agent
Two uses:
1. URL in address bar
- video/audio starts playing from fragment start time and stops at end time, as soon as it is determined that it's really a media resource
- default @controls are displayed and need to introduce markers for the fragment, see e.g. http://www.youtube.com/watch?v=LfRRYp6mnu0
- for any video playing, when paused, update URL bar to include the fragment offset for people to cut and paste
- possibly add the new URL to browser history when pausing
- on context menu add a means to copy the media URL with fragment (see e.g. http://googlesystem.blogspot.com/2010/12/its-easier-to-link-to-youtube-timestamp.html)
2. URL in @src attribute of video/audio element
- video/audio starts playing from fragment start time and stops at end time
- if @controls are given, need to introduce markers for the fragment, see e.g. http://www.youtube.com/watch?v=LfRRYp6mnu0
- if @loop is given, the fragment will loop and not the full resource unless the user navigates the video manually and thus breaks the "fragment context"
- on context menu add a means to copy the media URL with fragment (see e.g. http://googlesystem.blogspot.com/2010/12/its-easier-to-link-to-youtube-timestamp.html)
Spatial Media Fragments
http://www.w3.org/TR/media-frags/#naming-space
Relevant to: images & video
Approach: CSS-like, i.e. hide unwanted pixels
- use URL in address bar and in @src attribute of video/img element
- splice image/video display to given selection
- on context menu add a means to copy the media URL with fragment
Track Fragments
http://www.w3.org/TR/media-frags/#naming-track
Relevant to: audio & video
Approach: hide unwanted data
- use URL in address bar or in @src attribute of video/img element, see e.g. https://labs.ericsson.com/developer-community/blog/beyond-html5-conversational-voice-and-video-implemented-webkit-gtk
- only display/decode enumerated tracks (audio, video etc)
- on context menu add a means to copy the media URL with fragment