FlashTube

(FlashTube) Replace the current HTML5 Player with Flash.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @namespace	  http://polarityweb.weebly.com/
// @name          FlashTube
// @include       http://*.youtube.com/*.html
// @version       1.0.0
// @description   (FlashTube) Replace the current HTML5 Player with Flash.
// @author        Polarity
// @description   Restore the Flash player on Youtube to improve and fix some playback issues in the HTML5 player. This is a fix for older browsers that have been automatically switched to the HTML5 player automatically and does not have the support for the different Codecs used on Youtube.
//
// FlashTube
//
// Copyright (c) 2015, Polarity
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
// --------------------------------------------------------------------
// Mod By: Polarity
// ==/UserScript==

(function(){
if(location.hostname.match(/^www.youtube.com/i)) {
    var script = document.createElement("script");
    script.type = "text/javascript";
    script.textContent = 'document.createElement("video").constructor.prototype.canPlayType = function(type){return ""}';
    document.documentElement.appendChild(script);
}
})();