mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 03:16:45 +08:00
feat&fix: 屏蔽课程推荐内容 优化苹果全屏展示
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user