<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Youtube Alternate Video Player | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/13955</link>
    <description>Recent comments on userscript: Youtube Alternate Video Player</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Suggestions, replied by Yansky</title>
      <description>&lt;p&gt;I haven't updated this script in a while. All my scripts are released under a CC ( &lt;a href=&quot;http://creativecommons.org/licenses/by-sa/3.0/&quot;&gt;http://creativecommons.org/licenses/by-sa/3.0/&lt;/a&gt;  )license, so feel free to use/alter my code to make your own script.&lt;/p&gt;</description>
      <pubDate>Mon, 16 Nov 2009 00:28:20 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39618:190388</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/190388</link>
    </item>
    <item>
      <title>Suggestions, replied by Delvin</title>
      <description>&lt;p&gt;This is certainly one of the more interesting scripts. Here are a few suggestions.&lt;/p&gt;

&lt;p&gt;To avoid problems like this: &lt;a href=&quot;http://www.youtube.com/watch?v=sn2qepWagbc&quot;&gt;http://www.youtube.com/watch?v=sn2qepWagbc&lt;/a&gt;# (URLs with a hash at the end) without using a bunch of splits and checks, just get the video id out of flashvars instead of using document.location.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;vidID = fv.split(&quot;&amp;amp;video_id=&quot;)[1].split(&quot;&amp;amp;&quot;)[0];&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Setting the ID of the embed to &quot;movie_player&quot; will allow YouTube (and other scripts like YouTube Enhancer ) to appropriately size it.&lt;/p&gt;

&lt;p&gt;What is aLoader? Looks like base 64 data. Is it used for anything? If not perhaps it could be removed.&lt;/p&gt;

&lt;p&gt;bgcolor=&quot;#ffffff&quot; is basically useless and could be removed as well.&lt;/p&gt;</description>
      <pubDate>Sun, 15 Nov 2009 22:40:32 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:39618:190378</guid>
      <author>Delvin</author>
      <link>http://userscripts.org/posts/190378</link>
    </item>
    <item>
      <title>Make default audio level maximum?, replied by leecovuk</title>
      <description>&lt;p&gt;Hello Yansky,&lt;/p&gt;

&lt;p&gt;The default audio level on the player seems to be a little low.
&lt;br /&gt;Is there any way I/we can force it up to maximum without always having to manually raise it?&lt;/p&gt;

&lt;p&gt;Thanks a lot,
&lt;br /&gt;Lee
&lt;br /&gt;UK&lt;/p&gt;</description>
      <pubDate>Tue, 03 Mar 2009 23:39:57 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:22618:99877</guid>
      <author>leecovuk</author>
      <link>http://userscripts.org/posts/99877</link>
    </item>
    <item>
      <title>new player src, replied by Yansky</title>
      <description>&lt;p&gt;Sorry I was messing around with my site. The src URL should work again.&lt;/p&gt;</description>
      <pubDate>Wed, 25 Feb 2009 20:09:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:22297:98498</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/98498</link>
    </item>
    <item>
      <title>new player src, replied by markoER</title>
      <description>&lt;p&gt;if player doesn't work for you , change player source from:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;'src=&quot;http://forboden.com/coding/flashtest/FlowPlayer.swf&quot;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;to&lt;/p&gt;

&lt;p&gt;&lt;code&gt;'src=&quot;http://kateclinton.com/vlog/FlowPlayerDark.swf&quot;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and everything will be like it was before&lt;/p&gt;</description>
      <pubDate>Wed, 25 Feb 2009 14:25:38 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:22297:98437</guid>
      <author>markoER</author>
      <link>http://userscripts.org/posts/98437</link>
    </item>
    <item>
      <title>Playlist for FlowPlayerDark, replied by Mike L</title>
      <description>&lt;p&gt;This is probably very simple, or maybe not. I get rss feeds of videos from bitsontherun.com and i need to put them into a playlist like JW player does, but for FlowPlayerDark. does anyone have a script that will parse an rss feed, or atom or xml ..botr will give me thru its API whatever I need, but I cant get it to work with flowplayer. anyone have any ideas?&lt;/p&gt;</description>
      <pubDate>Thu, 29 Jan 2009 23:23:33 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20997:92900</guid>
      <author>Mike L</author>
      <link>http://userscripts.org/posts/92900</link>
    </item>
    <item>
      <title>Tecker's HD Mod, replied by tecker</title>
      <description>In an effort to keep things simplified I do not want to create a new version of the script. I will simply keep this thread updated with my modified version. If there are problems let me know over on the &quot;Hack&quot; thread. If there is a problem with the link post here.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://hockersmith.net/FirefoxHacking/YtubeAltHD.user.js&quot;&gt;HD Modified version&lt;/a&gt; (Version 1.2tm1)&lt;br /&gt;
