YouTip LogoYouTip

Met Video Play

# Video play() Method [![Image 8: Video Object Reference](#) Video Object](#) ## Example A video with play and pause buttons: var x = document.getElementById("myVideo"); function playVid(){x.play(); }function pauseVid(){x.pause(); } [Try it Β»](#) * * * ## Definition and Usage The play() method starts playing the current audio or video. **Tip:** This method is often used together with the [pause()](#) method. **Tip:** Use the (#) attribute to display video controls (like play, pause, seek, volume, etc.). * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The play() method is supported by all major browsers. **Note:** Internet Explorer 8 and earlier IE versions do not support this method. * * * ## Syntax _videoObject_.play() ## Parameters None ## Return Value No return value * * Video Object](#)
← Met Video PauseMet Video Load β†’