Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TheEndless
Channel Surfer

Re: PHP cURL script to control Roku box not working

"bryanharley" wrote:
Someone else wrote this javascript, but I was not able to get it to work client-side in a browser. Any idea why?

I believe XDomainRequest is a IE only object, so that script will only work in Internet Explorer.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Tags (1)
0 Kudos
bryanharley
Visitor

Re: PHP cURL script to control Roku box not working

Right, and I've been testing it in IE 11 on a computer on the same network as my Roku. Can't get it to work though.
Tags (1)
0 Kudos
bryanharley
Visitor

Re: PHP cURL script to control Roku box not working

Ah, looks like XDomainRequest is depreciated in IE 11, need to use XMLHttpRequest instead.
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!