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

Chromecast icon disappears with controls #8818

Open
damatri opened this issue Jul 29, 2024 · 1 comment
Open

Chromecast icon disappears with controls #8818

damatri opened this issue Jul 29, 2024 · 1 comment
Labels
needs: triage This issue needs to be reviewed

Comments

@damatri
Copy link

damatri commented Jul 29, 2024

Description

When playing a video on mobile/tablet on a network that has Chromecast available and overrideNative as false, the Chromecast button will appear. Wonderful! However, when the player controls disappear the Chromecast button disappears too, but to never return again.

See screenrecording:

Screen_Recording_20240729_153216_Chrome.mp4

Reduced test case

https://videojs.com/advanced?video=disneys-oceans

Steps to reproduce

  1. Play video on a network that has a Chromecast device, Chromecast button will appear in upper left corner
  2. Wait until controls disappear
  3. Make controls appear again, the Chromecast button does not show up any more

Errors

No response

What version of Video.js are you using?

latest

Video.js plugins used.

No response

What browser(s) including version(s) does this occur with?

Chrome

What OS(es) and version(s) does this occur with?

Android

@damatri damatri added the needs: triage This issue needs to be reviewed label Jul 29, 2024
@mister-ben
Copy link
Contributor

You don't have a lot of control over the native chromecast button. You may want to use a plugin that adds a button to the control bar, e.g. https://github.com/silvermine/videojs-chromecast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: triage This issue needs to be reviewed
Projects
None yet
Development

No branches or pull requests

2 participants