Update src/components/playback/playbackmanager.js

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Ivan Schurawel 2023-02-19 11:58:36 -05:00
parent 89ec4cf9cf
commit 95a705a893

View File

@ -1598,7 +1598,7 @@ class PlaybackManager {
// Secondary subtitles are currently only handled client side
// Changes to the server code are required before we can handle other delivery methods
if (newStream && getDeliveryMethod(newStream) !== 'External') {
if (newStream && !self.trackHasSecondarySubtitleSupport(newStream, player)) {
return;
}