<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Youtube Prevent Autoplay | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/12008</link>
    <description>Recent comments on userscript: Youtube Prevent Autoplay</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Doesn't work now, replied by Uters</title>
      <description>&lt;p&gt;Thanks, that's the one I was using but it doesn't work as seamlessly as yours.  So I assume that means this script is dead for good?&lt;/p&gt;</description>
      <pubDate>Wed, 09 Sep 2009 07:30:00 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:34760:167464</guid>
      <author>Uters</author>
      <link>http://userscripts.org/posts/167464</link>
    </item>
    <item>
      <title>Doesn't work now, replied by Yansky</title>
      <description>&lt;p&gt;Try this one instead: &lt;a href=&quot;http://userscripts.org/scripts/show/49366&quot;&gt;http://userscripts.org/scripts/show/49366&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 08 Sep 2009 16:13:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:34760:167255</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/167255</link>
    </item>
    <item>
      <title>Doesn't work now, replied by Uters</title>
      <description>&lt;p&gt;Youtube changed something and now the player doesn't show the video time correctly and you can't seek.&lt;/p&gt;</description>
      <pubDate>Tue, 08 Sep 2009 09:23:16 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:34760:167160</guid>
      <author>Uters</author>
      <link>http://userscripts.org/posts/167160</link>
    </item>
    <item>
      <title>Problems, replied by abbynormal0ne</title>
      <description>&lt;p&gt;I used this code, but now I cannot see embedded videos at all.  I uninstalled the script, but the embedded videos still do not show up.  I disabled greasemonkey itself, and I still cannot see embedded videos.  I can only view youtube videos directly from the site.  Do you have an idea how to fix this?&lt;/p&gt;</description>
      <pubDate>Fri, 27 Mar 2009 16:10:33 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18060:106099</guid>
      <author>abbynormal0ne</author>
      <link>http://userscripts.org/posts/106099</link>
    </item>
    <item>
      <title>youtube sponsored video, replied by alala</title>
      <description>&lt;p&gt;Hey great script the only problem is with youtube sponsored videos ones that show an ad in the video seem to autoplay still.&lt;/p&gt;

&lt;p&gt;Any ideas on how to get those videos to stop playing as well.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
      <pubDate>Sat, 07 Feb 2009 06:01:32 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:21410:94610</guid>
      <author>alala</author>
      <link>http://userscripts.org/posts/94610</link>
    </item>
    <item>
      <title>Problems, replied by Yansky</title>
      <description>&lt;p&gt;I'm not sure what you mean.&lt;/p&gt;</description>
      <pubDate>Fri, 21 Nov 2008 03:25:22 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18060:79289</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/79289</link>
    </item>
    <item>
      <title>Problems, replied by QusaiAbuHilal</title>
      <description>&lt;p&gt;Hi ...
&lt;br /&gt;thanks....&lt;/p&gt;

&lt;p&gt;But it's doesn't work!!!
&lt;br /&gt;it make the video stop at all not the &quot;play of the video&quot;...&lt;/p&gt;

&lt;p&gt;please check ....&lt;/p&gt;</description>
      <pubDate>Fri, 21 Nov 2008 02:11:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18060:79285</guid>
      <author>QusaiAbuHilal</author>
      <link>http://userscripts.org/posts/79285</link>
    </item>
    <item>
      <title>Archived Comments, replied by JoeSimmons</title>
      <description>&lt;p&gt;&lt;code&gt;BTW, do you know why &amp;lt; blockquote &gt; doesn't seem to be working in comments anymore?&lt;/code&gt;
&lt;br /&gt;It works, it's just invisible.
&lt;br /&gt;Install my script &lt;a href=&quot;http://userscripts.org/scripts/show/34758&quot;&gt;here&lt;/a&gt; and it makes them look nice. Also a faster Stylish version &lt;a href=&quot;http://userstyles.org/styles/11639&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Btw avg, I like the old player because you can click anywhere on the player to start it... the new one you have to click right on the button. Also I like the seeking more on the old one, it seems more precise.&lt;/p&gt;</description>
      <pubDate>Sun, 16 Nov 2008 06:39:03 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57989</guid>
      <author>JoeSimmons</author>
      <link>http://userscripts.org/posts/57989</link>
    </item>
    <item>
      <title>Archived Comments, replied by Avindra V.G.</title>
      <description>&lt;p&gt;&lt;blockquote&gt;testing&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;it seems to work, but the &quot;greenish&quot; css is completely gone.&lt;/p&gt;</description>
      <pubDate>Sun, 16 Nov 2008 06:16:48 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57990</guid>
      <author>Avindra V.G.</author>
      <link>http://userscripts.org/posts/57990</link>
    </item>
    <item>
      <title>Archived Comments, replied by Yansky</title>
      <description>&lt;p&gt;@avg - Thanks, that works really well. I've updated the script with your code.&lt;/p&gt;

&lt;p&gt;BTW, do you know why &amp;lt; blockquote &gt; doesn't seem to be working in comments anymore?&lt;/p&gt;</description>
      <pubDate>Sun, 16 Nov 2008 05:45:01 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57991</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/57991</link>
    </item>
    <item>
      <title>Archived Comments, replied by Avindra V.G.</title>
      <description>&lt;p&gt;Even shorter code is: &lt;strong&gt;USES THE PLAYER ON THE PAGE&lt;/strong&gt;&lt;pre&gt;
with(document.getElementById('movie_player'))
{
	setAttribute(&quot;flashvars&quot;,&quot;autoplay=0&amp;amp;&quot;+getAttribute(&quot;flashvars&quot;));
	src+=&quot;#&quot;;
}
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;this allows you to use the new player as well, instead of switching to the less attractive older one.&lt;/p&gt;</description>
      <pubDate>Sun, 16 Nov 2008 05:00:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57992</guid>
      <author>Avindra V.G.</author>
      <link>http://userscripts.org/posts/57992</link>
    </item>
    <item>
      <title>Archived Comments, replied by Avindra V.G.</title>
      <description>&lt;p&gt;Ok I tested this code and it works fine: &lt;strong&gt;USES THE OLD PLAYER&lt;/strong&gt;&lt;pre&gt;
	  with(document.getElementById('movie_player'))
	  	{
	  	src=&quot;/player2.swf?&quot;+getAttribute(&quot;flashvars&quot;);
		setAttribute(&quot;flashvars&quot;,&quot;iurl=http%3A//img.youtube.com/vi/&quot;+/v=([^#&amp;amp;]+)/.exec(document.URL)[1]+&quot;/default.jpg&quot;);
		src+=&quot;#&quot;;
		}
&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 16 Nov 2008 04:48:35 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57993</guid>
      <author>Avindra V.G.</author>
      <link>http://userscripts.org/posts/57993</link>
    </item>
    <item>
      <title>Archived Comments, replied by Avindra V.G.</title>
      <description>&lt;p&gt;did you try out my other code suggestion? i tried it and it works on this end.&lt;/p&gt;</description>
      <pubDate>Sun, 16 Nov 2008 04:24:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57994</guid>
      <author>Avindra V.G.</author>
      <link>http://userscripts.org/posts/57994</link>
    </item>
    <item>
      <title>Archived Comments, replied by Yansky</title>
      <description>&lt;p&gt;&lt;blockquote&gt;
&lt;br /&gt;For example, wouldn't :
&lt;br /&gt;document.getElementById('movie_player').src='/player2.swf'
&lt;br /&gt;do the trick?
&lt;br /&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;I tried it out but it didn't seem to work for me.&lt;/p&gt;</description>
      <pubDate>Sun, 16 Nov 2008 03:40:53 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57995</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/57995</link>
    </item>
    <item>
      <title>Archived Comments, replied by Avindra V.G.</title>
      <description>&lt;p&gt;This script can be shorter: &lt;/p&gt;

&lt;p&gt;&lt;pre&gt;var $=function(x) {return document.getElementById(x)}, 
    fvars = $('movie_player').getAttribute('flashvars'),
  getArg=function(arg) {
     return (new RegExp(arg+&quot;=([^&amp;amp;#]+)&quot;).exec(fvars)||[,''])[1];
  },
 vidID = getArg('video_id'), l=getArg('l'), t = getArg('t'); 

$((/\/user\//.test(document.URL) ? 'profile' : 'watch') + '-player-div').innerHTML = '&amp;lt;embed id=&amp;quot;movie_player&amp;quot; flashvars=&amp;quot;&amp;amp;rs=1&amp;amp;sn=1&amp;amp;hl=en&amp;amp;iurl=http%3A//img.youtube.com/vi/'+vidID+'/default.jpg&amp;quot;'+
'type=&amp;quot;application/x-shockwave-flash&amp;quot; wmode=&amp;quot;transparent&amp;quot; src=&amp;quot;/player2.swf?video_id='+vidID+'&amp;amp;t='+t+'&amp;amp;l='+l+'&amp;quot;'+
'height=&amp;quot;395px&amp;quot; width=&amp;quot;480px&amp;quot;&amp;gt;&amp;lt;/embed&amp;gt;';&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Haven't tested it at all, but I'm assuming it should work.&lt;/p&gt;

&lt;p&gt;But one question: Why don't you just port the flashvars directly over, instead of extracting bits and pieces? Better yet, why don't you just search for the &lt;code&gt;&amp;lt;embed&amp;gt;&lt;/code&gt;, and change the &lt;code&gt;src&lt;/code&gt; directly?&lt;/p&gt;

&lt;p&gt;For example, wouldn't :
&lt;br /&gt;&lt;pre&gt;document.getElementById('movie_player').src='/player2.swf'&lt;/pre&gt;
&lt;br /&gt;do the trick? &lt;a href=&quot;http://www.youtube.com/watch?v=vOa--Dhu11M&amp;amp;fmt=18&quot;&gt;I might be wrong&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Sun, 16 Nov 2008 02:03:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57996</guid>
      <author>Avindra V.G.</author>
      <link>http://userscripts.org/posts/57996</link>
    </item>
    <item>
      <title>Archived Comments, replied by Yansky</title>
      <description>&lt;p&gt;@ekbworldwide &amp;amp; wolssiloa - I've updated it to work on the profile page.&lt;/p&gt;</description>
      <pubDate>Sun, 16 Nov 2008 01:08:02 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57997</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/57997</link>
    </item>
    <item>
      <title>Archived Comments, replied by wolssiloa</title>
      <description>&lt;p&gt;I second ekbworldwide's idea. Videos on a user's profile should also not automatically play.&lt;/p&gt;</description>
      <pubDate>Fri, 14 Nov 2008 04:50:24 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57998</guid>
      <author>wolssiloa</author>
      <link>http://userscripts.org/posts/57998</link>
    </item>
    <item>
      <title>Archived Comments, replied by ekbworldwide</title>
      <description>&lt;p&gt;Could you add the ability to stop profile videos from auto-starting?&lt;/p&gt;</description>
      <pubDate>Tue, 21 Oct 2008 18:21:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:57999</guid>
      <author>ekbworldwide</author>
      <link>http://userscripts.org/posts/57999</link>
    </item>
    <item>
      <title>Archived Comments, replied by JoeSimmons</title>
      <description>&lt;p&gt;Nice. Could you possibly make a script that will just pause the video when it starts, so it loads but doesn't play right away? In other words, could you make this script have the video load but not play yet?&lt;/p&gt;</description>
      <pubDate>Fri, 05 Sep 2008 15:54:18 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:58000</guid>
      <author>JoeSimmons</author>
      <link>http://userscripts.org/posts/58000</link>
    </item>
    <item>
      <title>Archived Comments, replied by xee</title>
      <description>&lt;p&gt;Very helpful script indeed! Thanks a lot, mate!&lt;/p&gt;</description>
      <pubDate>Sat, 19 Jul 2008 20:21:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:58001</guid>
      <author>xee</author>
      <link>http://userscripts.org/posts/58001</link>
    </item>
    <item>
      <title>Archived Comments, replied by Pawe&#322; Solorz</title>
      <description>&lt;p&gt;this script doesn't work with opera 9.51&lt;/p&gt;</description>
      <pubDate>Tue, 01 Jul 2008 00:13:12 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:58002</guid>
      <author>Pawe&#322; Solorz</author>
      <link>http://userscripts.org/posts/58002</link>
    </item>
    <item>
      <title>Archived Comments, replied by wolssiloa</title>
      <description>&lt;p&gt;Awesome script, very useful. Thanks Yansky!&lt;/p&gt;</description>
      <pubDate>Sat, 26 Apr 2008 16:19:48 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:58003</guid>
      <author>wolssiloa</author>
      <link>http://userscripts.org/posts/58003</link>
    </item>
    <item>
      <title>Archived Comments, replied by Yansky</title>
      <description>&lt;p&gt;Updated&lt;/p&gt;</description>
      <pubDate>Wed, 16 Apr 2008 23:24:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:58004</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/58004</link>
    </item>
    <item>
      <title>Archived Comments, replied by moryabdi</title>
      <description>&lt;p&gt;thank you work great...&lt;/p&gt;</description>
      <pubDate>Tue, 26 Feb 2008 00:13:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:58005</guid>
      <author>moryabdi</author>
      <link>http://userscripts.org/posts/58005</link>
    </item>
    <item>
      <title>Archived Comments, replied by Yansky</title>
      <description>&lt;p&gt;@Daniel Silva: Try this script instead: &lt;a href=&quot;http://userscripts.org/scripts/show/13955&quot;&gt;http://userscripts.org/scripts/show/13955&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 17 Nov 2007 14:50:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14579:58006</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/58006</link>
    </item>
  </channel>
</rss>
