Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

西瓜播放器在移动端(uc浏览器、夸克浏览器)下被换成浏览器自带的视频播放器 #1671

Open
MayfliesST opened this issue Dec 4, 2024 · 0 comments

Comments

@MayfliesST
Copy link

MayfliesST commented Dec 4, 2024

您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
"xgplayer": "^3.0.20",
"xgplayer-hls.js": "^3.0.20"

您使用的操作系统和浏览器分别是? What OS and browser are you using?
操作系统:Android
浏览器:uc浏览器、夸克浏览器
环境:Vue3.5.12

如何复现问题? How to reproduce the problem?
1、引入‘xgplayer'、'xgplayer-hls.js'、'xgplayer/dist/index.min.css'
2、初始化一个手机页面(全屏)的西瓜播放器
3、在uc浏览器、夸克浏览器访问页面,浏览器会自动加载自带的视频播放器

options = {
id: '',
autoplay: false,
playsinline: true,
fluid: true,
url: '',
ignores: [
'time',
'definition',
'error',
'loading',
'play',
'poster',
'replay',
'fullScrren',
'volume',
'controls',
],
playbackRate: false,
videoInit: true,
poster: '',
cssFullscreen: false,
fullscreen: false,
controls: {
autoHide: false,
},
lang: 'zh',
'x5-video-player-type': 'h5',
'x5-video-player-fullscreen': false,
'x5-video-orientation': 'portraint',
useHls:true,
plugins:[HlsPlayer]
}

您期望的播放器正常行为是? What did you expect to happen?
在uc浏览器、夸克浏览器中能正常展示西瓜视频播放器

实际播放器的表现是? What actually happened?
在uc浏览器、夸克浏览器中默认使用了浏览器自带的视频播放器

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant