pranav-prakash / RokuCast

Cast videos from chrome to roku
180 stars 39 forks source link

Website that uses blob/localstorage method of video playback #11

Closed rkdavis7 closed 7 years ago

rkdavis7 commented 7 years ago

Hi, thank you for a great app. I'm trying to get it working on my Roku 3. It appears to start loading on the private channel app and then disappears. I would love to get this working for my baby boy. Thank you

Player: http://www.tg4.ie/ga/player/gasuir/ Chrome Version 53.0.2785.89 beta-m (64-bit)

pranav-prakash commented 7 years ago

Ok it seems that website uses the blob method of playback through the new chrome media stream api. That is, the content is fetched from the server, cached by the browser, and the video element points to the cached segment in the browser.

The quickest workaround is to change the useragent to a mobile device. Use this extension, and on the tg4.ie website open the extension, the android dropdown, and select Android KitKat. Refresh afterwards.

If it works, then you can add the website to the permanent spoof list in extension options to avoid having to switch back and forth between useragents.

rkdavis7 commented 7 years ago

Wow, that worked perfectly. Thank you very much for taking the time to reply and write this app! Have a great day. Ross

On Tue, Sep 6, 2016 at 8:40 PM, Pranav Prakash notifications@github.com wrote:

Ok it seems that website uses the blob https://stackoverflow.com/questions/14952052/convert-blob-url-to-normal-url method of playback through the new chrome media stream api. That is, the content is fetched from the server, cached by the browser, and the video element points to the cached segment in the browser.

The quickest workaround is to change the useragent to a mobile device. Use this https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg/related?hl=en-US extension, and on the tg4.ie open the extension, the android dropdown, and select Android KitKat. Refresh afterwards.

If it works, then you can add the website to the permanent spoof list in extension options to avoid having to switch back and forth between useragents.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pranav-prakash/RokuCast/issues/11#issuecomment-245140231, or mute the thread https://github.com/notifications/unsubscribe-auth/AVA8gsmDgzvpuCYvFnStQrL9gAc5WbeOks5qnggMgaJpZM4J2JZV .