<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on YouTube Perfect - Previews, mp4/flash, HQ/HD, download | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/38074</link>
    <description>Recent comments on userscript: YouTube Perfect - Previews, mp4/flash, HQ/HD, download</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Needs Update, replied by dudebudbro</title>
      <description>&lt;p&gt;Youtube has made many changes since the last time this script was updated and this script has become buggy and unusable. Videos will play in HD even if you uncheck HD option. Videos will play expanded even with option unchecked. Sometimes the video window will expand but the video plays in regular size. Expand/Contract button doesn't work.  Doesn't automatically select HQ. If you do select HQ the video gets expanded and the only way to unexpand it is to deselect HQ.  Too many problems to keep using it now. &lt;/p&gt;

&lt;p&gt;I want to keep using this because it's one of the few scripts that can play the videos using MP4 player. I can't find another working script that does this.  Please fix.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Oct 2009 13:35:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:38042:182679</guid>
      <author>dudebudbro</author>
      <link>http://userscripts.org/posts/182679</link>
    </item>
    <item>
      <title>Bugs (fallos), replied by G3R</title>
      <description>&lt;p&gt;Script can't detect HD video&lt;/p&gt;</description>
      <pubDate>Thu, 22 Oct 2009 21:50:45 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20924:182426</guid>
      <author>G3R</author>
      <link>http://userscripts.org/posts/182426</link>
    </item>
    <item>
      <title>Audio but no picture, replied by Elliot</title>
      <description>&lt;p&gt;I was having some problems with using Flash so installed this script instead. When I click on a Youtube video, a big Quicktime 'Q' symbol appears and then the screen goes blank and plays the audio but no picture appears.
&lt;br /&gt;It might be an issue of a missing codec perhaps?
&lt;br /&gt;Any recommendations please?
&lt;br /&gt;I have Windows XP by the way.
&lt;br /&gt;Thanks&lt;/p&gt;</description>
      <pubDate>Wed, 21 Oct 2009 00:55:37 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:37868:181782</guid>
      <author>Elliot</author>
      <link>http://userscripts.org/posts/181782</link>
    </item>
    <item>
      <title>credit please, replied by khopesh</title>
      <description>&lt;p&gt;Hi.  This is the original author.&lt;/p&gt;

&lt;p&gt;First, bravo.  You've given a new life to this script, improving it all over the place, folding in items from other scripts, and keeping it all maintained with YouTube's updates (which I've failed to do on the original).  Thanks.&lt;/p&gt;

&lt;p&gt;Now the problem.&lt;/p&gt;

&lt;p&gt;A preface -- I've been wavering over bothering to say anything about this issue at all.  It refers only to a few places in the code, and I've considered just letting things lie, but since my script no longer works, I don't want to maintain it, and I've found myself fixing &lt;i&gt;this&lt;/i&gt; script rather than my own, it surfaces again.  Plus, I'd like to fully obsolete my script and point users here instead.  I can't do that while this script is in this state.&lt;/p&gt;

&lt;p&gt;I see you did a &quot;complete rewrite&quot; when you changed the license from my script's AGPL to the current &quot;Public Domain&quot; &quot;license.&quot;  Not sure why you think releasing something to &lt;a href=&quot;http://en.wikipedia.org/wiki/Public_domain&quot;&gt;public domain&lt;/a&gt; is a good idea (people don't have to credit you and can legally claim that they wrote the entire code themselves), but that would be your own business ... were it not in violation of my own copyright and license.  Most people who want to grant full freedom to any and all (including the privilege of compiling a derivative and selling it without revealing source) want the &lt;a href=&quot;http://en.wikipedia.org/wiki/MIT_license&quot;&gt;MIT License&lt;/a&gt; (aka the BSD 2-clause license), and I prefer the &lt;a href=&quot;http://en.wikipedia.org/wiki/Affero_General_Public_License&quot;&gt;Affero GPL&lt;/a&gt; as it requires sending fixes back to the community.&lt;/p&gt;

&lt;p&gt;Certain pieces of my original code, including a facet that no longer even works (fix below), are still intact.  This means that you can NOT release this script under a license not compatible with the GNU Affero General Public License, v3 or later, and you can NOT claim copyright (or relinquish copyright as releasing to public domain does).&lt;/p&gt;

