0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-01 17:32:39 +00:00
VueTube/NUXT/store/player/index.js
2022-07-27 18:32:12 -04:00

25 lines
495 B
JavaScript

export const state = () => ({
loop: null,
speed: null,
preload: null,
quality: null,
// qualityAutoSwitch: null,
// shortFullscreen: null,
// autoplay: null,
// shorts: null,
// music: null,
});
export const mutations = {
setLoop(state, payload) {
state.loop = payload;
},
setSpeed(state, payload) {
state.loading = payload;
},
setPreload(state, payload) {
state.preload = payload;
},
setQuality(state, payload) {
state.quality = payload;
},
};