스마트 자르기 비디오 뷰어에 대한 JavaScript API 참조
setVideo(videoUrl[, data])
새 외부 비디오 및 선택적 추가 비디오 데이터를 설정합니다. 전과 후에 언제든지 호출할 수 있습니다 init()
. 호출 후에 init()
로 설정하면 뷰어가 런타임 시 비디오를 교체합니다.
참조 - [init]
(/docs/dynamic-media-developer-resources/library/c-html5-aem-asset-viewers/c-html5-aem-smartcropvideo/c-html5-aem-smartcropvideo-viewer-javascriptapiref/r-html5-aem-smartcropvideo-viewer-javascriptapiref-init.html?lang=ko#reference-3b570ba8b35045d6b30fb178c21a66c6).
videoUrl |
{ 문자열 } 새 비디오에 대한 절대 URL을 반환합니다. |
데이터 |
{ JSON } 선택적 필드(대/소문자 구분)가 있는 JSON 개체.
|
없음.
<instance>.setVideo("https://s7d9.scene7.com/is/content/Scene7SharedAssets/Glacier_Climber_MP4")