&lt;p&gt;Please re-license this to the GNU AGPL v3+ or &lt;b&gt;ask me&lt;/b&gt; for an agreeable re-licensing (I'm warm to the GNU GPL v3, maybe other things too).  All this really requires is a little more text in the comments at the beginning of the script including a license notice, lack of warranty, and shared copyright (or if you really want to relinquish your own, full copyright to me, which seems silly).&lt;/p&gt;

&lt;p&gt;Here is some more code for this script.  Again, it is AGPL v3 and you cannot use it until you relicense this script.&lt;/p&gt;

&lt;p&gt;Line 821, within the &quot;if (hideComments)&quot; stanza, needs to change its syntax.&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;if (com) com.className = com.className.replace(/(^| )expanded\b/g, '');&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;becomes&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;if (com) com.className += &quot; yt-uix-expander-collapsed&quot;;&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;... I'm not sure what the second half of that stanza is for --perhaps to collapse video responses?-- but it doesn't work, and applying the above change doesn't appear to do anything either.  That's okay by me, all I wanted to do was shrink the massive text block that so marvelously showcases youtubers' stupidity.&lt;/p&gt;</description>
      <pubDate>Fri, 16 Oct 2009 03:35:30 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:37425:179905</guid>
      <author>khopesh</author>
      <link>http://userscripts.org/posts/179905</link>
    </item>
    <item>
      <title>Italian traduction, replied by rospo84</title>
      <description>&lt;p&gt;CHeck it, and if u like add it ;)&lt;/p&gt;

&lt;p&gt;// Italiano
&lt;br /&gt;} else if (lang == 'it') {&lt;/p&gt;

&lt;p&gt;  var playMP4 = 'Riproduci MP4';
&lt;br /&gt;  var playFlash = 'Riproduci Flash';
&lt;br /&gt;  var stop = 'Stop';
&lt;br /&gt;  var expand = 'Espandi';
&lt;br /&gt;  var contract = 'Contrai';
&lt;br /&gt;  var hdOn = 'HD on';
&lt;br /&gt;  var hdOff = 'HD off';
&lt;br /&gt;  var download = 'Download';
&lt;br /&gt;  var optionsMenu = 'Opzioni';
&lt;br /&gt;  var optionsTooltip = 'Clicca per attivare la funzione';
&lt;br /&gt;  var update = 'Aggiorna Script';
&lt;br /&gt;  var previewsOption = 'Disabilita autoplay';
&lt;br /&gt;  var embedOption = 'Cambia Flash con MP4';
&lt;br /&gt;  var hdSupportOption = 'Attiva HD';
&lt;br /&gt;  var autoExpandOption = 'Espandi tutti i video';
&lt;br /&gt;  var correct43Option = 'Correggi video in 4:3';
&lt;br /&gt;  var autoLightsOutOption = 'Abilita lights out';
&lt;br /&gt;  var hideCommentsOption = 'Nascondi commenti';
&lt;br /&gt;  var hideAnnotationsOption = 'Nascondi annotazioni';
&lt;br /&gt;  var buttonStyleOption = 'Usa i bottoni blu';
&lt;br /&gt;  var autoCheckUpdatesOption = 'Verifica aggiornamenti';
&lt;br /&gt;  var debugModeOption = 'Abilita debug mode';&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;</description>
      <pubDate>Mon, 12 Oct 2009 08:13:54 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:37118:178453</guid>
      <author>rospo84</author>
      <link>http://userscripts.org/posts/178453</link>
    </item>
    <item>
      <title>Bugs (fallos), replied by gav616</title>
      <description>&lt;p&gt;concerning the grey box, i added 'style': 'position:absolute;top:0;left:0;width:100%;height:100%'&lt;/p&gt;

&lt;p&gt;the 100% to the height.&lt;/p&gt;</description>
      <pubDate>Thu, 10 Sep 2009 12:09:28 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20924:167770</guid>
      <author>gav616</author>
      <link>http://userscripts.org/posts/167770</link>
    </item>
    <item>
      <title>Bugs (fallos), replied by gav616</title>
      <description>&lt;p&gt;my fav script on here is now working good after the update, thank you.
&lt;br /&gt;couple of things;&lt;/p&gt;

&lt;p&gt;'lights out' doesn't work when a video is playing, &lt;/p&gt;

&lt;p&gt;I applied this; '&lt;a href=&quot;http://userscripts.org/topics/20924?page=2#posts-110097&quot;&gt;http://userscripts.org/topics/20924?page=2#post...&lt;/a&gt;'
&lt;br /&gt;'lights out' now works when a video is playing but the dimmed block is cut off at the bottom of the page, it looks like its to do with youtube's top half of the site is smaller now (..?), so when the script moves the page perspective when playing a video, its out slightly.&lt;/p&gt;</description>
      <pubDate>Wed, 09 Sep 2009 20:39:04 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20924:167602</guid>
      <author>gav616</author>
      <link>http://userscripts.org/posts/167602</link>
    </item>
    <item>
      <title>Bugs (fallos), replied by deepedge</title>
      <description>&lt;p&gt;Sad...
&lt;br /&gt;It seems like the script does not work properly with Opera 10.0.&lt;/p&gt;</description>
      <pubDate>Mon, 07 Sep 2009 19:46:01 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20924:166990</guid>
      <author>deepedge</author>
      <link>http://userscripts.org/posts/166990</link>
    </item>
    <item>
      <title>Bugs (fallos), replied by Node</title>
      <description>&lt;p&gt;The script's menu has disappeared from YouTube.&lt;/p&gt;</description>
      <pubDate>Wed, 02 Sep 2009 02:36:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20924:165136</guid>
      <author>Node</author>
      <link>http://userscripts.org/posts/165136</link>
    </item>
    <item>
      <title>Bugs (fallos), replied by dudebudbro</title>
      <description>&lt;p&gt;Thanks for fixing it :)&lt;/p&gt;</description>
      <pubDate>Tue, 18 Aug 2009 07:33:04 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20924:159601</guid>
      <author>dudebudbro</author>
      <link>http://userscripts.org/posts/159601</link>
    </item>
    <item>
      <title>Make stop button work on any site?, replied by V&#237;ctor Pimentel</title>
      <description>&lt;p&gt;You could use this other script, is like this script but works on embedded videos in any page (but YouYube):&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/46219&quot;&gt;http://userscripts.org/scripts/show/46219&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 17 Aug 2009 15:01:31 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:23603:159358</guid>
      <author>V&#237;ctor Pimentel</author>
      <link>http://userscripts.org/posts/159358</link>
    </item>
    <item>
      <title>Bugs (fallos), replied by V&#237;ctor Pimentel</title>
      <description>&lt;p&gt;der07, the script should work now.&lt;/p&gt;</description>
      <pubDate>Mon, 17 Aug 2009 14:58:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20924:159352</guid>
      <author>V&#237;ctor Pimentel</author>
      <link>http://userscripts.org/posts/159352</link>
    </item>
    <item>
      <title>Script's Broken!, replied by V&#237;ctor Pimentel</title>
      <description>&lt;p&gt;Thanks for the warning, it should work now.&lt;/p&gt;</description>
      <pubDate>Mon, 17 Aug 2009 14:57:34 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:28153:159350</guid>
      <author>V&#237;ctor Pimentel</author>
      <link>http://userscripts.org/posts/159350</link>
    </item>
    <item>
      <title>French translation, replied by V&#237;ctor Pimentel</title>
      <description>&lt;p&gt;Thank you very much Ceolien. I have updated the script adding your translation :)&lt;/p&gt;</description>
      <pubDate>Mon, 17 Aug 2009 14:56:55 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:32427:159349</guid>
      <author>V&#237;ctor Pimentel</author>
      <link>http://userscripts.org/posts/159349</link>
    </item>
    <item>
      <title>&amp;quot;option&amp;quot; Button don't work!?, replied by V&#237;ctor Pimentel</title>
      <description>&lt;p&gt;Hi everyone!&lt;/p&gt;

&lt;p&gt;I have updated the script to fix the Options Menu and other things, enjoy it!&lt;/p&gt;

&lt;p&gt;I'm sorry I'm late, but I was on vacation... Anyway, the script should warn every user that an updated version is available.&lt;/p&gt;</description>
      <pubDate>Mon, 17 Aug 2009 14:56:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:29739:159345</guid>
      <author>V&#237;ctor Pimentel</author>
      <link>http://userscripts.org/posts/159345</link>
    </item>
    <item>
      <title>&amp;quot;option&amp;quot; Button don't work!?, replied by COOLover</title>
      <description>&lt;p&gt;It dosn't work at me, too.
