A video with play and pause buttons:
The play() method starts playing the current video.
Tip: This method is often used together with the pause() method.
Tip: Use the controls property to display video controls (like play, pause, seeking, volume, etc, attached on the video).
The play() method is supported in all major browsers.
Note: This method is not supported in Internet Explorer 8 and earlier.
None |
No return value |