feat: global subtitle display setting

You can now activate/deactivate the visiblity of
subtitles on a global application level.
This commit is contained in:
4gray committed 2021-09-05 16:39:56 +02:00
1 parent 3dd2789a36
commit 4d2e17565d
15 files changed
+209 -144

No files matched your search

+6 -2
View File
@@ -1,14 +1,18 @@
import { Language } from './language.enum';
import { Theme } from './theme.enum';
export type VideoPlayerType = 'html5' | 'videojs';
export enum VideoPlayer {
VideoJs = 'videojs',
Html5Player = 'html5',
}
/**
* Describes all available settings options of the application
*/
export interface Settings {
player: VideoPlayerType;
player: VideoPlayer;
epgUrl: string;
language: Language;
showCaptions: boolean;
theme: Theme;
}