Skip to content

Commit

Permalink
fix(FEC-12691): shaka Text Track Displayer does not work unless useNa…
Browse files Browse the repository at this point in the history
…tiveTextTrack set to true

Co-authored-by: JonathanTGold <jonathan.gold@86@gmail.com>

Shaka Text Track Displayer does not work unless useNativeTextTrack set to true

solves: FEC-12691
  • Loading branch information
JonathanTGold committed Oct 30, 2022
1 parent bc4b688 commit fda98b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dash-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ export default class DashAdapter extends BaseMediaSourceAdapter {
}
if (Utils.Object.hasPropertyPath(config, 'text.useShakaTextTrackDisplay')) {
adapterConfig.useShakaTextTrackDisplay = Utils.Object.getPropertyPath(config, 'text.useShakaTextTrackDisplay');
adapterConfig.textTrackVisibile = adapterConfig.textTrackVisibile || adapterConfig.useShakaTextTrackDisplay;
}
if (Utils.Object.hasPropertyPath(config, 'streaming')) {
const {streaming} = config;
Expand Down

0 comments on commit fda98b4

Please sign in to comment.