• Resolved cpaugger

    (@cpaugger)


    Hi!

    Can you please explain what you mean by I have to add video to the tag??
    How to do this?

    Video at the end is always broken, white it works perfect when embedded…

    Thx!

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author grandwp

    (@grandwp)

    Dear @cpaugger

    As we could understand from the link you have provided, you have used the video embed link. The plugin works with the main video link. Please, change the link and let us know if it displays properly now.
    Check the screenshot below:
    https://prntscr.com/god48m

    Let us know if you have other questions as well

    Thread Starter cpaugger

    (@cpaugger)

    additionally i put the main video link now in the page, video in lightbox is broken

    Plugin Author grandwp

    (@grandwp)

    Dear @cpaugger,

    Can you, please make sure you have wrapped the video main in the<a>tag in the post/page you have published the video.
    The link needs to be like this:
    <a href="https://www.youtube.com/watch?v=rRm5F7A57Tg"></a>

    Let us know if it works now

    Thread Starter cpaugger

    (@cpaugger)

    no, doestn work either… and i also still have the broken video thumb at the end of each gallery…

    Plugin Author grandwp

    (@grandwp)

    Dear @cpaugger,

    The broken youtube video thumb is visible as the icon in the screenshot is using a <a> tag. The plugin considers it as a lightbox item that is why it is visible.
    Do we understand you correctly that you want to disable it?
    https://prntscr.com/gsb6js

    Looking forward to hearing from you soon

    Thread Starter cpaugger

    (@cpaugger)

    ok… but thats the social media link to the youtube channel… i can not disable this link…
    so what to do??

    Plugin Author grandwp

    (@grandwp)

    With the help of this code you can disable Lightbox only the mentioned icon. (we will include this fix to the upcoming update). This means it will lead to the YouTube account and will not activate Lightbox for it.
    Check the code below:

    Please, find this line in the code (must be the first line);
    resources/assets/js/frontend/grandwplight.js

    jQuery(document).ready(function(){
       var customGalleries = jQuery('.responsive-lightbox-popup'),
           selector = 'a[href$=".gif"][rel!="noopener"], a[href$=".jpg"][rel!="noopener"], a[href$=".png"][rel!="noopener"], a[href$=".bmp"][rel!="noopener"], a[href*="youtube"][rel!="noopener"], a[href*="youtu.be"][rel!="noopener"], a[href*="vimeo.com"][rel!="noopener"]',
           galleryOptions = { selector: selector };

    Let us know if you need any help with it

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Youtube Video’ is closed to new replies.