mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
fix: set default value for video player
This commit is contained in:
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,
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user