pranav-prakash / RokuCast

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

Nothing happens when I click the cast button #46

Closed bkoption2 closed 5 years ago

bkoption2 commented 5 years ago

I've gotten all the way to the point where RokuCast shows up in my extension bar and recognizes videos, but whenever I hit the cast button, nothing happens. I have my roku IP plugged in and everything... any ideas?

pranav-prakash commented 5 years ago

Can you go to chrome://extensions and click "Inspect views: background.html" for the extension and dump the output from the console?

bkoption2 commented 5 years ago

Array(1) background.js:29 “Video For Everybody” Test Page background.js:30 http://camendesign.com/favicon.ico background.js:28 Array(1) background.js:29 “Video For Everybody” Test Page background.js:30 http://camendesign.com/favicon.ico background.js:28 Array(1) background.js:29 “Video For Everybody” Test Page background.js:30 http://camendesign.com/favicon.ico background.js:28 Array(1) background.js:29 “Video For Everybody” Test Page background.js:30 http://camendesign.com/favicon.ico background.js:28 Array(1) background.js:29 “Video For Everybody” Test Page background.js:30 http://camendesign.com/favicon.ico background.js:28 Array(1) background.js:29 “Video For Everybody” Test Page background.js:30 http://camendesign.com/favicon.ico background.js:28 Array(1) background.js:29 “Video For Everybody” Test Page background.js:30 http://camendesign.com/favicon.ico

bkoption2 commented 5 years ago

To clarify, the Roku briefly shows a purple screen with "Play on Roku" but then returns to my home screen.

pranav-prakash commented 5 years ago

I assume you're casting the .mp4? If you're comfortable with the command line can you try running curl -X POST "http://10.0.1.111:8060/input/15985?t=v&u=http%3A%2F%2Fdownload.blender.org%2Fpeach%2Fbigbuckbunny_movies%2FBigBuckBunny_320x180.mp4&videoName=asdf&k=(null)&videoFormat=mp4" replacing the IP of the roku as needed and seeing if it works?

cgulmatico3 commented 5 years ago

I second this. When attempting to cast, "Play on Roku" appears on my TV for a split second and then I get booted right into the main menu again.

Even when using the command line you gave us in Terminal, it still flashes the Play on Roku screen and kicks me right back out. Help?

pranav-prakash commented 5 years ago

That's odd. It's possible Roku might have updated the firmware and somehow broken their "play on roku" api.

You can try switching to the version with the explicit companion app, found on the master branch. You'll need to sideload that app to your Roku and reinstall the extension with the version found on that branch.

cgulmatico3 commented 5 years ago

Hey,

Thanks for your reply.

I tried switching to the companion app, but alas it still doesn't work; I can't install the app to roku. Please see attached.

-Constantine

On Thu, Jan 3, 2019 at 3:13 PM Pranav Prakash notifications@github.com wrote:

That's odd. It's possible Roku might have updated the firmware and somehow broken their "play on roku" api.

You can try switching to the version with the explicit companion app, found on the master https://github.com/pranav-prakash/RokuCast/tree/master branch. You'll need to sideload that app to your Roku and reinstall the extension with the version found on that branch.

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

-- Constantine F. Gulmatico III, PA-C c.gulmatico@gmail.com constantine.gulmatico06@stjohns.edu [m]: (917) 755-4843 [h]: (718) 531-3802

cgulmatico3 commented 5 years ago

Hi again,

Never mind my last message; I did not correctly zip the file before. I got the app installed; however now after installing my chrome extension, upon attempting to cast a video to the roku device, now nothing happens at all; no "play on roku" flash screen, nothing at all.

Please let me know what I need to do in this case.

-Constantine

On Thu, Jan 3, 2019 at 3:39 PM Constantine Gulmatico c.gulmatico@gmail.com wrote:

Hey,

Thanks for your reply.

I tried switching to the companion app, but alas it still doesn't work; I can't install the app to roku. Please see attached.

-Constantine

