Jump to content

Support fx_cast (Chromecast Support for Firefox)


Recommended Posts

agottschling
Posted

Basically the title, but there's a ChromeCast support extension for Firefox, and I'm wondering if you can add support for it (Basically if the extension is installed, load the CC api instead of only loading it if Chrome is detected)

Cheers!

 

Extension Docs and Info: https://github.com/hensm/fx_cast

Posted

Hi there, have you tried this out?

agottschling
Posted (edited)

I have tried it, and sorta works. However I need to fake the user-agent so that Emby calls for the chromecast api to be loaded. Once that happens, it does work for the most part. The dev found a few bugs in his code and I'm waiting for an update to make sure that those issues were resolved. But it'd be nice if I didn't have to fake my user-agent in order to get it to work.

Edited by agottschling
Posted

Is there a way to detect it, such as a global object that gets injected?

agottschling
Posted

As far as I can tell, it adds a 'cast' JavaScript object that works exactly (or almost exactly) like the one baked into Chrome. But I'm not a programmer by trade (I've dabbled a bit, but I'm not very good). The docs on the GitHub seem pretty good from my casual glance at them.

Posted

Ok i haven't had a chance to test this myself yet but I'm putting in a change that I think should resolve it for the next release. Thanks.

agottschling
Posted

I'll give it a try when the next server update happens and let you know if it works. I'm not running the beta though, will I see something in the change-log to know when the supposed fix is on my server?

Posted

There will be an announcement on the blog about it. Also the change will be up on the online web app in the next day or so:

http://app.emby.media

So that will allow you to test it without updating the server.

agottschling
Posted

Ok, I'll check it out and report back

agottschling
Posted

Hey @Luke, I checked out the online web app today and it still doesn't call for the cast api unless the user-agent had Chrome in it. Has that update hit the app yet?

Cheers!

Posted

It has yes. It's checking for the chrome global variable. If that's not there we'll need some way of detecting it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...