HTML Audio/Video Methods
The HTML5 DOM provides tools like actions, traits, and occurrences that work with the or the <audio>
and <video>
elements.
Method | Description |
---|---|
addTextTrack() | Includes a fresh text part to the audio/video. |
canPlayType() | This code verifies if the web browser can handle and play a particular audio or video format. |
load() | Reload the audio/video player. |
play() | Begin the audio/video playback. |
pause() | Stops the audio or video that is currently playing. |