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

JwPlayer creating instance with element

Hi jwPlayer team. At first, thanks for your awesome video player. I'm using jwplayer with polymer framework and because of this I can not create instance of jwplayer if dom element ID. Is there any way to create jwplayer with dom element directly. For example like this:
var container = document.getElementById("container");
var playerInstance = jwplayer(container);
It would be best if it is possible to create instance of player like this.
Thanks in advance!!!

1 Community Answers


JW Player Support Agent  
0 rated :

Hi there,

Are you trying to make a web component for JW Player? Otherwise, my impression is you should be able to set up the player using HTML like you would if you were not using Polymer.

Please let me know. Thank you.

This question has received the maximum number of answers.