Easy Tutorial
❮ Prop Style Bottom Prop Style Columncount ❯

Video play() Method

Video Object

Example

A video segment with play and pause buttons:


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 controls attribute to display video controls (such as: play, pause, seek, volume, etc.).


Browser Support

All major browsers support the play() method.

Note: Internet Explorer 8 and earlier versions do not support this method.


Syntax

Parameters

| None |

Return Value

| No return value |


❮ Prop Style Bottom Prop Style Columncount ❯