mercredi 17 juin 2020

ChromeCast - Can I specify a URL in the launcher?

This may be a silly question, but I am asking it anyway :P. I have a JWPlayer added to my page and I want to enable casting. However, I have an overlay too on the top of the player, so I want to add a <google-cast-launcher></google-cast-launcher> on my overlay. That should somehow trigger the casting when clicked. It obviously should do casting on the video, not on the whole browser tab.

There is any way to specify in the <google-cast-launcher> the URL/video which I want to cast? (a property/attribute, or something else)?




Aucun commentaire:

Enregistrer un commentaire