• Resolved Nico Marcuz

    (@nick7766)


    Hi There!

    We install the plugin WP YouTube Lyte and activate it but we had absolute no clue how to modified already existing iframe YouTube videos like:

    <div class="iframe-container"><iframe src="https://www.youtube-nocookie.com/embed/LKTQMjoeqS4" width="690" height="388" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>

    example page::
    [ redundant link removed ]

    thnx for helping & best regards from Germany

    Nico

    • This topic was modified 5 years, 6 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    hey Nico; do you have the option “Also act on normal YouTube links and iframes?” on? because in that case it _should_ work.

    kind regards from sunny Belgium ??
    frank

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, so how did you add the video in the post Nico?

    Thread Starter Nico Marcuz

    (@nick7766)

    Frank, these videos already exist before we install today your plugin. we insert these videos (the iframe snippets) by hand in the wordpress editor 2 years ago.

    • This reply was modified 6 years, 1 month ago by Nico Marcuz.
    • This reply was modified 6 years, 1 month ago by Nico Marcuz.
    Thread Starter Nico Marcuz

    (@nick7766)

    if you can tell us what we have to do it is no problem for us to modified these iframe-snippets in the editor by hand

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    So not a shortcode or something similar? And if you “edit post” and you go to “text” do you see the exact same HTML you posted earlier Nick?

    Thread Starter Nico Marcuz

    (@nick7766)

    Frank I think it looks like the same snippet which I postet before…

    <div class=”iframe-container”><iframe src=”https://www.youtube-nocookie.com/embed/LKTQMjoeqS4&#8243; width=”690″ height=”388″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe></div>

    Thread Starter Nico Marcuz

    (@nick7766)

    no shortcode

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    just tested by copy/ pasting that exact HTML in a new post and LYTE does pick it up …

    so can you edit such a post and double-check the HTML in the text-view?

    Thread Starter Nico Marcuz

    (@nick7766)

    sorry Frank don’t know what to do. don’t undersand “so can you edit such a post and double-check the HTML in the text-view”.

    means this edit the post a bit in the text-view and save it?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    What I mean is for one post that has such a video go to “edit post” and then click on “text” (instead of the default “visual”) and in the HTML look for the code that is in there for the video.

    Thread Starter Nico Marcuz

    (@nick7766)

    Yes I go to the text editor (not the default “visual”) and there I copy this snippet

    <div class=”iframe-container”><iframe src=”https://www.youtube-nocookie.com/embed/LKTQMjoeqS4″ width=”690″ height=”388″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe></div>

    it does not change. its the same as before

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    In that case I’m afraid I don’t know why it wouldn’t work Nick (it did work with the exact same code for me), so we’ll need to try something else. Can you replace that entire block with httpv://youtu.be/LKTQMjoeqS4 ?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, that look OK, no? ??

    Thread Starter Nico Marcuz

    (@nick7766)

    yeah, I think it looks really great. Frank did this mean – and that’s no problem for us – that we have to insert the “string” always by hand?

    • This reply was modified 6 years, 1 month ago by Nico Marcuz.
    • This reply was modified 6 years, 1 month ago by Nico Marcuz.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no idea why as it _should_ work and as it works for me without having to replace, but afraid so, yes.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘WP YouTube Lyte & iframe YouTube Videos’ is closed to new replies.