Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #203067

    Hello,

    I need to use Advanced Responsive Video Embedder for my videos as it is compatible with the SEO Video Plugin and the built in one is not.

    http://wordpress.org/plugins/advanced-responsive-video-embedder/

    It works really well accept when I want to use “thumb” mode which does a LightBox effect. It doesn’t work. The problem is that it uses ColorBox for this effect and there is an incompatibility with PrettyPhoto. Here is a Page that shows the problem.
    http://www.geistinteractive.com/colorbox-test/

    Here is the js error that occurs
    [Error] TypeError: ‘null’ is not an object (evaluating ‘n[3]’)
    (anonymous function) (jquery.prettyPhoto.js, line 7)
    complete (jquery-1.9.0.min.js, line 3)
    f (jquery-1.9.0.min.js, line 1)
    fireWith (jquery-1.9.0.min.js, line 1)
    u (jquery-1.9.0.min.js, line 1)
    tick (jquery-1.9.0.min.js, line 3)

    Is there any way that we can get prettyPhoto and colorBox to co-exist?

    Thanks

    Todd

    #203229

    Hey toddgeist!

    You can disable the prettyPhoto plugin entirely. Edit js > avia.js file, find this code on line 54:

    //activates the prettyphoto lightbox
            $(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});

    Replace it with:

    //activates the prettyphoto lightbox
            //$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});

    You can also refer to Dude’s response here. He is using FancyBox instead of the prettyPhoto lightbox plugin.

    Best regards,
    Ismael

    #203330

    Sorry, can you include the link to Dude’s response? Can’t find it

    Thank
    you!

    #203359
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘ColorBox Incompatibility’ is closed to new replies.