shiyiya / oplayer

:zap: Another HTM5 video player.

Home Page:https://oplayer.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qualities not showing on mobile

casualGamer-dev opened this issue · comments

commented
Qualities not showing on mobile
commented
"@oplayer/core": "^1.2.9",
"@oplayer/hls": "^1.2.6",
"@oplayer/ui": "^1.2.10",
platform : android 
Browser : chrome
commented

opening site from mobile doesnt not show the option to change quality
u can test it out yourself https://gojo.tv

commented

You can try to update to the latest version.

commented

@casualGamer-dev

Maybe I have found the answer.
When the browser supports the corresponding video format, the corresponding plug-in will not be loaded. For example, if iOS built-in supports playing m3u8, the hls.js will not be loaded. Now that Chrome Mobile also supports m3u8, hls.js will not be used by default, so the quality switch will also fail.

You can try to force the use of hls.js

hls({ matcher: () => true })
commented

Now player.$video.canPlayType('application/x-mpegURL') returned 'maybe'.

chrome mobile 108.0.5359128