Enable fmp4 by default for native player

This commit is contained in:
Bill Thornton 2024-11-08 11:40:55 -05:00
parent 5ebf8e4d40
commit 462340d989
2 changed files with 6 additions and 6 deletions

View File

@ -59,7 +59,7 @@ export default class SettingStore {
/** /**
* Is fMP4 enabled for the native video player * Is fMP4 enabled for the native video player
*/ */
isFmp4Enabled = false; isFmp4Enabled = true;
/** /**
* EXPERIMENTAL: Is the native audio player enabled * EXPERIMENTAL: Is the native audio player enabled
@ -85,7 +85,7 @@ export default class SettingStore {
this.systemThemeId = null; this.systemThemeId = null;
this.isSystemThemeEnabled = false; this.isSystemThemeEnabled = false;
this.isNativeVideoPlayerEnabled = false; this.isNativeVideoPlayerEnabled = false;
this.isFmp4Enabled = false; this.isFmp4Enabled = true;
this.isExperimentalNativeAudioPlayerEnabled = false; this.isExperimentalNativeAudioPlayerEnabled = false;
this.isExperimentalDownloadsEnabled = false; this.isExperimentalDownloadsEnabled = false;

View File

@ -27,7 +27,7 @@ describe('SettingStore', () => {
expect(store.isSystemThemeEnabled).toBe(false); expect(store.isSystemThemeEnabled).toBe(false);
expect(store.theme).toBe(Themes.dark); expect(store.theme).toBe(Themes.dark);
expect(store.isNativeVideoPlayerEnabled).toBe(false); expect(store.isNativeVideoPlayerEnabled).toBe(false);
expect(store.isFmp4Enabled).toBe(false); expect(store.isFmp4Enabled).toBe(true);
expect(store.isExperimentalDownloadsEnabled).toBe(false); expect(store.isExperimentalDownloadsEnabled).toBe(false);
}); });
@ -88,7 +88,7 @@ describe('SettingStore', () => {
store.systemThemeId = 'dark'; store.systemThemeId = 'dark';
store.isSystemThemeEnabled = true; store.isSystemThemeEnabled = true;
store.isNativeVideoPlayerEnabled = true; store.isNativeVideoPlayerEnabled = true;
store.isFmp4Enabled = true; store.isFmp4Enabled = false;
store.isExperimentalDownloadsEnabled = true; store.isExperimentalDownloadsEnabled = true;
expect(store.activeServer).toBe(99); expect(store.activeServer).toBe(99);
@ -100,7 +100,7 @@ describe('SettingStore', () => {
expect(store.isSystemThemeEnabled).toBe(true); expect(store.isSystemThemeEnabled).toBe(true);
expect(store.theme).toBe(Themes.dark); expect(store.theme).toBe(Themes.dark);
expect(store.isNativeVideoPlayerEnabled).toBe(true); expect(store.isNativeVideoPlayerEnabled).toBe(true);
expect(store.isFmp4Enabled).toBe(true); expect(store.isFmp4Enabled).toBe(false);
expect(store.isExperimentalDownloadsEnabled).toBe(true); expect(store.isExperimentalDownloadsEnabled).toBe(true);
store.reset(); store.reset();
@ -114,7 +114,7 @@ describe('SettingStore', () => {
expect(store.isSystemThemeEnabled).toBe(false); expect(store.isSystemThemeEnabled).toBe(false);
expect(store.theme).toBe(Themes.dark); expect(store.theme).toBe(Themes.dark);
expect(store.isNativeVideoPlayerEnabled).toBe(false); expect(store.isNativeVideoPlayerEnabled).toBe(false);
expect(store.isFmp4Enabled).toBe(false); expect(store.isFmp4Enabled).toBe(true);
expect(store.isExperimentalDownloadsEnabled).toBe(false); expect(store.isExperimentalDownloadsEnabled).toBe(false);
}); });
}); });