silvermine / videojs-chromecast

MIT License
147 stars 74 forks source link

Not working with the latest Videojs version #176

Open ayDavidGitHere opened 2 months ago

ayDavidGitHere commented 2 months ago

Casting does not work with the latest videojs version.

Behaviour

VideoJs 7.x.x: Chromcast works as expected. VideoJs 8.10.0: Dark screen on receiver device after connecting.

Sample code: vjs-chromecast-test

rolandog commented 2 weeks ago

Oddly enough, the link you're pointing to works for me; I tested on:

However, the problems I was having were actually due to HLS configuration (I don't know enough yet, but this solution (~Removing~ commenting out both hlsSegmentFormat and hlsVideoSegmentFormat loadRequest function modifications) worked for me.

It doesn't work on Firefox, but I've seen hints that it may be due to the lack of native support for Chromecast APIs and the complexities involved in the certification process required by Google.