search for: mediatracks

Displaying 4 results from an estimated 4 matches for "mediatracks".

Did you mean: mediatrack
2010 Feb 02
0
handling multitrack Ogg
...looks something like this: > > interface MediaTrack { > readonly attribute DOMString title; > readonly attribute DOMString type; > readonly attribute DOMString role; > readonly attribute DOMString lang; > attribute boolean enabled; > ... > }; > interface MediaTracks { > readonly attribute unsigned long length; > getter MediaTrack item(in unsigned long index); > ... > }; > interface HTMLMediaElement : HTMLElement { > ... > readonly attribute MediaTracks tracks; > ... > }; > > Which could be used for something like this: &g...
2010 Feb 02
9
handling multitrack Ogg
...ss tracks. For example, the current draft looks something like this: interface MediaTrack { readonly attribute DOMString title; readonly attribute DOMString type; readonly attribute DOMString role; readonly attribute DOMString lang; attribute boolean enabled; ... }; interface MediaTracks { readonly attribute unsigned long length; getter MediaTrack item(in unsigned long index); ... }; interface HTMLMediaElement : HTMLElement { ... readonly attribute MediaTracks tracks; ... }; Which could be used for something like this: if (video.tracks[1].role == "caption")...
2010 Feb 02
9
handling multitrack Ogg
...ss tracks. For example, the current draft looks something like this: interface MediaTrack { readonly attribute DOMString title; readonly attribute DOMString type; readonly attribute DOMString role; readonly attribute DOMString lang; attribute boolean enabled; ... }; interface MediaTracks { readonly attribute unsigned long length; getter MediaTrack item(in unsigned long index); ... }; interface HTMLMediaElement : HTMLElement { ... readonly attribute MediaTracks tracks; ... }; Which could be used for something like this: if (video.tracks[1].role == "caption")...
2010 Feb 02
9
handling multitrack Ogg
...ss tracks. For example, the current draft looks something like this: interface MediaTrack { readonly attribute DOMString title; readonly attribute DOMString type; readonly attribute DOMString role; readonly attribute DOMString lang; attribute boolean enabled; ... }; interface MediaTracks { readonly attribute unsigned long length; getter MediaTrack item(in unsigned long index); ... }; interface HTMLMediaElement : HTMLElement { ... readonly attribute MediaTracks tracks; ... }; Which could be used for something like this: if (video.tracks[1].role == "caption")...