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

responsible self hosted video


Self hosted video can be responsive or player host always the same file?

3 Community Answers

Todd

JW Player Support Agent  
0 rated :

If you are self-hosting the player, you can certainly make the video URL dynamic:

<script>
var myVideo = 'http://test.com/video.mp4'  //you can set this dynamically with other code on your page
jwplayer().setup({
  file: myVideo  //without quotes here so we load the variable value
})
</script>

s...

User  
0 rated :

This is possible only in self-hosting the player? Where can I read more about it?

Todd

JW Player Support Agent  
0 rated :

No, this is possible with cloud-hosted players as well. Only the single-line embed codes from your account dashboard would make it difficult to dynamically change the video URL.

Please read more about embedding our player at http://support.jwplayer.com/customer/portal/articles/1406723-mp4-video-embed

This question has received the maximum number of answers.