&lt;br /&gt;Debug:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;Fehler: dropdown is not defined
Quelldatei: http://www.youtube.com/watch?v=E4T8vCMskvs#watch-vid-title
Zeile: 1&lt;/pre&gt;&lt;pre&gt;Fehler: syntax error
Quelldatei: javascript:void()
Zeile: 1, Spalte: 5
Quelltext:
void()&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Firefox 3.5.2
&lt;br /&gt;Greasemonkey 0.8.20090123.1&lt;/p&gt;</description>
      <pubDate>Sun, 09 Aug 2009 21:19:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:29739:156439</guid>
      <author>COOLover</author>
      <link>http://userscripts.org/posts/156439</link>
    </item>
    <item>
      <title>French translation, replied by Ceolien</title>
      <description>&lt;p&gt;Hi !&lt;/p&gt;

&lt;p&gt;Nice script. :)&lt;/p&gt;

&lt;p&gt;I made a french translation. Here it is :&lt;/p&gt;

&lt;p&gt;// French
&lt;br /&gt;if (lang == 'fr') {&lt;/p&gt;

&lt;p&gt;  var playMP4 = 'Lire en MP4';
&lt;br /&gt;  var playFlash = 'Lire en Flash';
&lt;br /&gt;  var stop = 'Arr&#234;ter';
&lt;br /&gt;  var expand = 'Plein &#233;cran';
&lt;br /&gt;  var contract = 'R&#233;duire';
&lt;br /&gt;  var hdOn = 'HD activ&#233;e';
&lt;br /&gt;  var hdOff = 'HD d&#233;sactiv&#233;e';
&lt;br /&gt;  var download = 'T&#233;l&#233;charger';
&lt;br /&gt;  var optionsMenu = 'Options';
&lt;br /&gt;  var optionsTooltip = 'Cliquer pour activer cette option';
&lt;br /&gt;  var update = 'Mettre &#224; jour le script';
&lt;br /&gt;  var previewsOption = 'D&#233;sactiver la lecture automatique';
&lt;br /&gt;  var embedOption = 'Remplacer Flash par MP4';
&lt;br /&gt;  var hdSupportOption = 'Activer la HD';
&lt;br /&gt;  var autoExpandOption = 'Toutes les vid&#233;os en plein &#233;cran';
&lt;br /&gt;  var correct43Option = 'Correction des vid&#233;os 4:3';
&lt;br /&gt;  var autoLightsOutOption = 'Activer le mode &#171; lumi&#232;res &#233;teintes &#187;';
&lt;br /&gt;  var hideCommentsOption = 'Masquer les commentaires';
&lt;br /&gt;  var hideAnnotationsOption = 'Masquer les annotations';
&lt;br /&gt;  var buttonStyleOption = 'Utiliser des boutons bleus';
&lt;br /&gt;  var autoCheckUpdatesOption = 'Rechercher des mises &#224; jour';
&lt;br /&gt;  var debugModeOption = 'Activer le mode de d&#233;bogage';&lt;/p&gt;</description>
      <pubDate>Sat, 08 Aug 2009 11:24:58 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:32427:156003</guid>
      <author>Ceolien</author>
      <link>http://userscripts.org/posts/156003</link>
    </item>
    <item>
      <title>Great except one bug, replied by doorknob60</title>
      <description>&lt;p&gt;Hmm, it seems to be working now, so unless it starts messing up again, consider this fixed :)&lt;/p&gt;</description>
      <pubDate>Sun, 05 Jul 2009 23:55:10 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:29992:142847</guid>
      <author>doorknob60</author>
      <link>http://userscripts.org/posts/142847</link>
    </item>
    <item>
      <title>Great except one bug, replied by doorknob60</title>
      <description>&lt;p&gt;I love this script. Using the mplayer plugin is a lot smoother playback than using Flash Player, especially with full screen and HD. The only problem is the 720p vids are too big and it blocks some of the stuff like the buttons and part of the comments. Here's an example of a video it does it on: &lt;a href=&quot;http://www.youtube.com/watch?v=kVKsFxjmJQs&quot;&gt;http://www.youtube.com/watch?v=kVKsFxjmJQs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here's an image showing the problem (in case it doesn't do it for you): &lt;a href=&quot;http://i44.tinypic.com/mmzhhg.png&quot;&gt;http://i44.tinypic.com/mmzhhg.png&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 02 Jul 2009 07:30:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:29992:141149</guid>
      <author>doorknob60</author>
      <link>http://userscripts.org/posts/141149</link>
    </item>
    <item>
      <title>&amp;quot;option&amp;quot; Button don't work!?, replied by Wes M</title>
      <description>&lt;p&gt;It's most likely because YouTube changed some of the code on the website and the script hasn't been updated to work with it. You can still set options manually within the script, though. Right-click the Greasemonkey icon and click Manage User Scripts, then highlight the script and click the Edit button down at the bottom. If you haven't already set a default text editor it'll ask you for one now. Find this section of the code:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;// Get the user preferences for Greasemonkey
&lt;br /&gt;// For other browsers these options have to be changed manually from above
&lt;br /&gt;previews = getValue('previews', previews);
&lt;br /&gt;embed = getValue('embed', embed);
&lt;br /&gt;hdSupport = getValue('hdSupport', hdSupport);
&lt;br /&gt;autoExpand = getValue('autoExpand', autoExpand);
&lt;br /&gt;correct43 = getValue('correct43', correct43);
&lt;br /&gt;autoLightsOut = getValue('autoLightsOut', autoLightsOut);
&lt;br /&gt;hideComments = getValue('hideComments', hideComments);
&lt;br /&gt;hideAnnotations = getValue('hideAnnotations', hideAnnotations);
&lt;br /&gt;buttonStyle = getValue('buttonStyle', buttonStyle);
&lt;br /&gt;autoCheckUpdates = getValue('autoCheckUpdates', autoCheckUpdates);
&lt;br /&gt;debugMode = getValue('debugMode', debugMode);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Comment out all of those by adding two forward-slashes in front of them (like this: //this is a comment). Then scroll up to the top of the script and set all the variables however you want.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Jul 2009 18:29:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:29739:140853</guid>
      <author>Wes M</author>
      <link>http://userscripts.org/posts/140853</link>
    </item>
    <item>
      <title>&amp;quot;option&amp;quot; Button don't work!?, replied by xipx</title>
      <description>&lt;p&gt;I don't know why,I can't use the option button? I can see it,but Click on it nothing happened.
&lt;br /&gt;I'm using the firefox3.0.3,Is this a bug or what?&gt;_&amp;lt;
&lt;br /&gt;Thanks for the reply.&lt;/p&gt;</description>
      <pubDate>Sun, 28 Jun 2009 07:34:31 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:29739:139439</guid>
      <author>xipx</author>
      <link>http://userscripts.org/posts/139439</link>
    </item>
    <item>
      <title>Script's Broken!, replied by Tecfan</title>
      <description>&lt;p&gt;HD doesn't work for me...&lt;/p&gt;</description>
      <pubDate>Fri, 19 Jun 2009 16:51:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:28153:135507</guid>
      <author>Tecfan</author>
      <link>http://userscripts.org/posts/135507</link>
    </item>
    <item>
      <title>[request] HTML5 support, replied by RunAway</title>
      <description>&lt;p&gt;Hi, can you add html5 support in your script?
&lt;br /&gt;You can check this &lt;a href=&quot;http://www.youtube.com/html5&quot;&gt;http://www.youtube.com/html5&lt;/a&gt; to get an idea :)&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 23:41:21 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:28959:134193</guid>
      <author>RunAway</author>
      <link>http://userscripts.org/posts/134193</link>
    </item>
    <item>
      <title>Bugs (fallos), replied by dert07</title>
      <description>&lt;p&gt;I don't know if it's just me, but the script really seems to be broken.
&lt;br /&gt;I can't access the options dialog anymore and videos stopped playing in HQ or HD automatically.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Jun 2009 11:45:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20924:131545</guid>
      <author>dert07</author>
      <link>http://userscripts.org/posts/131545</link>
    </item>
    <item>
      <title>Doesn't work with Opera 10 (Beta), replied by fresco</title>
      <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;first of all: thanks a lot for this wonderful script :)
&lt;br /&gt;I've tested it with Firefox and it worked perfectly.&lt;/p&gt;

&lt;p&gt;When testing it with Opera 10 Beta it doesn't work at all. I always encounter the following error:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;JavaScript
&lt;br /&gt;User JS compilation
&lt;br /&gt;Syntax error E:\Programme\Opera\profile\userjs\38074.user.js: line 875 of User JS script :
&lt;br /&gt;Expected token: '}'
&lt;br /&gt; 
&lt;br /&gt;-^
&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Would be great if this could be fixed :)&lt;/p&gt;</description>
      <pubDate>Mon, 08 Jun 2009 13:38:22 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:28398:130073</guid>
      <author>fresco</author>
      <link>http://userscripts.org/posts/130073</link>
    </item>
  </channel>
</rss>
