Ver Fonte

修改iframe

11wqe1 há 2 semanas atrás
pai
commit
38fa795ffd
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -348,7 +348,7 @@ const getUrlParam = (urlStr, urlKey) => {
   <div v-loading="isShow" style="height: 100vh;">
     <router-view></router-view>
   </div>
-  <iframe :src="courseUrl" class="courseIframe" v-if="courseUrl"></iframe>
+  <iframe :src="courseUrl" allow="camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read" :webkitallowfullscreen="true" :mozallowfullscreen="true" :allowfullscreen="true"  class="courseIframe" v-if="courseUrl"></iframe>
   <!-- </keep-alive> -->
 </template>