From c212264e83f9133ed3d9aca0151dd2e707b0163d Mon Sep 17 00:00:00 2001 From: nidhikachhawa24 Date: Thu, 30 May 2024 15:18:15 +0530 Subject: [PATCH] Fixed the playlist issue --- src/app/pages/create-playlist/create-playlist.page.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/pages/create-playlist/create-playlist.page.ts b/src/app/pages/create-playlist/create-playlist.page.ts index 2d1cf0da..f5104428 100644 --- a/src/app/pages/create-playlist/create-playlist.page.ts +++ b/src/app/pages/create-playlist/create-playlist.page.ts @@ -174,7 +174,8 @@ export class CreatePlaylistPage implements OnInit { this.selectedContents.forEach((ele) => { if (!ele.metaData['thumbnail']) { if (ele.metaData.mimetype === PlayerType.YOUTUBE) { - ele.metaData['thumbnail'] = this.loadYoutubeImg(ele.metaData); + // ele.metaData['thumbnail'] = this.loadYoutubeImg(ele.metaData); + ele.metaData['thumbnail'] = ele.metaData.thumbnail; } else { ele.metaData['thumbnail'] = (ele.metaData.thumbnail && !ele.metaData.identifier.startsWith('do_')) ? ele.metaData.thumbnail : ContentUtil.getImagePath(ele.metaData.mimetype || ele.metaData.mimeType) }