소스 검색

修改iframe

11wqe1 2 주 전
부모
커밋
38fa795ffd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>