5_video_audio_apis
dz / mdn / js / 4_client_side_web_APIs / 5_video_audio_apisSummary
video and audio APIs
Node Tree
Nodes
html_video_audio | |
content | HTML video and audio |
children | video_elem, controls_vary_btwn_browsers, audio_elem |
video_elem | |
content | <video> |
parents | html_video_audio |
audio_elem | |
content | <audio> |
parents | html_video_audio |
controls_vary_btwn_browsers | |
content | controls are different in each browser: can be removed and programmed in JS |
parents | html_video_audio |
html_media_element_api | |
content | HTMLMediaElement API |
children | media_element, play_pause, timeupdate_event, controls_av_programatically |
controls_av_programatically | |
content | controls audio and video programatically |
parents | html_media_element_api |
play_pause | |
content | play()/pause() |
parents | html_media_element_api |
media_element | |
content | MediaElement |
children | current_time |
parents | html_media_element_api |
current_time | |
content | current_time property (seconds) |
parents | media_element |
timeupdate_event | |
content | timeupdate event |
parents | html_media_element_api |