Video controller properties
Definition and usage
controller
property returns the current media controller of the video.
By default, the <video> element has no media controller. If a media controller is specified, then controller
The property returns 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:
|
Support du navigateur
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Non pris en charge | Non pris en charge | Non pris en charge | Non pris en charge | Non pris en charge |