From e819897008e7750d650aeeda4b1884f38ed012a6 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Sat, 20 Apr 2024 20:39:39 -0400 Subject: [PATCH] Enable autoplay by default --- public/config.js | 2 ++ src/stores/preferences/index.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/config.js b/public/config.js index 8e7c0c40..f4e2d64a 100644 --- a/public/config.js +++ b/public/config.js @@ -17,4 +17,6 @@ window.__CONFIG__ = { // A comma separated list of disallowed IDs in the case of a DMCA claim - in the format "series-" and "movie-" VITE_DISALLOWED_IDS: "", + + VITE_ALLOW_AUTOPLAY: true, }; diff --git a/src/stores/preferences/index.tsx b/src/stores/preferences/index.tsx index ce198388..b2c55afd 100644 --- a/src/stores/preferences/index.tsx +++ b/src/stores/preferences/index.tsx @@ -18,7 +18,7 @@ export const usePreferencesStore = create( s.enableThumbnails = v; }); }, - enableAutoplay: false, + enableAutoplay: true, setEnableAutoplay(v) { set((s) => { s.enableAutoplay = v;