Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Playlist using embeded player via sign url


below I currently have the current code that works when I first my page. However, after loading the page I want to dynamically load another video into the player without refreshing the page. The problem I am running into is that each player needs the script src to have the src already loaded. So how can I build a playlist being that I need to sign the url and have the script loaded without refreshing the page.

<div id="mypplayer></div>
<script type="javascript" src="content.jwplayer,com/players/somesigningwithmediaidandplayerkey"></script>

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

My suggestion would be to call jwplayer().load() and then pass the JSON playlist URL to the player.

Please see https://developer.jwplayer.com/jw-player/docs/developer-guide/api/javascript_api_reference/ for more details on the load() call.

Hope this helps,
Todd

This question has received the maximum number of answers.