Support » Plugin: WP YouTube Lyte » Remove linking elements

  • Hi!

    Is it possible to adjust the youtube-videos displayed with Lyte to the Youtube-videos displayed with the native Video-Shortcode by WordPress ( https://codex.wordpress.org/Video_Shortcode )? I don’t necessarily mean the look, but more the elements that are shown and that are hidden. If I use the Video-Shortcode the user stays on my page, because there are no links to youtube in that player ( https://i.imgur.com/TMK4I5Y.png ). If I use Lyte, there are plenty of ways the user could get to youtube. So when using Lyte,…

    – I would like to hide the Youtube-Logo in the regular window and in fullscreen.
    – Then I would like to hide the title, again in both regular and full screen.
    – And I would like to hide share-arrow-icon.
    – And if possible, I would like to set a custom preview image like I can do with the WordPress-Video-Shortcode. Like this: [video src="https://www.youtube.com/watch?v=8Y6AO4woa0Q" poster="https://example.com/test/wp-content/uploads/2018/07/Aloha.jpg"]

    Is all that possible with your plugin and my limited developing skills?;) I looked the whole support forum through, but just can’t get it done myself.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    LYTE does not offer those features out of the box I’m afraid, but most of those (but not all) _can_ be done with some small changes to the code and/ or hooking into AO’s API. but you’ll probalby need a bit more then limited developing skills I’m afraid 🙂

    but most of those (but not all) _can_ be done with some small changes to the code and/ or hooking into AO’s API

    Good to know, thanks!

    but you’ll probalby need a bit more then limited developing skills I’m afraid

    Could you give me a hint in which direction I should aim?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    most of those can be done using parameters that are now hardcoded in lyte(-min).js, cfr. https://github.com/futtta/wp-youtube-lyte/blob/master/lyte/lyte.js#L91 🙂

    first do it in lyte.min and if OK apply the same to lyte-min.js.

    Okay, that seems too complex for me :D…but thank you anyway! Maybe someday in the future someone has the same problem and can figure it out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove linking elements’ is closed to new replies.