(&lt;a href=&quot;http://hockersmith.net/FirefoxHacking/YtubeAltHD.user.js&quot;&gt;http://hockersmith.net/FirefoxHacking/YtubeAltH...&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;Default sets the system to SD video. Edit the script and change the default format line and things will be switched over. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks to Yansky for creating this script.</description>
      <pubDate>Sat, 27 Dec 2008 01:43:33 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:19508:86358</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/86358</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by tecker</title>
      <description>Woah wait a tick. How did you pull that off? I could have sworn I had tried that but it didnt load. Hmmm. Maybe I didnt trigger it correctly.&lt;br /&gt;&lt;br /&gt;
[edit]&lt;br /&gt;
Hmmmmm... I didnt encode the string though. I was just pulling the srcWithT variable not a URIecnoded version. Good revisit. This restores the script once again to my active status. Oh and yet again you simplified the code. I honestly dont think this is going to get any simpler. (you might surprise me though.)&lt;br /&gt;
[/edit]</description>
      <pubDate>Fri, 26 Dec 2008 05:30:18 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:86224</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/86224</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by Yansky</title>
      <description>&lt;p&gt;Try it now.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 21:25:32 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:85882</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/85882</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by tecker</title>
      <description>&lt;p&gt;I had stumbled upon that last night. I think that you should use this as a stop gap only. Here's why:&lt;/p&gt;

&lt;p&gt;GM_XMLHttpRequest will actually download the full video when called the way you have it implemented (onload). The standard XMLHttpRequest could be polled in the middle to check to see when youtube passed us off and then just grab the new URL and run. GM_XMLHttpRequest does not have a reliable way of doing this. Trying to catch it mid request (onstatechange) will cause really bad script hangs and processor loads.&lt;/p&gt;

&lt;p&gt;Currently the video will download 2 times. First time to get just the URL the second time to actually load the video into FlowPlayer. I think that we should watch the changelogs to see when this is fixed (3.1 maybe?) as I prefer the old method. Or greasemonkey could just fix the dang bug.&lt;/p&gt;

&lt;p&gt;Your code on this version however is nicely minimal.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 13:17:50 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:85766</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/85766</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by Yansky</title>
      <description>&lt;p&gt;@ tecker
&lt;br /&gt;I've updated the code for the script and I think it should work ok with the new firefox XMLHttpRequest fix. &lt;/p&gt;

&lt;p&gt;Feel free to make a new userscript with your HD version. I personally am logged into youtube most of the time, so I almost always have &quot;HD&quot; enabled in my youtube settings, but I realise a lot of people don't do it that way so if you create a new userscript, I will put a link to it on this scripts page.&lt;/p&gt;

&lt;p&gt;BTW, all my scripts are released with a CC license, so you can do just about anything you want with them. :)
&lt;br /&gt;&lt;a href=&quot;http://creativecommons.org/licenses/by-sa/3.0/&quot;&gt;http://creativecommons.org/licenses/by-sa/3.0/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 08:05:01 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:85728</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/85728</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by tecker</title>
      <description>&lt;p&gt;[note: Script broken in 3.0.5. Am looking for workaround.]&lt;/p&gt;

&lt;p&gt;FOUND IT. 
&lt;br /&gt;Mozilla disabled a function call that we need to get the string back from youtube.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.mozilla.org/security/announce/2008/mfsa2008-64.html&quot;&gt;http://www.mozilla.org/security/announce/2008/m...&lt;/a&gt; states that due to the XMLHttpRequest vulnerability they implemented the following workaround: 
&lt;br /&gt;&quot;Disable JavaScript [function] until a version containing these fixes can be installed.&quot;&lt;/p&gt;

