Video controller property
Example
Detect whether the video has a media controller:
var x = document.getElementById("myVideo").controller;
Try it »
Definition and Usage
The controller property returns the current media controller of the audio/video.
By default, audio/video elements have no media controller. If a media controller is specified, the controller property returns it as a MediaController.
Tip: Use controls The property is used to set or return whether the video displays the standard video controls.
Browser support





No major browser supports the controller property.
Syntax
videoObject
.controller
Return Value
| Value | Description |
|---|---|
| MediaController Object |
Represents the media controller of the audio/video. MediaController object properties/methods: |
The Video object