• Resolved Ben Sibley

    (@bensibley)


    Hello,

    There is a JS conflict with this plugin and my themes due to their use of FitVids. The FitVids jQuery plugin wraps iframes with Youtube/Vimeo videos in a div element when making them responsive. This is conflicting with one of the Jquery selectors in this plugin.

    The JS causing the errors is on lines 150, 153, 184, and 187 in view-content-popup.js. The selector used is as follows:

    '.pupup-element.active .image-block .hg_iframe_class > iframe'

    Because Fitvids wraps the iframe in a div element, the direct descendant selector does not apply, resulting in an error. It can modified like this to prevent the error:

    '.pupup-element.active .image-block .hg_iframe_class iframe'

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thank you Ben, can’t wait for the update. Awesome.

    Dear Ben Sibley and anilvanderzee,

    Thank you for sharing your experience and for your feedback.
    Please, be kindly informed that we have tested the conflict. The conflict occurred because height value was added to the fitvids plugin iframe.
    Which caused the conflict. It will be fixed in the upcoming update.
    As for now, please, make changes this file to fix the issue you have:
    portfolio-gallery\templates\front-end\view\content-popup\content-popup-view.css.php
    https://prntscr.com/fbzmnn

    Please, keep us updated about the results,
    Regards,

    Hi,

    Thank you for your answer. I tried this solution but no luck so far. But I am just a beginner so something might have gone wrong. Probably have to wait for the update. Maybe Ben can confirm it works on his side at least???

    Dear anilvanderzee,

    The update will be available very soon. In the case, if you are in a rush, please, contact us directly via Huge-IT.com, we will be happy to assist you in solving it:
    https://huge-it.com/contact-us/

    Please, include this forum link to your email as well.

    Regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Compatibility update with FitVids’ is closed to new replies.