• Hi first I want to say thanks! This plugin is great and makes my pages so much smaller to download for my users!

    The issue:

    I have a link like this: https://www.youtube.com/watch?v=CyEVLGRTE40&rel=0&modestbranding=1

    The modestbranding normally removes the “watch on YouTube” link (at the right of the player control bar).
    With YouTube Lyte this query string does not work though. The YouTube link is still displayed.

    Are query string settings added to the URL not passed through to the final video with YouTube Lyte?

    How can I make this work?

    Thanks for this awesome plugin,

    Paul

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

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

    (@futtta)

    there currently only is a limited set of params being passed through Paul. you could edit wp-content/plugins/wp-youtube-lyte/lyte/lyte-min.js and in there find

    &controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3

    and turn that into

    &controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&modestbranding=1

    Warning: this will get overwritten when a new Lyte version is released.

    hope this helps,
    frank

    Thread Starter JanPaul999

    (@janpaul999)

    Hi Frank, thanksthat’s useful to know but TBH I prefer not to edit things that will get overwritten.

    Would it not be better to write a bit of code that will pass through any query string variables to the final video that WP YouTube Lyte serves?

    Plugin Author Frank Goossens

    (@futtta)

    I can confirm there’s something on my “ideas”-list for that, but it’s not in there now, so if you need modestbranding you’ll have to edit anyway, for now I’m afraid.

    frank

    Thread Starter JanPaul999

    (@janpaul999)

    Ok yeah was just asking because I know as a programmer myself it’s such an easy thing to do, or at least I expect it to be.

    But I’m very happy with your plugin already, this is only a small detail and not a big issue.

    Thanks for sharing it with the world.

    Plugin Author Frank Goossens

    (@futtta)

    You’re welcome Paul! As you’re a programmer; if you’re interested, I’m always open for contributions to WP YouTube Lyte 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Great Plugin! 1 issue though…’ is closed to new replies.