Presenting full screen videos | XM Community
Skip to main content
Hello, thank you for having me. I encountered a problem and thought you might be able to help me. I tried looking at the forums first and followed the instructions here, but I couldn't find a way to present videos in a full-screen mode. I use youtube videos and after I failed to use the javascript code (which I guess wasn't right), HTML5 code and Iframe code, I finally got here. Could you please help me? Thanks a lot in advance!
Hi @Rakefet This is possible if you give your iframe a particular id as highlighted below under Iframe Properties > Advanced ! Once you have assigned an id, you can then use the below Javascript code for that question Qualtrics.SurveyEngine.addOnload(function() { var element = document.getElementById("iframe99"); if (element.mozRequestFullScreen) { element.mozRequestFullScreen(); } else if (element.webkitRequestFullScreen) { element.webkitRequestFullScreen(); } });