Преглед изворни кода

fix: fixed issue where due to rounded durations, video's wouldn't start in EditSong

Kristian Vos пре 5 година
родитељ
комит
0902796684
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      frontend/components/Modals/EditSong.vue

+ 1 - 1
frontend/components/Modals/EditSong.vue

@@ -576,7 +576,7 @@ export default {
 						this.youtubeVideoDuration = youtubeDuration;
 						this.youtubeVideoNote = "";
 						youtubeDuration -= _this.editing.song.skipDuration;
-						if (_this.editing.song.duration > youtubeDuration) {
+						if (_this.editing.song.duration > youtubeDuration + 1) {
 							this.video.player.stopVideo();
 							_this.video.paused = true;
 							Toast.methods.addToast(