cuechange
이벤트 트리거 시점
- 현재 text track의 active cue가 바뀔 시
- active text track이 바뀔 때
현재 출력되는 자막 내용이 바뀔 때 등을 말하는 듯.
이벤트 발생 시 전달 인자
{ cues: [ { html: "<i>Here at Vimeo, there's always <br>one thing on our minds:</i>", text: "<i>Here at Vimeo, there's always ↵one thing on our minds:</i>" } ], kind: "captions", label: "English CC", language: "en" }
cue
: 현재 캡션 혹은 자막의 실제 내용html
: html태그를 포함한 문자
text
: raw value
kind
: 캡션 or 자막