Twitch Player under polymer element

Hey there Twitch team, I am using polymer to create elements as a form of site creation,
one of the new hotness concepts hitting the web world is “webcomponents” and a polyfill system called webcomponents.js
anyway some browsers have a system called shadow dom and some do not, the problem is those that do not the polyfills generally use a system of attach and detach of web nodes to move around elements.
When you detach and then reattach a twitch player, it seems all references of the javascript break
I have created a codepen that sorta simplifies the order of operations but it exemplifies the issue,
notice that no matter how many times you call “” on that element the twitch javascript code throws exception and the player does not go into playing mode.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.