• Hi there,

    I’m using this format of link:

    httpv://www.youtube.com/watch?v=_SQkWbRublY?showinfo=0

    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

    Thanks

    Luke

    https://wordpress.org/plugins/wp-youtube-lyte/

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

    (@futtta)

    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,
    frank

    Thread Starter vunterhh

    (@vunterhh)

    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.

    Best,
    Elmar

    • This reply was modified 7 years, 5 months ago by EasyEl.
    Plugin Author Frank Goossens

    (@futtta)

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

    hope this helps,
    frank

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

    Best,
    El

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