비디오 audioTracks 속성
예시
사용 가능한 오디오 트랙 수 가져오기:
var x = document.getElementById("myVideo").audioTracks.length;
정의 및 사용
audioTracks 속성은 AudioTrackList 개체를 반환합니다.
AudioTrackList 객체는 비디오에 사용 가능한 오디오 트랙을 나타냅니다.
사용 가능한 각 오디오 트랙은 AudioTrack 개체로 표시됩니다.
브라우저 지원
Property | |||||
---|---|---|---|---|---|
audioTracks | Not supported | Not supported | Not supported | Not supported | Not supported |
통사론
videoObject.audioTracks
반환 값
Type | Description |
---|---|
AudioTrackList Object | Represents the available audio tracks for the video. AudioTrackList Object:
Note: The first available AudioTrack object is index 0 |
AudioTrack Object | Represents an audio track. AudioTrack Object Properties:
|
❮ 비디오 개체