PatrickRorth / Twitch.TV

Twitch.tv app for LG WebOS smarttv
170 stars 40 forks source link

changed from iframe player to video player #17

Closed svennergr closed 7 years ago

svennergr commented 7 years ago

Hey,

since the solution with the iframe player didn't work for me, since Twitch made use of some shadowRoot functionalities, which do not work with the LG WebOs Browser properly.

I made use of the node.js module https://github.com/nicholastay/node-twitch-get-stream to fetch the stream urls, made it available offline with browserify and changed the stream urls.

Currently the stream with the best quality is beeing played, but there's a possibility to change that via code.

Long story short: I am able to play streams with this version.