Media.ElSourceThe HTML media element interface.
Warning. This binding is incomplete, the modules El.Audio_track, El.Video_track, El.Text_track are mostly empty.
Audio tracks (incomplete).
Video tracks (incomplete).
Text tracks (incomplete).
Time ranges.
The type for elements satifying the HTMLMediaElement interface.
of_el e is the media interface of e. This throws a JavaScript error if e is not a Brr.El.audio or Brr.El.video element.
src m is the URI source of the played media.
src_object m s is the source object of m.
set_src_object m o sets the src_object of m to o.
current_src m is the current source of m.
cross_origin m is the CORS setting of m.
set_cross_origin m c sets the cross_origin of m to c.
network_state m is the network state of m.
buffered m are the ranges of media that are buffered:
can_play_type m t indicates if m can play t.
current_time m is the current time of m.
set_current_time_s m t sets the current_time_s of m to t.
default_playback_rate m is the default playback rate of m.
set_default_playback_rate m sets the default_playback_rate of m.
playback_rate m is the playback rate of m.
set_playback_rate m sets the playback_rate of m.
played m are the ranges that have been played.
seekable m indicates the time ranges that are seekable.
play m plays m.
default_muted m is the default muted state.
set_default_muted m b sets the default_muted of m to b.
audio_track_list m are the audio tracks of m.
video_track_list m are the video tracks of m.
text_trac_list m are the text tracks of m.
capture_tream m is a media stream for m.