User:Joeytje50/Scripts/Install/autoplay.js

//Script for preventing any youtube videos from playing automatically when the page loads. //When the youtube player is hidden, the video won't be able to be played. //If it is not hidden, the play button can still be pressed to watch the video.

$(window).load(function{	$('iframe[src$="&autoplay=1"]').attr('src',$('iframe[src$="&autoplay=1"]').attr('src')+'&autoplay=0') })

//End of anti-autoplay script