Support » Plugin: Responsive Lightbox » Video lightbox doesn’t work on https?

Viewing 1 replies (of 1 total)
  • Thread Starter gstricklind

    (@gstricklind)

    Here’s the fix for you to add to your next update of the plugin:
    nivo-lightbox.js @ line 192 (remove “http:” from each http://

    else if(video){
                    var src = '',
                        classTerm = 'nivo-lightbox-video';
    
                    if(video[1] == 'youtube'){
                        src = '//www.youtube.com/embed/'+ video[4];
                        classTerm = 'nivo-lightbox-youtube';
                    }
                    if(video[1] == 'youtu'){
                        src = '//www.youtube.com/embed/'+ video[3];
                        classTerm = 'nivo-lightbox-youtube';
                    }
                    if(video[1] == 'vimeo'){
                        src = '//player.vimeo.com/video/'+ video[3];
                        classTerm = 'nivo-lightbox-vimeo';
                    }

    😉

    • This reply was modified 4 years, 6 months ago by gstricklind.
Viewing 1 replies (of 1 total)
  • The topic ‘Video lightbox doesn’t work on https?’ is closed to new replies.