fix: set default value for video player

This commit is contained in:
4gray committed 2022-04-24 10:01:51 +02:00
1 parent 40869d9e2e
commit ab1d0bfec8
1 file changed
+2 -2
@@ -134,8 +134,8 @@ export class VideoPlayerComponent implements OnInit {
this.storage.get(STORE_KEY.Settings).subscribe((settings: Settings) => {
if (settings && Object.keys(settings).length > 0) {
this.playerSettings = {
player: settings.player,
showCaptions: settings.showCaptions,
player: settings.player || VideoPlayer.VideoJs,
showCaptions: settings.showCaptions || false,
};
}
});