mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
refactor(settings): update default stream format to M3u8StreamFormat
This commit is contained in:
1 parent
fb11892943
commit
9f40dea806
3 files changed
+4
-4
No files matched your search
@@ -16,7 +16,7 @@ import { STORE_KEY } from '../shared/enums/store-keys.enum';
|
||||
|
||||
const DEFAULT_SETTINGS: Settings = {
|
||||
player: VideoPlayer.VideoJs,
|
||||
streamFormat: StreamFormat.TsStreamFormat,
|
||||
streamFormat: StreamFormat.M3u8StreamFormat,
|
||||
language: Language.ENGLISH,
|
||||
showCaptions: false,
|
||||
theme: Theme.LightTheme,
|
||||
|
||||
@@ -57,7 +57,7 @@ export class MockRouter {
|
||||
|
||||
const DEFAULT_SETTINGS = {
|
||||
player: VideoPlayer.VideoJs,
|
||||
streamFormat: StreamFormat.TsStreamFormat,
|
||||
streamFormat: StreamFormat.M3u8StreamFormat,
|
||||
language: Language.ENGLISH,
|
||||
showCaptions: false,
|
||||
theme: Theme.LightTheme,
|
||||
|
||||
@@ -71,7 +71,7 @@ import { Theme } from './theme.enum';
|
||||
ReactiveFormsModule,
|
||||
TranslateModule,
|
||||
MatDialogModule,
|
||||
]
|
||||
],
|
||||
})
|
||||
export class SettingsComponent implements OnInit {
|
||||
@Input() isDialog = false;
|
||||
@@ -134,7 +134,7 @@ export class SettingsComponent implements OnInit {
|
||||
settingsForm = this.formBuilder.group({
|
||||
player: [VideoPlayer.VideoJs],
|
||||
...(this.isTauri ? { epgUrl: new FormArray([]) } : {}),
|
||||
streamFormat: StreamFormat.TsStreamFormat,
|
||||
streamFormat: StreamFormat.M3u8StreamFormat,
|
||||
language: Language.ENGLISH,
|
||||
showCaptions: false,
|
||||
theme: Theme.LightTheme,
|
||||
|
||||
Reference in new issue
Block a user