feat&fix: 屏蔽课程推荐内容 优化苹果全屏展示

This commit is contained in:
2025-09-15 15:10:38 +08:00
parent 1ba911802e
commit 340b6fe45f
2 changed files with 5 additions and 4 deletions

View File

@@ -282,11 +282,11 @@ export default {
fullScreen() {
const u = navigator.userAgent, app = navigator.appVersion;
const isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
if (isIOS) {
document.querySelector("#xvideoPlayer").webkitEnterFullscreen()
// if (isIOS) {
// document.querySelector("#xvideoPlayer").webkitEnterFullscreen()
// return
// this.$refs["videoPlayer"].webkitEnterFullscreen()
}
// }
var _this = this
if (this.fullScreenFlag) {
//this.videoContext.exitFullScreen();