Browse Source

思维网格视频无法全屏问题

lsc 2 years ago
parent
commit
1fdf4d7ba3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/Desktop/DeskTop.js

+ 2 - 2
js/Desktop/DeskTop.js

@@ -553,7 +553,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
             case "mindNetwork": //好友打开
                 _formdiv = new U.UF.UI.form(
                     "思维网格",
-                    $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid }), {
+                    $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid }), {
                     "id": "mindNetwork",
                     "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                     "onresize": function () { }
@@ -778,7 +778,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
 
                 _formdiv = new U.UF.UI.form(
                     "思维网格",
-                    $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid }), {
+                    $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid }), {
                     "id": "mindNetwork",
                     "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                     "onresize": function () { }