From 865b87c10a96fc1d85f51fdc17af9a9d2b3a4649 Mon Sep 17 00:00:00 2001 From: Andrew Noblet Date: Fri, 3 Mar 2023 10:50:45 -0500 Subject: [PATCH] feat(cxl-ui): [cxl-jw-player] fix loading a playlist from the source attribute --- .../cxl-ui/src/components/cxl-jw-player/mixins/BaseMixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cxl-ui/src/components/cxl-jw-player/mixins/BaseMixin.js b/packages/cxl-ui/src/components/cxl-jw-player/mixins/BaseMixin.js index ac55edb38..4573126d5 100644 --- a/packages/cxl-ui/src/components/cxl-jw-player/mixins/BaseMixin.js +++ b/packages/cxl-ui/src/components/cxl-jw-player/mixins/BaseMixin.js @@ -104,7 +104,7 @@ export function BaseMixin(BaseClass) { if (this.playlistId) { response = await fetch(await this._signedJWTURL(`/v2/playlists/${this.playlistId}`)); } else if (this.playlistSource) { - response = await fetch(`https://cdn.jwplayer.com/v2/playlists/${this.playlistId}`); + response = await fetch(this.playlistSource); } else { return false; }