shiyiya / oplayer

:zap: Another HTM5 video player.
https://oplayer.vercel.app
MIT License
147 stars 19 forks source link

Chromecast is functioning with certain videos but encountering issues with others. #111

Closed MuhammadTufailAli closed 6 months ago

MuhammadTufailAli commented 9 months ago

Environment

"@oplayer/core": "^1.2.31", "@oplayer/danmaku": "^1.2.23", "@oplayer/dash": "^1.2.22", "@oplayer/hls": "^1.2.22", "@oplayer/mpegts": "^1.2.22", "@oplayer/plugins": "^1.0.7", "@oplayer/react": "^1.2.8", "@oplayer/torrent": "^1.2.23", "@oplayer/ui": "^1.2.32", browser: chrome

Bug Report

I am using Oplayer and using chromecast in it Chromecast is working perfectly fine but on some movies chromecast is not playing .Chromcast get connected with tv and it shows the icon of chromecast on it and the movie is not played why this is happening and how can i detect it. I also used the movie link and played it on vlc and cast it on tv it work absolutely fine there. I am also adding video recording.

https://github.com/shiyiya/oplayer/assets/80455451/6744e24a-1b76-4a85-bb02-29abc0bfa613

MuhammadTufailAli commented 9 months ago

In case video is not playing i am also attaching screenshots WhatsApp Image 2023-12-26 at 11 36 27_241dab15 WhatsApp Image 2023-12-26 at 11 36 28_b4f6aafb

https://github.com/shiyiya/oplayer/assets/80455451/e1cd1e20-af50-4553-adbd-9e2597733629

shiyiya commented 6 months ago

could u try on https://oplayer-git-refactor-chromecast-shiyiya.vercel.app/player ?