Przeglądaj źródła

fix: opening EditSong for a youtubeVideo wouldn't load the player at first

Kristian Vos 2 lat temu
rodzic
commit
24da46e806

+ 1 - 1
frontend/src/components/modals/EditSong/index.vue

@@ -1219,7 +1219,7 @@ export default {
 
 								this.playerReady = true;
 
-								if (this.song && this.song._id)
+								if (this.song && this.song.youtubeId)
 									this.video.player.cueVideoById(
 										this.song.youtubeId,
 										this.song.skipDuration