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

Change BOTR Video using JavaScript


I plan to use the JW Player Platform (Bits on the Run) embed code to deliver videos in an app.

One thing thats not mentioned in the documentation is the recommended way to change a video. Do I have to manually remove the old player and inititalize a new one by inserting an altered embed code? Or is there a more elegant yet undocumented API-way in doing this?

Ive only found a rather old forum thread for this topic:

Any ideas?


3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

You can use –, this will work with botr videos.

JW Player

0 rated :

Ok, thanks.

Heres a working code snippet for future reference:

bc.. jwplayer().load("");

(KEY is the video key as showed beside the video in the dashboard)

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you got it!

This question has received the maximum number of answers.