Astuce via Sebsauvage, qui fait appel à HTML5. Un petit applisignet JS dans Firefox.
Ne concerne que les vidéos que Youtube fournit en ogv ou mp4 / WebM
Lien direct :
http://tontof.net/?1349367149 .
Code :
(function () {
if (window.location.href.indexOf('youtube') !== -1 &&
window.location.href.indexOf('html5') === -1) {
window.location.assign(window.location.href.replace('&v=', '&html5=1&v=')
.replace('?v=', '?html5=1&v='));
} else {
var videos = document.getElementsByTagName('video');
if (videos.length > 0) {
window.location.assign(videos[0].src);
} else {
window.alert('No video found !');
}
}
}());