Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you share a link to your website?

    Thread Starter design@webcorsa

    (@designwebcorsa)

    https://concordia.projectspreview.net/wordpress/

    <a class="fancybox-youtub" href="#"><img alt="welcome" src="#">
    </a>

    You need an “e” on YouTube in your class name:

    <a class="fancybox-youtube" href="#"><img alt="welcome" src="#"></a>

    Thread Starter design@webcorsa

    (@designwebcorsa)

    Hello mpmchugh,
    not working,
    i have put in class=”fancybox-youtube” , i have click to images to redirect in youtube page..

    <a class="fancybox-youtube" href="https://youtu.be/V5ei2rLnXsY"><img alt="welcome" src="img-path"></a>

    I just viewed the source on your page here: https://concordia.projectspreview.net/wordpress/ — and you are still missing the “e” in the class name.

    You just have class=”fancybox-youtub”

    <a target="_blank"  class="fancybox-youtub" href="https://youtu.be/I1VxCY5_C_M?fs=1&autoplay=1"><img alt="welcome" src="https://concordia.projectspreview.net/wordpress/wp-content/uploads/2013/06/ntec-welcome-video1.jpg">
    </a>

    -mpm

    Thread Starter design@webcorsa

    (@designwebcorsa)

    Hello mpmchugh,
    Thanks for the reply,
    i have updated the code.
    same issue

    <a class="fancybox-youtube" href="https://youtu.be/V5ei2rLnXsY"><img alt="welcome" src="https://concordia.projectspreview.net/wordpress/wp-content/uploads/2013/06/ntec-welcome-video1.jpg">
    </a>

    Hi Webcorsa, you need to switch on the Youtube feature under FancyBox on Settings > Media. Be sure the Youtube Short URL auto-detection is on too…

    After that, in theory it should work correctly but I noticed that your theme already includes Prettyphoto (or only the PRettyphoto stylesheet? Why?) which might cause conflict with FancyBox as they are basicly supposed to do similar things.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘fancybox youtub not working’ is closed to new replies.