Hi friends,
I'm using Polymer 2, and jwplayer (video player)
When I create instance of jwplayer, I should give it id of container. Like this
jwplayer('video_container').setup({
...
})
But because of shadow dom, jwplayer cannot find element with id, even it exists, because it's in shadow dom.
In polymer I think we should use like this:
Polymer.dom(this.root).querySelector()
But external libraries do not do like this.
Please help me!
Thanks in advance!