|
@@ -37,6 +37,7 @@ export default {
|
|
commit("resolveReport", reportId),
|
|
commit("resolveReport", reportId),
|
|
updateYoutubeId: ({ commit }, youtubeId) => {
|
|
updateYoutubeId: ({ commit }, youtubeId) => {
|
|
commit("updateYoutubeId", youtubeId);
|
|
commit("updateYoutubeId", youtubeId);
|
|
|
|
+ commit("loadVideoById", youtubeId, 0);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mutations: {
|
|
mutations: {
|
|
@@ -52,6 +53,7 @@ export default {
|
|
state.video.player.stopVideo();
|
|
state.video.player.stopVideo();
|
|
},
|
|
},
|
|
loadVideoById(state, id, skipDuration) {
|
|
loadVideoById(state, id, skipDuration) {
|
|
|
|
+ state.song.duration = -1;
|
|
state.video.player.loadVideoById(id, skipDuration);
|
|
state.video.player.loadVideoById(id, skipDuration);
|
|
},
|
|
},
|
|
pauseVideo(state, status) {
|
|
pauseVideo(state, status) {
|