Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast button doesn't appear on mobile #33

Open
lucafaggianelli opened this issue Apr 18, 2020 · 3 comments
Open

Cast button doesn't appear on mobile #33

lucafaggianelli opened this issue Apr 18, 2020 · 3 comments

Comments

@lucafaggianelli
Copy link

On Chrome Android, chromecast SDK simply doesn't work, it's not loaded at all, I have this issue also on a sender app I made, it looks like window['__onGCastApiAvailable'] is not called at all.

Actually, if you play a video in Chrome Android, a cast icon appears in the top left corner of the <video> element but it seems a Chrome native thing, not the cast button implemented in this repo.

@harry-harish
Copy link

+1

@Dalesjo
Copy link

Dalesjo commented Apr 15, 2021

If anyone stumbles upon this problem, make sure you are hosting your website with https, otherwise __onGCastApiAvailable will not trigger.

@jtromo
Copy link
Contributor

jtromo commented Sep 27, 2021

Chrome Android is supported.

Is your receiver app published? +1 to Dalesjo's suggestion that your website needs to be hosted with https as well.

Also are there any devices on the network?

Here's some information to help troubleshoot: https://developers.google.com/cast/docs/registration#devices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants