- Posts: 10
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
<div class="video-wrapper"> <video id="myVideo" width="320" height="240" controls> <source src="path/to/your/video.mp4" type="video/mp4"> Your browser does not support the video tag. </video> </div>
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify this question var thisQuestion = $('#question{QID}'); // Hide all other questions $('.question-container').not(thisQuestion).hide(); // Listener on the video $('#myVideo').on('pause', function(e) { $('.question-container').not(thisQuestion).fadeIn(500); }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.