search for: htmlmediael

Displaying 5 results from an estimated 5 matches for "htmlmediael".

2010 Feb 02
0
handling multitrack Ogg
...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") video.tracks[1].enbled = true; > if (video.tracks[1].lang == "fr") vi...
2014 Feb 03
1
get current song
> I'd try out browser playback. Works very well for ogg/vorbis and should > also start working for opus streams on most browsers now. > There is a javascript api to get metadata. Thank you. I will try. Can you point me to that "javascript api to get metadata" -- I have no idea where to start. CK On Mon, Feb 3, 2014 at 2:50 PM, "Thomas B. R?cker" <thomas at
2010 Feb 02
9
handling multitrack Ogg
...itle; 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") video.tracks[1].enbled = true; if (video.tracks[1].lang == "fr") video.tracks[1].enbled = true; As you ca...
2010 Feb 02
9
handling multitrack Ogg
...itle; 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") video.tracks[1].enbled = true; if (video.tracks[1].lang == "fr") video.tracks[1].enbled = true; As you ca...
2010 Feb 02
9
handling multitrack Ogg
...itle; 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") video.tracks[1].enbled = true; if (video.tracks[1].lang == "fr") video.tracks[1].enbled = true; As you ca...