Bladeren bron

Firefox seems to only respect the legacy allowfullscreen attribute

Penar Musaraj 4 jaren geleden
bovenliggende
commit
fbe97eefab
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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>`
           );
         }
       }