shiyiya / oplayer

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

HLS level switching from fixed to auto is broken. #38

Closed phpb-com closed 1 year ago

phpb-com commented 2 years ago

When setting a fixed quality level and trying to switch back to auto, you get "otherError: levelSwitchError" on the screen with no video (dark screen). This issue started from 1.0.45.

shiyiya commented 2 years ago

Can you provide the video url? I tested it all fine. My test video: https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8

shiyiya commented 2 years ago

9cf74e00-0e9f-49bb-82d7-6b14c60d92ab

shiyiya commented 2 years ago

try v1.0.46-beta.0

phpb-com commented 2 years ago

Sorry, had to go to sleep. Just tried with the latest beta, and the problem is gone. This problem occurred on a Chrome browser on Mac using OPlayer with remix react app (SSR).

shiyiya commented 1 year ago

If it's okay, I'll close the issue.

phpb-com commented 1 year ago

yes, beta.0 worked as expected, did not try the latest beta 1.

shiyiya commented 1 year ago

beat1 only added isLive options