Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey @cmelero,

    Thanks for posting!

    When pasting the YouTube URL directly, our Video module uses the oEmbed feature which automatically strips out the query strings in the URL. You’ll see the same problem when pasting the YouTube URL directly to the native WP editor.

    I did a quick search online and found the filter below which allows you to change the rendered oEmbed URL. Just add it to your child theme’s functions.php file. Take note you’ll need to replace the handle from oembed_result to embed_oembed_html to make it work. 🙂
    https://gist.github.com/mustardBees/7704269

    If you don’t need the other query strings added you can just remove them from the second parameter like so..
    '?feature=oembed&rel=0'

    Hope this helps, and let us know if we can assist further!

    Ben

    Thread Starter cmelero

    (@cmelero)

    Thanks!

    I’ll try it

    Thread Starter cmelero

    (@cmelero)

    • This reply was modified 5 years, 7 months ago by cmelero.
    • This reply was modified 5 years, 7 months ago by cmelero.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Youtube ?rel=0 ignored’ is closed to new replies.