mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-14 13:26:47 +08:00
Merge branch '20250821-hz' of https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile into master-0626-prod
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
<!-- :src="url" <video id="xvideoPlayer" :class="fullScreenFlag?'video-scree-rotate':''" :style="{width: fullScreenFlag?videoPageHeight+'px':'100%',height: fullScreenFlag?videoPageWidth+'px': '','margin-left':fullScreenFlag?-1*(videoPageWidth/videoPageHeight*256)+'px':'','top':fullScreenFlag?videoPageHeight/2+'px':''}" -->
|
<!-- :src="url" <video id="xvideoPlayer" :class="fullScreenFlag?'video-scree-rotate':''" :style="{width: fullScreenFlag?videoPageHeight+'px':'100%',height: fullScreenFlag?videoPageWidth+'px': '','margin-left':fullScreenFlag?-1*(videoPageWidth/videoPageHeight*256)+'px':'','top':fullScreenFlag?videoPageHeight/2+'px':''}" -->
|
||||||
<video id="xvideoPlayer" :class="fullScreenFlag?'video-scree-rotate':''"
|
<video id="xvideoPlayer" :class="fullScreenFlag?'video-scree-rotate':''"
|
||||||
:style="{width: fullScreenFlag?videoPageHeight+'px':'100%',height: fullScreenFlag?videoPageWidth+'px': '','margin-left':fullScreenFlag?-1*(videoPageHeight-videoPageWidth)/2+'px':''}"
|
:style="{width: fullScreenFlag?videoPageHeight+'px':'100%',height: fullScreenFlag?videoPageWidth+'px': '','margin-left':fullScreenFlag?-1*(videoPageHeight-videoPageWidth)/2+'px':''}"
|
||||||
ref="videoPlayer"
|
|
||||||
:src="url"
|
:src="url"
|
||||||
:controls="false"
|
:controls="false"
|
||||||
:enable-play-gesture="false"
|
:enable-play-gesture="false"
|
||||||
@@ -283,7 +282,9 @@ export default {
|
|||||||
const u = navigator.userAgent, app = navigator.appVersion;
|
const u = navigator.userAgent, app = navigator.appVersion;
|
||||||
const isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
|
const isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
|
||||||
if (isIOS) {
|
if (isIOS) {
|
||||||
this.$refs["videoPlayer"].webkitEnterFullscreen()
|
document.querySelector("#xvideoPlayer").webkitEnterFullscreen()
|
||||||
|
// return
|
||||||
|
// this.$refs["videoPlayer"].webkitEnterFullscreen()
|
||||||
}
|
}
|
||||||
var _this = this
|
var _this = this
|
||||||
if (this.fullScreenFlag) {
|
if (this.fullScreenFlag) {
|
||||||
|
|||||||
2
unpackage/dist/build/h5/index.html
vendored
2
unpackage/dist/build/h5/index.html
vendored
@@ -19,4 +19,4 @@
|
|||||||
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
|
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
|
||||||
var s = document.getElementsByTagName("script")[0];
|
var s = document.getElementsByTagName("script")[0];
|
||||||
s.parentNode.insertBefore(hm, s);
|
s.parentNode.insertBefore(hm, s);
|
||||||
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.b01deae1.js></script><script src=/mobile/static/js/index.72abe792.js></script></body></html>
|
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.b01deae1.js></script><script src=/mobile/static/js/index.e367f09b.js></script></body></html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/h5/static/js/pages-study-courseStudy.bde138f4.js
vendored
Normal file
1
unpackage/dist/build/h5/static/js/pages-study-courseStudy.bde138f4.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/h5/static/js/pages-study-videoTest.c56678f6.js
vendored
Normal file
1
unpackage/dist/build/h5/static/js/pages-study-videoTest.c56678f6.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user