74.7k views
4 votes
You are embedding a video in your HTML5 page and want to incorporate the Play, Pause, Rewind and Volume video controls.

Which attribute is needed to accomplish this?

1 Answer

6 votes

Final answer:

To incorporate the Play, Pause, Rewind, and Volume video controls in an HTML5 page, you need to use the controls attribute in the video tag.

Step-by-step explanation:

To incorporate the Play, Pause, Rewind, and Volume video controls in an HTML5 page, you need to use the controls attribute in the video tag. This attribute provides the default set of controls for the video player, including Play, Pause, Seek Bar, Volume, and Fullscreen.

For example:

<video src="video.mp4" controls></video>

In this example, a video in the format of '.mp4' is embedded and the controls attribute is added to enable the video controls for the player.

User Simon Sheehan
by
8.3k points