Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

HTMLMediaElement.audioTracks

这篇翻译不完整。请帮忙从英语翻译这篇文章

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) ? ? ?

还可以看看

文档标签和贡献者

 此页面的贡献者: hjb2722404, young3578671
 最后编辑者: hjb2722404,