On Thu, Jan 3, 2019 at 3:13 PM Pranav Prakash notifications@github.com wrote:

That's odd. It's possible Roku might have updated the firmware and somehow broken their "play on roku" api.

You can try switching to the version with the explicit companion app, found on the master https://github.com/pranav-prakash/RokuCast/tree/master branch. You'll need to sideload that app to your Roku and reinstall the extension with the version found on that branch.

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

-- Constantine F. Gulmatico III, PA-C c.gulmatico@gmail.com constantine.gulmatico06@stjohns.edu [m]: (917) 755-4843 [h]: (718) 531-3802

-- Constantine F. Gulmatico III, PA-C c.gulmatico@gmail.com constantine.gulmatico06@stjohns.edu [m]: (917) 755-4843 [h]: (718) 531-3802

cgulmatico3 commented 5 years ago

also, of note, when I attempt to download videos from these websites, chrome is unable to download these videos using the app. I experience a "Network Error" message upon these attempts using your extension.

Let me know,

-Constantine

On Thu, Jan 3, 2019 at 3:47 PM Constantine Gulmatico c.gulmatico@gmail.com wrote:

Hi again,

Never mind my last message; I did not correctly zip the file before. I got the app installed; however now after installing my chrome extension, upon attempting to cast a video to the roku device, now nothing happens at all; no "play on roku" flash screen, nothing at all.

Please let me know what I need to do in this case.

-Constantine

On Thu, Jan 3, 2019 at 3:39 PM Constantine Gulmatico < c.gulmatico@gmail.com> wrote:

Hey,

Thanks for your reply.

I tried switching to the companion app, but alas it still doesn't work; I can't install the app to roku. Please see attached.

-Constantine

On Thu, Jan 3, 2019 at 3:13 PM Pranav Prakash notifications@github.com wrote:

That's odd. It's possible Roku might have updated the firmware and somehow broken their "play on roku" api.

You can try switching to the version with the explicit companion app, found on the master https://github.com/pranav-prakash/RokuCast/tree/master branch. You'll need to sideload that app to your Roku and reinstall the extension with the version found on that branch.

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

-- Constantine F. Gulmatico III, PA-C c.gulmatico@gmail.com constantine.gulmatico06@stjohns.edu [m]: (917) 755-4843 [h]: (718) 531-3802

-- Constantine F. Gulmatico III, PA-C c.gulmatico@gmail.com constantine.gulmatico06@stjohns.edu [m]: (917) 755-4843 [h]: (718) 531-3802

-- Constantine F. Gulmatico III, PA-C c.gulmatico@gmail.com constantine.gulmatico06@stjohns.edu [m]: (917) 755-4843 [h]: (718) 531-3802

pranav-prakash commented 5 years ago

What video are you trying to cast?

cgulmatico3 commented 5 years ago

Trying several... From YouTube, dailymotion, metacafe.

Just trying to get any to work...

-Constantine

On Thu, Jan 3, 2019, 3:58 PM Pranav Prakash <notifications@github.com wrote:

What video are you trying to cast?

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

pranav-prakash commented 5 years ago

It's noted that youtube and dailymotion will not work unless you set your user-agent to be mobile (there are extensions to spoof user-agent). This is because for desktop they use an indirect method of playback where the <video> url is set to point to a local blob. You can see this is the case if you try to download the video and the URL shows up like blob://.

Try on http://camendesign.com/code/video_for_everybody/test.html and cast the .mp4

ivanahtannica commented 5 years ago

Hi, I'm having similar issues. I installed the one on playOnRoku branch + RokuCastr channel (even though it's not necessary) and nothing happens when I click on the cast button on the extension. It doesn't even work on the test video from the link given above.

pranav-prakash commented 5 years ago

You need to install both the extension and roku app from the one on the master branch, not the playOnRoku branch. Also not sure what you mean by RokuCastr. The companion app for the version of the extension in the master branch needs to be sideloaded manually (instructions are provided in the README).