مرحبا بك في هذا المنتدى !

يبدو أنك جديد هنا. إذا كنت تريد أن تتورط، انقر فوق أحد هذه الأزرار!

Fullscreen is unavailible on youtube

About: Bypass YouTube age verification
https://www.youtube.com/results?search_query=deadpool+reband+trailer

Fullscreen is unavailible on youtube then click on the first video. The trailer can't go into fullscreen for some reason. Config is latest Firefox plus your script.

Thanks for the script.

التعليقات

  • The trailer can't go into fullscreen for some reason. Config is latest Firefox plus your script. UK Holidays 2017 Calendar
  • Yes,when this script enabled,videos will not play fullscreen ->

    if(window.document.getElementById("watch7-player-age-gate-content")) { var videoid = window.location.search.substr(window.location.search.indexOf("v=") + 2); if(videoid.indexOf("&") > -1) { videoid = videoid.substr(0, videoid.indexOf("&")); } videoid = decodeURIComponent(videoid); window.document.getElementById("player-api").remove(); var playerparent = window.document.getElementById("player-unavailable"); var playerframe = window.document.createElement("iframe"); playerframe.setAttribute("src", "//www.youtube.com/embed/" + videoid + "?autoplay=1&showinfo=0"); playerframe.setAttribute("id", "player-frame"); playerframe.setAttribute("style", "position:absolute; z-index:99999; width:100%; height:100%;"); playerparent.appendChild(playerframe); }

    P.S. How fix it?

    and Thanks for the script :smile:
  • to add full screen just change

    playerframe.setAttribute("style", "position:absolute; z-index:99999; width:100%; height:100%;");
    playerparent.appendChild(playerframe);

    to

    playerframe.setAttribute("style", "position:absolute; z-index:99999; width:100%; height:100%;");
    playerframe.setAttribute("allowfullscreen", "true");
    playerparent.appendChild(playerframe);