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!
Page 1 / 1
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();
}
});
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();
}
});
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.