打印

[軟件] Force YouTube playback with Flash [2/8/2017 still work]

Force YouTube playback with Flash [2/8/2017 still work]

https://productforums.google.com ... youtube/CUaTWvKhAuE
Source : YouTube Support

點整就係 要用 Firefox / Palemoon
- Install GreaseMonkey Extension
- Add userscript from link


// ==UserScript==
// @name          uTube Force Flash
// @namespace     YT_flash_force
// @description  Force Flash player embed. Note, that the code might be buggy, and might cause conflicts with Flashblock. Acknowledgements to Alexander Nartov for providing the code, and to Victor Desfe and JAOOTPYKHA for improvements to it. This userscript requires that HTML5 playback be switched off in about:config
// @updateURL https://github.com/juneyourtech/ ... force_Flash.user.js
// @version 0.2.3
// @include       *.youtube.com/watch*
// @grant         GM_addStyle
// ==/UserScript==
// Notes:
//   * is a wildcard character
//   .tld is magic that matches all top-level domains (e.g. .com, .co.uk, .us, etc.)
/* ____80_character_separator________________________________________________ */

/* 28.07.2017: Code to enable Flash Player, with huge thanks to Alexander Nartov
   for the bulk of the code, and Victor Desfe for the showinfo/autoplay line.
   Additional credits: JAOOTPYKHA for fixing height/width issues.
   • Errata: Make sure you have HTML5 switched off for this to work. */

window.setTimeout(function() {
   var embedFrame = document.createElement("iframe");
   embedFrame.src = location.href.replace(/watch\?v=([^&]*).*/, "embed/$1");
   embedFrame.src = embedFrame.src + ("?showinfo=0&autoplay=1");
   embedFrame.style = "width: 100%; height: 100%;";
   var player = document.getElementById("player-api");
   
   // grab the current dimensions of the player
   var wid = player.clientWidth;
   var hei = player.clientHeight;
   
   player.innerHTML = "";
   
   // set the embedded player's dimensions to proper size
   embedFrame.style.height=hei+'px';
   embedFrame.style.width=wid+'px';
   
   player.appendChild(embedFrame);
   unsafeWindow.spf.dispose();
},
3000);
//next to showinfo: &autoplay=1

//29.07.2017: disable static in player area (somewhat resource-intensive)
GM_addStyle("DIV.ytp-error CANVAS.ytp-tv-static {display:none;}");


Source
https://github.com/juneyourtech/ ... force_Flash.user.js

行左就會自動用翻 Flash player 播
D 聲好好多 , 又細食過垃圾 HTML5   
200MB Vs HTML5 600MB+ and screen tearing garbage 重要成日buffering , loop 死係廣告

[ 本帖最後由 dom 於 2017-8-2 02:53 編輯 ]
天然系長髮眼鏡娘 最高
Lucky Star 聯盟 - 美幸
Kancolle - 大淀, 翔鶴 (太太), 烏海 , 瑞鶴

TOP

引用:
原帖由 bebird 於 2-8-2017 09:19 發表

唔係話Flash係垃圾咩?
HTML5 仲垃圾

TOP

引用:
原帖由 kevinyuri 於 2-8-2017 14:02 發表
我用HTML5咁耐都冇事wo
哦!

TOP