Comments (4)
Done more testing. The button does seem to appear in Chrome on Android like this:
But doesn't appear at all in Edge on Windows.
I was trying to get the button to appear on the controls bar like this:
from videojs-chromecast.
Your demo works for me in macOS 13.0 Chrome (107), at least:
Please note that there has to be Chromecast devices available for casting on the same network as the device in order for the Chromecast button to show up in the toolbar. If there are no available Chromecast device targets, then the button will not be shown.
If you are able to reproduce this issue after ensuring that there are available cast targets, please provide what OS version and browser version you are using.
from videojs-chromecast.
Thanks for the reply. There's definitely Chromecast devices available - if I tap the cast button on Android I can select my Nvidia Shield. I tested right clicking on the video in Edge on Windows 11 and discovered a "Cast to Device" option in the context menu which, when clicked, brings up the options for devices to cast to. However I really want to get the cast button in the controls working. I have a Mac as well so decided to install Chrome and test like you and similar issue - no cast button although I have the cast menu button in the Chrome options menu and have the option to cast the tab.
I'm doing all this testing on http not https could that be the isssue????
from videojs-chromecast.
Ran my code on a HTTPS connection last night and it worked. I had even tested with running the plug locally on my server - njot just thought the CDN but ultimately this plugin needs HTTPS - might be worth adding to the docs.
from videojs-chromecast.
Related Issues (20)
- Chromecast didn't work with hls HOT 1
- ChromeCast working on googleapi clip but not on local one HOT 1
- Moving chromecast button outside of the the controlbar HOT 2
- Support to add chromecast button outside the control-bar. HOT 1
- videojs.getComponent is not a function HOT 1
- Support Video.js 8.x HOT 8
- contentUrl is undefined HOT 1
- Remove deprecated .extend method HOT 1
- Silvermine plugin crashes with latest version on video.js ^8.0.4 HOT 2
- Uncaught TypeError: b.supportedMediaCommands.indexOf is not a function
- setSource being called multiple times when using latest version and videojs-playlist HOT 1
- "google-cast-button" has already been used with this registry
- Not working file m3u8 in chromecast HOT 10
- Android is now sending only one Idle state event on first play
- React demo
- Chrome Cast Receiver is always Max Sound Volume from the beginning
- Chrome Cast Receiver disconnected after a page contains a player has been reloaded
- More frequent releases | Create a new tag HOT 3
- Video does not resume playing in browser after disconnecting from chromecast
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videojs-chromecast.