这篇翻译不完整。请帮忙从英语翻译这篇文章。
The HTMLMediaElement.audioTracks
property is an AudioTrackList
that represents the list of AudioTrack
objects contained in the element.
语法
audio|video.audioTracks
用例
以audio标签为例
<audio id='audio'></audio>
调用
myVid=document.getElementById("audio");
alert(myVid.audioTracks
.length);
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard HTMLMediaElement.audioTracks |
Living Standard | No change from HTML5 |
HTML5 HTMLMediaElement.audioTracks |
Recommendation | Initial definition. |
浏览器支持
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
audioTracks property |
? | 33.0 (33.0)[5] | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | Firefox OS (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
audioTracks property |
? | 33.0 (33.0)[5] | (Yes) | ? | ? | ? |
还可以看看
- 定义它的接口,
HTMLMediaElement
.