diff --git a/playlet-lib/src/components/VideoPlayer/VideoContentTask.bs b/playlet-lib/src/components/VideoPlayer/VideoContentTask.bs index c22a7164..54b86c6c 100644 --- a/playlet-lib/src/components/VideoPlayer/VideoContentTask.bs +++ b/playlet-lib/src/components/VideoPlayer/VideoContentTask.bs @@ -85,17 +85,9 @@ function AddHlsUrls(streamUrls as object, metadata as object, proxyVideos as str end function function AddDashUrls(streamUrls as object, metadata as object, proxyVideos as string, playletServerPort as integer) as void - #if LOCAL_DASH - ' Redirect to Playet's local web server, where will will be - ' dynamically generating the DASH manifest. - dashUrl = `http://127.0.0.1:${playletServerPort}/api/dash?v=${metadata.videoId}` - #else - if metadata.dashUrl = invalid - return - end if - - dashUrl = metadata.dashUrl - #end if + ' Redirect to Playet's local web server, where will will be + ' dynamically generating the DASH manifest, instead of metadata.dashUrl + dashUrl = `http://127.0.0.1:${playletServerPort}/api/dash?v=${metadata.videoId}` dashUrlLocal = AddLocalFlag(dashUrl) AddUrls(streamUrls, dashUrl, dashUrlLocal, proxyVideos) diff --git a/playlet-lib/src/manifest b/playlet-lib/src/manifest index f2be9560..172c684e 100644 --- a/playlet-lib/src/manifest +++ b/playlet-lib/src/manifest @@ -12,4 +12,4 @@ hidden=1 git_commit_sha=unknown -bs_const=DEBUG=false;LOCAL_DASH=true \ No newline at end of file +bs_const=DEBUG=false \ No newline at end of file