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