Skip to content

Commit

Permalink
Improve error message for missing ttml rendering div
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Jan 27, 2023
1 parent a1cc5b2 commit 2bc6829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streaming/text/TextTracks.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ function TextTracks(config) {

}
} else {
logger.error('impossible to display subtitles.');
logger.error('Impossible to display subtitles. You might have missed setting a TTML rendering div via player.attachTTMLRenderingDiv(TTMLRenderingDiv)');
}
} catch (e) {
// Edge crash, delete everything and start adding again
Expand Down

0 comments on commit 2bc6829

Please sign in to comment.