diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index 8b9efb7487..ee1428a8ba 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -798,7 +798,8 @@ iframe.allowFullscreen = true; iframe.setAttribute("allowfullscreen",""); // for IE11 iframe.setAttribute("onmousewheel",""); // for Safari on Mac - + iframe.setAttribute("allow", "autoplay"); + if (config.type == "mobile") { iframe.style.position = "fixed";