오디오 컨트롤러 속성
예시
오디오에 미디어 컨트롤러가 있는지 확인합니다.
var x = document.getElementById("myAudio").controller;
정의 및 사용
controller 속성은 오디오의 현재 미디어 컨트롤러를 반환합니다.
기본적으로 <audio> 요소에는 미디어 컨트롤러가 없습니다. 미디어 컨트롤러가 지정되면 컨트롤러 속성은 이를 MediaController 객체로 반환합니다.
팁: 컨트롤 속성을 사용 하여 오디오가 표준 비디오 컨트롤을 표시할지 여부를 설정하거나 반환합니다.
브라우저 지원
Property | |||||
---|---|---|---|---|---|
controller | Not supported | Not supported | Not supported | Not supported | Not supported |
통사론
audioObject.controller
반환 값
Type | Description |
---|---|
MediaController Object | Represents the media controller of the audio. MediaController Object properties/methods:
|
❮ 오디오 개체