skyblued 2 vuotta sitten
vanhempi
commit
2271eb6c52
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4 2
      src/views/coursewarePlay/index.tsx

+ 4 - 2
src/views/coursewarePlay/index.tsx

@@ -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}