- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
What time-frame are we talking about? When was the start of the data collection phase. The browsers are constantly changing in terms of protections from unwanted behavior of websites. In combination with a youtube video you will have a hard time to let automatic start of anything happen.selinaemhardt wrote: This worked fine at the beginning of the data collection phase for various browsers (chrome, firefox, safari).
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Initiate the player $("#jquery_jplayer_1").jPlayer({ ready: function(event) { $(this).jPlayer("setMedia", { title: "My Title", mp4: "/path/to/video.mp4" }); }, swfPath: "/path/to/js", supplied: "mp4", cssSelectorAncestor: "#jp_container_1", useStateClassSkin: true, autoBlur: false, smoothPlayBar: true, remainingDuration: true, toggleDuration: true }); // Start the player after 10 seconds setTimeout(function() { $("#jquery_jplayer_1").jPlayer('play'); }, 10000); }); </script>