Hi Shashi, I have tried putting your code in but I kept getting the message about "unexpected identifier". Would you happen to know where have I gone wrong? Thanks. This is what I have done: var video = jQuery("#vidid");//<video id="vidid" controls="controls" autoplay="autoplay" height="500" src="https://www.youtube.com/embed/YLYIVOcsH2U?rel=0&XXX;autoplay=1" width="889"></iframe> var preview = false; if(/^\\/jfe[0-9]?\\/preview/.test(window.location.pathname)) preview = true; if(preview) { if(jQuery('.MobilePreviewFrame:first').length > 0) { var vidEl = video.get(0); vidEl.muted = true; vidEl.width = "300"; } } $('NextButton').hide(); video.on('ended', function(event) $('NextButton').click();
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.