&lt;p&gt;Way to go fellas. Coulda let some of us who USE that function know that you were going to get rid of it. Thanks. I will see if there is a greasemonkey call that we can make to fix this.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 04:21:56 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:85684</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/85684</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by tecker</title>
      <description>&lt;p&gt;Interesting. Im noticing that exact same behavior as you mentioned. I will see what I can find but this may be related to an XSS bug fix and may stem from either a problem in greasemonkey or the way we are doing the script.&lt;/p&gt;</description>
      <pubDate>Tue, 23 Dec 2008 03:39:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:85678</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/85678</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by desert</title>
      <description>&lt;p&gt;Firefox update 3.0.5 breaks this nice script ? at least on my pc
&lt;br /&gt;still working with 3.0.4 though&lt;/p&gt;</description>
      <pubDate>Wed, 17 Dec 2008 08:11:52 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:84252</guid>
      <author>desert</author>
      <link>http://userscripts.org/posts/84252</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by leecovuk</title>
      <description>&lt;p&gt;Thanks Tecker, I'm trying this out.&lt;/p&gt;

&lt;p&gt;Can I ask, can I simply replace the code exactly as suggested by Yansky in another thread, to revert the player in your revised code to the old player?&lt;/p&gt;

&lt;p&gt;I like the way you've made/kept the default playback quality as non-HQ (I think you have anyway). My old Pentium III struggles with streaming normal Flash at the best of times, let alone high quality clips.
&lt;br /&gt;:)&lt;/p&gt;

&lt;p&gt;Lee
&lt;br /&gt;UK&lt;/p&gt;</description>
      <pubDate>Sun, 14 Dec 2008 19:05:02 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:83439</guid>
      <author>leecovuk</author>
      <link>http://userscripts.org/posts/83439</link>
    </item>
    <item>
      <title>Player has changed? , replied by leecovuk</title>
      <description>&lt;p&gt;ok, thanks for that, Yansky.&lt;/p&gt;

&lt;p&gt;Lee&lt;/p&gt;</description>
      <pubDate>Fri, 05 Dec 2008 20:05:26 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18529:81574</guid>
      <author>leecovuk</author>
      <link>http://userscripts.org/posts/81574</link>
    </item>
    <item>
      <title>Player has changed? , replied by Yansky</title>
      <description>&lt;p&gt;It's an updated version. The video still buffers, it's just a bit hard to see the timeline buffer since it's grey on grey. If you want to use the old player, you can change this bit of code
&lt;br /&gt;&lt;pre&gt;
'src=&quot;http://forboden.com/coding/flashtest/FlowPlayerDark.swf&quot; id=&quot;FlowPlayer&quot; name=&quot;FlowPlayer&quot; bgcolor=&quot;#ffffff&quot; '+
&lt;/pre&gt;
&lt;br /&gt;to this
&lt;br /&gt;&lt;pre&gt;
'src=&quot;http://forboden.com/coding/flashtest/FlowPlayer.swf&quot; id=&quot;FlowPlayer&quot; name=&quot;FlowPlayer&quot; bgcolor=&quot;#ffffff&quot; '+		
&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 04 Dec 2008 06:37:37 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18529:81219</guid>
      <author>Yansky</author>
      <link>http://userscripts.org/posts/81219</link>
    </item>
    <item>
      <title>Work with Youtube Googler?, replied by leecovuk</title>
      <description>&lt;p&gt;Hello again,
&lt;br /&gt;Can this possibly be made to work with the Youtube Googler script? I think it would be ideal to have that script's tabs/sidebar along with auto buffer+no auto play.
&lt;br /&gt;Thanks for any thoughts/efforts on this.
&lt;br /&gt;Lee
&lt;br /&gt;UK&lt;/p&gt;</description>
      <pubDate>Thu, 04 Dec 2008 01:10:37 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18533:81199</guid>
      <author>leecovuk</author>
      <link>http://userscripts.org/posts/81199</link>
    </item>
    <item>
      <title>Player has changed? , replied by leecovuk</title>
      <description>&lt;p&gt;Hello Yansky or anyone else knowledgeable;
