Support » Plugin: WP YouTube Lyte » Disable fullscreen control

  • Hi there,

    I’m using this format of link:


    I’m trying to hide fullscreen controls, and i’ve tried this using
    &allowfullscreen=0 &fs=0, but neither of these have any effect.

    Please can you advise on this – I’m happy for fullscreen option to be disabled entirely if that’s possible.

    Your support is much appreciated



Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Goossens


    currently not possible, but you can add whatever parameter in plugins/wp-youtube-lyte/lyte/lyte-min.js in this line;

    tH.innerHTML='<iframe id="iF_'+vid+'" width="'+tH.clientWidth*2+'" height="'+aHgh+'" src="'+eU+"autoplay="+aP+"&controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&hd="+hidef+qsa+'" frameborder="0" style="'+aSt+'" allowfullscreen></iframe>';

    so you could turn that into;
    tH.innerHTML='<iframe id="iF_'+vid+'" width="'+tH.clientWidth*2+'" height="'+aHgh+'" src="'+eU+"autoplay="+aP+"&fs=0&allowfullscreen=0&controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&hd="+hidef+qsa+'" frameborder="0" style="'+aSt+'" allowfullscreen></iframe>';

    hope this helps,

    Perfect! thank you sir.

    Hi Frank,

    will this be added in the future? For us only the lyte shortcode works and it would be great to be able to do:

    [lyte id=”DGRbSe44Xno” modestbranding=”1″ autohide=”1″ showinfo=”0″ /]

    Plans for this? I now I could edit the js code but it will be gone at the next update so I try to avoid that.


    • This reply was modified 1 year, 6 months ago by  EasyEl.
    Plugin Author Frank Goossens


    Hi elmar;
    maybe try the trick (feature) explained in this thread?

    hope this helps,

    Frank, I tought about it but never actually tried it. Awesome that this works. Great news!


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable fullscreen control’ is closed to new replies.