pranav-prakash / RokuCast

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

Casting google video URLs #20

Closed jaykilly closed 7 years ago

jaykilly commented 7 years ago

Hi,

After downloading the rokucast initially I was able to cast pretty much anything I wanted to using the .crx file. I tried using it today however it stopped working. I tried both files that you offered and still can't get it to work. I'm having a similar issue that another person had on here (video will try to load but end up saying "failed to play" and I have an HD tv). Any help would be greatly appreciated.

jaykilly commented 7 years ago

Would also like to add theres only 1 laptop that is able to actually cast to the tv, every other one is not able to.

pranav-prakash commented 7 years ago

Hm.. can you give an example of a video file you are trying to cast?

Also when you say you tried "both files that [I] offered", are you referring to the playOnRoku and Production branches?

jaykilly commented 7 years ago

I'm trying to play movies on https://solarmovie.sc. I'm able to watch on there on another laptop but not the one im currently using. And yes I am referring to the playonroku and production brancehes

pranav-prakash commented 7 years ago

Ok so this is definitely connected with https://github.com/pranav-prakash/RokuCast/issues/18

[EDIT: Well not exactly — that issue has the server filtering based on user agent. In this case the server does something more complex to determine whether we should be allowed to fetch the file]

The video URLs are in the format of https://redirector.googlevideo.com/videoplayback?... which redirects to the actual mp4.

However, google has (or recently added?) something in place so that it will actually redirect only if you are the one who originally accessed it (that is, trying to open the link from another browser or the Roku will result in a 403 denied).

Somewhat interestingly a few times I was able to access the URL from another client after originally loading it in chrome. Maybe google is doing A/B testing and that one laptop of yours is excluded?

Also, are you able to play solarmovies videos from another browser such as Firefox or Safari? Chrome seems to be the only one able to do so for me.


Ok so as for solutions, a temporary fix specifically for solarmovies is to try selecting the openload server on the right side of the video player of solarmovies.

I'm working on a (somewhat hacky) fix which involves asking chrome to resolve the redirect before sending it to the roku. Interestingly that resolved URL can be accessed from anywhere without a problem.

pranav-prakash commented 7 years ago

Ok fixed in the playOnRoku branch.

I'll merge the changes into the other branch (production, which uses the separate receiver app) eventually.

jaykilly commented 7 years ago

Hey pranav, im still not able to get it to work.

On Sat, Jan 21, 2017 at 7:40 PM, Pranav Prakash notifications@github.com wrote:

Ok fixed in the playOnRoku branch.

I'll merge the changes into the other branch (production, which uses the separate receiver app) eventually.

— 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/20#issuecomment-274298390, or mute the thread https://github.com/notifications/unsubscribe-auth/AYF8hMXnIjLnjysHMG39mpGo_F2E_aFeks5rUqWZgaJpZM4LqBXQ .

jaykilly commented 7 years ago

Disregard the last message. I re downloaded the playonroku file and it is working! Thanks a alot man really appreciate the help.

Hey pranav, im still not able to get it to work.

On Sat, Jan 21, 2017 at 7:40 PM, Pranav Prakash notifications@github.com wrote:

Ok fixed in the playOnRoku branch.

I'll merge the changes into the other branch (production, which uses the separate receiver app) eventually.

— 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/20#issuecomment-274298390, or mute the thread https://github.com/notifications/unsubscribe-auth/AYF8hMXnIjLnjysHMG39mpGo_F2E_aFeks5rUqWZgaJpZM4LqBXQ .

pranav-prakash commented 7 years ago

No problem! Glad to see it's working.