浏览代码

Firefox seems to only respect the legacy allowfullscreen attribute

Penar Musaraj 4 年之前
父节点
当前提交
fbe97eefab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      assets/javascripts/discourse/initializers/bbb.js.es6

+ 1 - 1
assets/javascripts/discourse/initializers/bbb.js.es6

@@ -18,7 +18,7 @@ function launchBBB($elem, fullWindow) {
         } else {
           $elem.children().hide();
           $elem.append(
-            `<iframe src="${res.url}" allow="camera;microphone;fullscreen;speaker" width="690" height="500" style="border:none"></iframe>`
+            `<iframe src="${res.url}" allowfullscreen="true" allow="camera; microphone; fullscreen; speaker" width="690" height="500" style="border:none"></iframe>`
           );
         }
       }