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

    (@futtta)

    Hmm, if I’m not very much mistaking this was in WP YouTube Lyte once, but apparently I nixed it by accident or for reasons I don’t remember. I’ll look into this for the next version (1.2.0 if all goes well).

    In the mean time you could open up wp-content/plugins/wp-youtube-lyte/lyte/lyte-min.js, search for

    &wmode=opaque&rel=0&egm=0&iv_load_policy=3
    in there and change that into
    &wmode=opaque&rel=0&egm=0&fs=1&iv_load_policy=3

    frank

    Thread Starter busheikin

    (@busheikin)

    It’s there, but it disappears when the video is clicked.

    Plugin Author Frank Goossens

    (@futtta)

    the “lyte player” you see is a placeholder for the real youtube video player which is only loaded when clicked. so it’s there, but it isn’t really ??

    Thread Starter busheikin

    (@busheikin)

    I see. So there is no way to ensure the fullscreen button is on the real player using this plugin?

    Plugin Author Frank Goossens

    (@futtta)

    there is, using the small code change from my initial comment. the same change should also be present in the next version.

    Thread Starter busheikin

    (@busheikin)

    Thanks futtta. I have indeed made that change.
    Still, The full screen button does appear on the placeholder; The full screen button does not appear on the real player.

    Edit: here’s an example post

    Plugin Author Frank Goossens

    (@futtta)

    thanks for the link, i’ll investigate tomorrow!

    Plugin Author Frank Goossens

    (@futtta)

    it took me some time, but just checked out your link and if i’m not mistaking, you identified & fixed the problem by replacing “fs=1” with “allowfullscreen=1”?

    Plugin Author Frank Goossens

    (@futtta)

    Just looked at youtube embed code as available for most youtubes; apperantly “allowfullscreen” is now added as an attribute of the iframe, like this;

    <iframe width="420" height="315" src="https://www.youtube.com/embed/WeVxE3B49E0?rel=0" frameborder="0" allowfullscreen></iframe>

    I’ll add this small change in wp-youtube-lyte.php for the upcoming version (not sure if I’ll create a 1.1.9 with a couple of smaller fixes like this one, or if I should just work on 1.2.0 instead which will be a more thorough change but which may take me some more time).

    Plugin Author Frank Goossens

    (@futtta)

    I just released version 1.1.9 which adds the “allowfullscreen” attribute. Let me know how that works for you!

    Thread Starter busheikin

    (@busheikin)

    I still don’t see a fullscreen button on the YT player, though it is indeed working on the placeholder.
    Thanks for all your work on this so far!

    Plugin Author Frank Goossens

    (@futtta)

    weird. what browser are you using?

    Thread Starter busheikin

    (@busheikin)

    Aha – good point. Works in Safari, not in Firefox…

    Plugin Author Frank Goossens

    (@futtta)

    weird still; i’m on firefox as well and it does work for me.

    what OS are you using, what version of Firefox are you on and do you have flash in FF?

    Thread Starter busheikin

    (@busheikin)

    Firefox 16.0.1
    OSX 10.7.4
    Flash vers 11.4.402.265 but I am going to run an update now

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: WP YouTube Lyte] Enable fullscreen button automatically?’ is closed to new replies.