1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Enable autoplay by default

This commit is contained in:
Cooper Ransom 2024-04-20 20:39:39 -04:00
parent 301a808fad
commit e819897008
2 changed files with 3 additions and 1 deletions

View file

@ -17,4 +17,6 @@ window.__CONFIG__ = {
// A comma separated list of disallowed IDs in the case of a DMCA claim - in the format "series-<id>" and "movie-<id>"
VITE_DISALLOWED_IDS: "",
VITE_ALLOW_AUTOPLAY: true,
};

View file

@ -18,7 +18,7 @@ export const usePreferencesStore = create(
s.enableThumbnails = v;
});
},
enableAutoplay: false,
enableAutoplay: true,
setEnableAutoplay(v) {
set((s) => {
s.enableAutoplay = v;