فهرست منبع

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

Kristian Vos 2 سال پیش
والد
کامیت
24da46e806
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      frontend/src/components/modals/EditSong/index.vue

+ 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