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

Question: multiple players handling #19

Closed
stefanovualto opened this issue Sep 20, 2018 · 3 comments
Closed

Question: multiple players handling #19

stefanovualto opened this issue Sep 20, 2018 · 3 comments

Comments

@stefanovualto
Copy link

Does the google-cast button handle multiple players on the same page?

If yes how can I pass to it the element to cast?

@NoRulesJustFeels
Copy link
Contributor

It can, but you have to provide the right media information to the Cast SDK.

@stefanovualto
Copy link
Author

Thank you, I think you gave me the right tips for another issue! 👍

So that means that the click event by default only trigger a sessionRequest, am I right?

Is there an example somewhere or a schema of the lifeCycle that that explains what is needed in which order? I think it would be very helpful.

Have a great day, you saved me a lot of time! 🤗

@NoRulesJustFeels
Copy link
Contributor

Once you have a session, you just follow the same steps as with a single video. But you have to manage the metadata.

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