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 does not show when using application id. #27

Open
oromanos opened this issue Jan 28, 2020 · 2 comments
Open

Cast button does not show when using application id. #27

oromanos opened this issue Jan 28, 2020 · 2 comments

Comments

@oromanos
Copy link

I am using the code as is in this repository. The cast button does not show up if I use my application id.
Also more than 50% of the time, there is an error in the console stating

Uncaught ReferenceError: cast is not defined
at CastPlayer.initializeCastPlayer (CastVideos.js?=18:179)
at window.__onGCastApiAvailable (CastVideos.js?
=18:1643)
at chrome.cast.ha (cast_sender.js:94)

What do I need to fix this issue?

@oromanos
Copy link
Author

I also noticed that if I use my application id and try to cast. It casts the whole tab and not just the video.

@jtromo
Copy link
Contributor

jtromo commented Sep 27, 2021

Is your receiver published?

If it is not published, you will need to register your devices that are being used for the Cast button to display.

Please make sure you are following all of the steps in the registration guide: https://developers.google.com/cast/docs/registration

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

2 participants