We’re running an experiment where our short 6 second video clips need to ideally load in Full screen mode when the question displays allowing the user to click play on the play button that is auto-embedded over the screen. Alternatively, we could disable the user controls of the video and have them click a button that would move the video to full screen and start playing.
My html code of a sample video looks like this:
Watch this video:<br />
<br />
<video class="qmedia" controls="true" height="380" preload="auto" width="450"><source src="https://lvc.qualtrics.com/CP/File.php?F=F_8IiNUf5k0oU49Qq" type="video/mp4" /><embed align="middle" autoplay='true' bgcolor="white" class="qmedia" controller="true" height="380" pluginspage="http://www.apple.com/quicktime/download/" src="https://lvc.qualtrics.com/CP/File.php?F=F_8IiNUf5k0oU49Qq" type="video/quicktime" width="450" /></video
I’ve tried reading other posts on this topic and adding the code recommended here (see below) to no avail: https://stackoverflow.com/questions/32823436/auto-full-screen-iframe-video-without-using-any-api The videos are hosted in the qualtrics library so <iframe> doesn’t seem to apply.
function goFullscreen(id) {
var element = document.getElementById(id);
if (element.mozRequestFullScreen) {
element.mozRequestFullScreen();
} else if (element.webkitRequestFullScreen) {
element.webkitRequestFullScreen();
Any help would be really appreciated! Thank you!