Skip to content

Commit 5892dfa

Browse files
committed
trigger CAPTION_RENDERED for caption cea608 too.
1 parent 06b8185 commit 5892dfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/streaming/text/TextTracks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ function TextTracks() {
430430
} else {
431431
captionContainer.appendChild(this.cueHTMLElement);
432432
scaleCue.call(self, this);
433+
eventBus.trigger(Events.CAPTION_RENDERED, {captionDiv: this.cueHTMLElement, currentTrackIdx});
433434
}
434435
}
435436
};

0 commit comments

Comments
 (0)