|
@@ -47,18 +47,21 @@ export default defineComponent({
|
|
|
name: 'CoursewarePlay',
|
|
|
setup() {
|
|
|
const handleInit = (type = 0) => {
|
|
|
+ // 横屏
|
|
|
postMessage({
|
|
|
api: 'setRequestedOrientation',
|
|
|
content: {
|
|
|
orientation: type
|
|
|
}
|
|
|
})
|
|
|
+ // 头,包括返回箭头
|
|
|
postMessage({
|
|
|
- api: 'setBarStatus',
|
|
|
+ api: 'setTitleBarVisibility',
|
|
|
content: {
|
|
|
status: type
|
|
|
}
|
|
|
})
|
|
|
+ // 安卓的状态栏
|
|
|
postMessage({
|
|
|
api: 'setStatusBarVisibility',
|
|
|
content: {
|
|
@@ -334,7 +337,6 @@ export default defineComponent({
|
|
|
<>
|
|
|
<video
|
|
|
playsinline="false"
|
|
|
- webkitPlaysinline="false"
|
|
|
preload="auto"
|
|
|
class="player"
|
|
|
data-vid={m.id}
|