pranav-prakash / RokuCast

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

Better flash support #12

Closed sosebee closed 7 years ago

sosebee commented 7 years ago

I unpacked the folder, enabled developer mode, and added the RokuCast extension. I immediately get an error and when I try to use the extension to cast to my Roku, it just tells me that there is no video on the page.

Error: Refused to load the script 'https://netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js' because it violates the following Content Security Policy directive: "script-src 'self' http://localhost:9008 https://www.google-analytics.com".

pranav-prakash commented 7 years ago

Which website are you using it on?

sosebee commented 7 years ago

I have tried several. It worked on one sample file so far. I think I have found the problem after m]a little digging. It looks like it does not work with sites that are still embedding their videos with flash but build the site with HTML5. Weird that they would still be doing that. Any updates coming to all for additional content formats like flash?

pranav-prakash commented 7 years ago

Yeah I noted that near the bottom of the README file.

It's a lot harder to find the source video url when using embedded flash players; plus flash players often have some sort of additional DRM.

It might be possible to find it using chrome's network request monitoring however. I'll have to look into that.

As a side note most websites also have a mobile version that defaults to an HTML5 player. Try setting your useragent to be a mobile device (using this for example) and see if you get an HTML5 version.

sosebee commented 7 years ago

I will give the extension a try. Thank you for the app and Thank you for the advice!!!

From: Pranav Prakash [mailto:notifications@github.com] Sent: Friday, October 14, 2016 10:04 PM To: pranav-prakash/RokuCast RokuCast@noreply.github.com Cc: sosebee rsosebee@live.com; Author author@noreply.github.com Subject: Re: [pranav-prakash/RokuCast] Error in Chrome on Install (#12)

Yeah I noted that near the bottom of the README file.

It's a lot harder to find the source video url when using embedded flash players; plus flash players often have some sort of additional DRM.

It might be possible to find it using chrome's network request monitoring however. I'll have to look into that.

As a side note most websites also have a mobile version that defaults to an HTML5 player. Try setting your useragent to be a mobile device (using this https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg/related for example) and see if you get an HTML5 version.

— 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/12#issuecomment-253955966 , or mute the thread https://github.com/notifications/unsubscribe-auth/AHgKmRnltmtEz8cAPziGyMkba45Rwu86ks5q0DSpgaJpZM4KXj07 . https://github.com/notifications/beacon/AHgKmY__HrI5JWP5NFylYO02T9u8SF95ks5q0DSpgaJpZM4KXj07.gif

nathanstuart01 commented 7 years ago

Posted my flash issue in another thread, my bad. Saw your user agent suggestion and it works like a charm, this is legit!! Thanks for making and sharing it.