&lt;br /&gt;I'm seeing a brown player recently rather than the previous one with the big yellow 'play' icon on it. I'm just curious why this is.
&lt;br /&gt;Also, are videos still buffering whilst paused? I can't tell by looking at the brown player.
&lt;br /&gt;Thanks a lot,
&lt;br /&gt;Lee
&lt;br /&gt;UK&lt;/p&gt;</description>
      <pubDate>Thu, 04 Dec 2008 00:51:50 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18529:81192</guid>
      <author>leecovuk</author>
      <link>http://userscripts.org/posts/81192</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by tecker</title>
      <description>&lt;p&gt;Fixed the caveat. Version 1.0tm4 (Tecker Mod 4) has been uploaded. &lt;b&gt;See above for new version&lt;/b&gt;. In fixing the code I was able to clean it up a little as well and make it a little less complex.&lt;/p&gt;

&lt;p&gt;Now the handling of the default is all interal to the script and does not require you to refresh the page. This should make back and page navigation easier.&lt;/p&gt;</description>
      <pubDate>Thu, 27 Nov 2008 16:45:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:80449</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/80449</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by tecker</title>
      <description>[edit, the code that was posted here was incomplete so I'm retracting it. See below for explanation.]&lt;br /&gt;&lt;br /&gt;
The uploaded file linked above has been HEAVILY modified. I have made a default format ability and to track when you have switched from the default to what ever else you picked. &lt;br /&gt;&lt;br /&gt;

The number of changes are enormous (Yansky if you need help understanding let me know) so I will not list them here.&lt;br /&gt;&lt;br /&gt;

I have finally reached a point where it behaves as I want it to. &lt;br /&gt;
Expected Behavior:
&lt;ul&gt;&lt;li&gt;Standard Youtube Link is set to the default and played at desired level
&lt;/li&gt;&lt;li&gt;Youtube links with a format attached (ex url&lt;u&gt;&amp;amp;fmt=18&lt;/u&gt;&amp;amp;whoop) are played as linked
&lt;/li&gt;&lt;li&gt;Unknown formats are honored and indicated by a message to the lower right of the player
&lt;/li&gt;&lt;li&gt;Format switches are available to switch to other qualities.
&lt;/li&gt;&lt;li&gt;Format can switch regardless of &quot;&amp;amp;fmt=&quot; position in the url
&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;del&gt;&lt;b&gt;Caveat:&lt;/b&gt; Only drawback is in the default system causes a page refresh and will cause another entry in the history. This makes going back harder as the script will constantly push you back forward. To beat this you have to quickly go back 2 times to get to the linking page or the original page.&lt;/del&gt;&lt;br /&gt; FIXED. See below.&lt;br /&gt;&lt;br /&gt;
Please test and let me know what happens. Thanks.</description>
      <pubDate>Wed, 26 Nov 2008 19:49:51 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:80313</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/80313</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by tecker</title>
      <description>&lt;b&gt;Newer, more complete uploaded version&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
Try this link:
&lt;a href=&quot;http://hockersmith.net/FirefoxHacking/youtube_alternate_video.user.js&quot;&gt;Tecker Modified Version&lt;/a&gt;   V&lt;b&gt;1.0tm4&lt;/b&gt;&lt;br /&gt;(&lt;a href=&quot;http://hockersmith.net/FirefoxHacking/youtube_alternate_video.user.js&quot;&gt;http://hockersmith.net/FirefoxHacking/youtube_a...&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
I just threw this up on my website. Let me know if it works for you.</description>
      <pubDate>Wed, 26 Nov 2008 19:26:28 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:80309</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/80309</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by fattie</title>
      <description>&lt;p&gt;I can't get the code to work.  My editor seems to be confused about the syntax when I put it in the corresponding spots.  I don't know if you could possibly email me the .js or something?&lt;/p&gt;</description>
      <pubDate>Wed, 26 Nov 2008 05:57:59 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:80171</guid>
      <author>fattie</author>
      <link>http://userscripts.org/posts/80171</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by tecker</title>
      <description>Still at it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;See below for newer, more complete uploaded version&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
 Now that the widescreen has been enabled the format 22 (HD Streams) can be hacked in.

Section 1 in the header
between &lt;code&gt;scrWithT&lt;/code&gt; and &lt;code&gt;pD&lt;/code&gt; now becomes more complex to:
&lt;p&gt;&lt;pre&gt;
var quallink = 'Switch to: &amp;lt;a style=&quot;text-decoration:none&quot; href=&quot;'+document.location.toString()+'&amp;amp;fmt=18&quot;&amp;gt;High Quality&amp;lt;/a&amp;gt;/&lt;br /&gt;&amp;lt;a style=&quot;text-decoration:none&quot; href=&quot;'+document.location.toString()+'&amp;amp;fmt=22&quot;&amp;gt;HD Quality&amp;lt;/a&amp;gt;';
var qual = 'Regular';
if (document.location.toString().indexOf(&quot;fmt=18&quot;) != -1){
	qual = 'High';
	quallink = 'Switch to: &amp;lt;a style=&quot;text-decoration:none&quot; href=&quot;'+document.location.toString().split(&quot;&amp;amp;fmt=&quot;,1) +'&quot;&amp;gt;Regular Quality&amp;lt;/a&amp;gt;/&lt;br /&gt;&amp;lt;a style=&quot;text-decoration:none&quot; href=&quot;'+document.location.toString().split(&quot;&amp;amp;fmt=&quot;,1) +'&amp;amp;fmt=22&quot;&amp;gt;HD Quality&amp;lt;/a&amp;gt;';
	srcWithT = 'http://'+document.domain+'/get_video?fmt=18&amp;amp;video_id='+vidID+'&amp;amp;t='+fv.split(&quot;&amp;amp;t=&quot;)[1].split(&quot;&amp;amp;&quot;)[0];
}
if (document.location.toString().indexOf(&quot;fmt=22&quot;) != -1){
	qual = 'HD';
	quallink = 'Switch to: &amp;lt;a style=&quot;text-decoration:none&quot; href=&quot;'+document.location.toString().split(&quot;&amp;amp;fmt=&quot;,1) +'&quot;&amp;gt;Regular Quality&amp;lt;/a&amp;gt;/&lt;br /&gt;&amp;lt;a style=&quot;text-decoration:none&quot; href=&quot;'+document.location.toString().split(&quot;&amp;amp;fmt=&quot;,1) +'&amp;amp;fmt=18&quot;&amp;gt;High Quality&amp;lt;/a&amp;gt;';
	srcWithT = 'http://'+document.domain+'/get_video?fmt=22&amp;amp;video_id='+vidID+'&amp;amp;t='+fv.split(&quot;&amp;amp;t=&quot;)[1].split(&quot;&amp;amp;&quot;)[0];
}
&lt;/pre&gt;&lt;p&gt;
This will let you switch back and forth between Standard/High/HD. And the new format 22 HD looks amazing but eats your system resources like crazy.&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 25 Nov 2008 05:10:35 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:79978</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/79978</link>
    </item>
    <item>
      <title>&amp;quot;Hack&amp;quot; for HD Streams / new widescreen layout, replied by tecker</title>
      <description>Well Im back at it. These changes might reflect for me only. Please let me know if you are seeing the new formats.&lt;p&gt;&lt;b&gt;See below for newer, more complete uploaded version&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Youtube just changed their site in prep for the new Widescreen HD streams. There for the following addtions/changes can be made to fit the new layout better. &lt;p&gt;

1) Change the width = 480 to 640 and it will stretch out flowplayer. &lt;p&gt;
2) Change &lt;code&gt;initialScale: \'scale\'&lt;/code&gt; to &lt;code&gt;initialScale: \'fit\'&lt;/code&gt;. This will help preserve the aspect ratios. Some videos will actually take advantage of the new system provided you watch them in format 18. &lt;p&gt;
3) Youtube moved the quality link out and it will appear annoyingly at times. Add the following to hide it everytime. &lt;br /&gt;
   Add this after the &lt;code&gt;var pD =&lt;/code&gt; line&lt;br /&gt;&lt;pre&gt;var ytQualLink = document.getElementById('watch-video-quality-setting');&lt;/pre&gt;&lt;p&gt;Then after the pD.innerHTML section add this&lt;br /&gt;&lt;pre&gt;
if (ytQualLink) {
   	ytQualLink.parentNode.removeChild(ytQualLink);
}
&lt;/pre&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 25 Nov 2008 05:04:44 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18221:79977</guid>
      <author>tecker</author>
      <link>http://userscripts.org/posts/79977</link>
    </item>
  </channel>
</rss>
