Skip to content

Commit 88240fa

Browse files
authored
Merge pull request Dash-Industry-Forum#2834 from Orange-OpenSource/triggerCAPTION_RENDERForCea608Caption
Add CAPTION_RENDERED for caption cea608.
2 parents 06b8185 + 5892dfa commit 88240fa

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)