Video play() Method
Example
A video with play and pause buttons:
	var x = document.getElementById("myVideo"); 
function playVid()
  
	{ 
  x.play(); 
  } 
function pauseVid()
  {
	
  x.pause(); 
  }
Try it Yourself »
Definition and Usage
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).
Browser Support
| Method | |||||
|---|---|---|---|---|---|
| play() | Yes | 9.0 | Yes | Yes | Yes | 
Syntax
	
		videoObject.play()
	
Parameters
| None | 
Return Value
| No return value | 
 Video Object
 Video Object

