Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Yet Another YouTube alternate Player (mplayerplug-in)
replaces youtube's flash player with http://mplayerplug-in.sf.net
it's just a port of this script
http://userscripts.org/scripts/show/13955
that uses mplayerplug-in instead of flash player
(because i couldn't found any that works :( )
19.02.2008 updated
15.04.2008 yet another update for changed layout
|
|
A great idea :) Way to go! |
|
|
Oooopsss... Sorry I sent the comment to the wrong page... BTW, I love your script, so I wanted to port some of its feature back to the main "Youtube alternate player" script. |
|
|
I've added the code (below) based on YouTotem after the 'else if(iCanHazSpanna){'; now I can use the alternate player to play the best video quality available ;) if(pD) {
var z = null;
var scripts = document.getElementsByTagName('script');
for(var i = 0; i < scripts.length && z == null; ++i) {
z = scripts[i].text.match(/video_id": "([^"]+).+, "t": "([^"]+)/);
}
if(z == null) {
alert('Unable to find video source');
return;
}
var videosrc = 'http://youtube.com/get_video?video_id=' + z[1]+ '&t=' + z[2];
var quality = '18'
videosrc += '&fmt=' + quality;
var spanTex = encodeURIComponent(videosrc);
|
You could comment on this script if you were logged in.
