Audio controls 属性
定义和用法
controls
属性设置或返回音频是否应显示标准音频控件。
burin na ya'a <audio> burin controls.
haya, ita fa'a burin burin:
burin burin audio:
- bukawo
- tasa
- gwiya
- yanu
muwadda
ci 1
fa'a burin:
document.getElementById("myAudio").controls = true;
ci 2
kaiko wajen burin:
var x = document.getElementById("myAudio").controls;
fasi
fa'a burin controls:
audioObject.controls
tan yi controls burin:
audioObject.controls = true|false
burin
wuri | ba'a ba |
---|---|
true|false |
Specifies whether the audio control should be displayed
|
Technical details
Return value: | Boolean value, returns true if the audio control is displayed, otherwise returns false. |
---|---|
Default value: | false |
Browser support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |
Related pages
HTML reference manual:HTML <audio> controls amincin