Video controller properties
Definition and usage
controller
property returns the current media controller of the video.
By default, the <video> element does not have a media controller. If a media controller is specified, then controller
The property will return it as a MediaController object.
Hint:Please use controls property Set or return whether the video should display the standard video controls.
Instance
Check if the video has a media controller:
var x = document.getElementById("myVideo").controller;
Syntax
videoObject.controller
Return value
Type | Description |
---|---|
MediaController object |
Represents the media controller for the video. MediaController object properties/methods:
|
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Not Supported | Not Supported | Not Supported | Not Supported | Not Supported |