HTML5 Audio Link

HTML5 has good support for playing and managing audio and video. Official HTML5 link: http://www.w3.org/TR/html5/

I saw on some web pages that the audio object has play () and pause () functions, also an attribute called currentTime, and much more.

However, "play", "pause" and "currentTime" are not even documented in the official HTML5 link. Where can I find the full link to HTML5 sound?

Regards, David

+3
source share
3 answers

play (), pause (), etc. come from the HTMLMediaElement interface described here: http://www.w3.org/TR/html5/video.html#htmlmediaelement

+5
source

Ajaxian , Google Chrome. , .:) .

+1

https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox is also a good link. The standard, ultimately, should be what is supported by at least two browsers.

+1
source

Source: https://habr.com/ru/post/1783008/


All Articles