Skip to main content
Up and Coming
June 5, 2014
Question

Greasemonkey script to enable the full window youtube button

I finally got fed up with not being able to click the fullscreen button on embedded Youtube vids on this forum so I wrote a tiny little Greasemonkey script to re-enable it. Since userscripts.org is dead I'll just copy paste the whopping two lines of code here for those who want it.


// ==UserScript==
// @name OculusDevForums - Enable fullscreen youtube
// @namespace oculus
// @include https://developer.oculusvr.com/forums/viewtopic.php*
// @require http://code.jquery.com/jquery-1.9.0.min.js
// @version 1
// @grant none
// ==/UserScript==

$("object[data^='https://www.youtube']").each(function (){
$(this).append("<param name='allowFullScreen' value='true'>");
})

    1 reply

    Inspiring
    June 5, 2014
    Ha! Let me see if I can get the YouTube plugin updated.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV