- Posts: 8
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" class="responsive-iframe" frameborder="0" height="315" id="myvideo" src="LINK HERE" title="YouTube video player" width="600px"></iframe> <p> </p> <button onclick="openFullscreen_test();">Click here for Fullscreen</button><script type="text/javascript" charset="utf-8">var elem = document.getElementById("myvideo"); function openFullscreen_test() { if (elem.requestFullscreen) { elem.requestFullscreen(); } else if (elem.webkitRequestFullscreen) { /* Safari */ elem.webkitRequestFullscreen(); } else if (elem.msRequestFullscreen) { /* IE11 */ elem.msRequestFullscreen(); } } </script>
Please Log in to join the conversation.
<button onclick="openFullscreen_test();">Click here for Fullscreen</button>
<button type="button" onclick="openFullscreen_test();">Click here for Fullscreen</button>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" class="responsive-iframe" frameborder="0" height="315" id="myvideo" src="LINKHERE" title="YouTube video player" width="600px"></iframe> <p> </p> <button onclick="openFullscreen_test();" type="button">Click for fullscreen</button><script type="text/javascript" charset="utf-8">var elem = document.getElementById("myvideo"); function openFullscreen_test() { elem.play(); if (elem.requestFullscreen) { elem.requestFullscreen(); } else if (elem.webkitRequestFullscreen) { /* Safari */ elem.webkitRequestFullscreen(); } else if (elem.msRequestFullscreen) { /* IE11 */ elem.msRequestFullscreen(); } } </script>
Please Log in to join the conversation.
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" class="responsive-iframe" frameborder="0" height="315" id="myvideo" src="LINKHERE" title="YouTube video player" width="600px"></iframe> <p> </p> <button onclick="openFullscreen_test();" type="button">Click for fullscreen</button> <script type="text/javascript" charset="utf-8"> var elem = document.getElementById("myvideo"); function openFullscreen_test() { if (elem.requestFullscreen) { elem.requestFullscreen(); } else if (elem.webkitRequestFullscreen) { /* Safari */ elem.webkitRequestFullscreen(); } else if (elem.msRequestFullscreen) { /* IE11 */ elem.msRequestFullscreen(); } } </script>
Please Log in to join the conversation.
Please Log in to join the conversation.