micnews / react-jw-player

A React Component API for JW Player
195 stars 94 forks source link

signed urls not playing videos. #204

Open SarfarazAhmed1012 opened 1 year ago

SarfarazAhmed1012 commented 1 year ago

I am trying to play the videos with signed urls, but as soon I enable the signed url privacy from jwplayer dashboard, the whole component vanishes. Below is the code I am trying:

<ReactJWPlayer playerId="4t00MwmP" playerScript="https://content.jwplatform.com/libraries/4t00MwmP.js" playlist={https://cdn.jwplayer.com/v2/media/${mediaId}} controls={false} isAutoPlay={false} onPlay={handlePlay} licenseKey="+1bANyiZkLQznPS2yV8ky+2NgQqilQmMg3/Sc0tJd4hWUPtP51/8zGnxqqw=" />

SarfarazAhmed1012 commented 1 year ago

someone help