Explorar el Código

添加allowFullscreen

tangning hace 3 años
padre
commit
0ab36b1af3
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      src/view/scene/Initiator.vue
  2. 1 0
      src/view/scene/visitor.vue

+ 1 - 0
src/view/scene/Initiator.vue

@@ -114,6 +114,7 @@ export default {
     iframe.width='100%';  
     iframe.height='100%';  
     iframe.frameBorder = '0' 
+    iframe.allowFullscreen  = 'true' 
     iframe.name = this.getUrlname()
     if(iframe){
         iframe.allow = 'geolocation; microphone; camera; midi; encrypted-media;'

+ 1 - 0
src/view/scene/visitor.vue

@@ -132,6 +132,7 @@ export default {
     iframe.width='100%';  
     iframe.height='100%';  
     iframe.frameBorder = '0' 
+    iframe.allowFullscreen  = 'true' 
     iframe.name = this.getUrlname()
     if(iframe){
         iframe.allow = 'geolocation; microphone; camera; midi; encrypted-media;'