mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Enable autoplay by default
This commit is contained in:
parent
301a808fad
commit
e819897008
2 changed files with 3 additions and 1 deletions
|
@ -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>"
|
// 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_DISALLOWED_IDS: "",
|
||||||
|
|
||||||
|
VITE_ALLOW_AUTOPLAY: true,
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,7 +18,7 @@ export const usePreferencesStore = create(
|
||||||
s.enableThumbnails = v;
|
s.enableThumbnails = v;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
enableAutoplay: false,
|
enableAutoplay: true,
|
||||||
setEnableAutoplay(v) {
|
setEnableAutoplay(v) {
|
||||||
set((s) => {
|
set((s) => {
|
||||||
s.enableAutoplay = v;
|
s.enableAutoplay = v;
|
||||||
|
|
Loading…
Reference in a new issue