HTML DOM Audio controller properties
Examples
Detecting whether the audio media controller:
var x = document.getElementById("myAudio").controller;
try it"
Definition and Usage
controller property returns the current audio and video media controller.
By default, audio and video elements do not have the media control. If you specify a media controller, controller properties will MediaController and returns it.
Tip: Use the controls property sets or returns whether the audio display controls (such as play / pause, etc.).
Browser Support
There is no major browsers support controller properties.
grammar
audioObject .controller
return value
value | description |
---|---|
MediaController objects | It indicates audio and video media controller. MediaController object properties / methods:
|
Audio Object