• Resolved Nedudgi

    (@nedudgi)


    My idea is this: I would like to show a thumbnail of a youtube video, and if the user clicks on it, the Fancybox zooms it up and show the video in a fancybox way.
    But:
    If I use a standard URL, the Fancybox don’t show up, the video plays on page.
    If I use a link with text URL only, the Fancybox capture it, and works fine, but the text is NOT thumbnail.
    If I use link with IMG link to youtube, nothing appears. Not even a link.
    I’m new in this. The solution may be easy, I’m desperate to find it.

    https://www.ads-software.com/extend/plugins/easy-fancybox/

Viewing 4 replies - 1 through 4 (of 4 total)
  • If I use link with IMG link to youtube, nothing appears. Not even a link.

    That surprises me. It should work that way. What is the code you tried there?

    Thread Starter Nedudgi

    (@nedudgi)

    I treied these:
    <img src=”https://www.youtube.com/watch?v=cRdxXPV9GNQ&#8221; alt=”” />
    and
    <img src=”https://www.youtube.com/v/cRdxXPV9GNQ&#8221; alt=”” />
    Perhaps this is not the way how to do it. But linkink youtube is new for me.
    I use Weaver with “Theme my login” and “Contact form 7”.

    Thread Starter Nedudgi

    (@nedudgi)

    The link translated.
    The html inside was:
    class=”fancybox-youtube” href=”https://www.youtube.com/watch?v=cRdxXPV9GNQ&#8221;

    Hi Nedudgi, sorry about the delay but finally my response:

    You seem to be confusing LINK and IMAGE. A link code to your YouTube movie page would look like:

    <a href="https://www.youtube.com/v/cRdxXPV9GNQ">Watch my movie</a>

    This kind of link will (with the auto-detect setting ON) be translated by Easy FancyBox automatically to open in a lightbox overlay.

    If you want to use a thumbnail image, you will need to create that image yourself (or download one of the thumbnail images that YouTube creates during import) and upload it to your site. Then insert that thumbnail into your post and replace the Full link URL to the image (in the WP media insertion dialog) with the URL the the YouTube page. The resulting code will look something like:

    <a href="https://www.youtube.com/v/cRdxXPV9GNQ"><img src="https://url.to/your_thumbnail.jpg" /></a>

    Hope that’s clear ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Easy FancyBox] Youtube thumbnail & Easy Fancybox’ is closed to new replies.