If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

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

    I consulted the website kriesi referred me to (http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/) to see if playing videos other than video and youtube in the slider were possible. It is, it just requires adding ‘add rel=”prettyPhoto[iframes]’ to the link.

    I see in kclass_display_slideshow.php the following:

    //check if its a video link

    else if(kriesi_is_file($imageLink, “videoService”)) { $addClass = “rel=’lightbox[slider]'”; }

    Simply changing that line doesn’t help because apparently the link I’m putting in there isn’t recognized as a “videoService”.



    Where is the video being hosted from? You can add this domain to the array of videoService domains so the class will be applied automatically.

    Open up /framework/helper_functions/lots_of_small_helpers.php and find this code:

    case 'videoService':
    $haystack = array('youtube.com/','vimeo.com/');

    If the video server was http://myvideoserver.com you should change the code to:

    case 'videoService':
    $haystack = array('youtube.com/','vimeo.com/','myvideoserver.com/');


    perfect. thanks!



    Glad I could help. Let me know if there’s any other questions you have.

    Best regards,


Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to add rel="prettyPhoto[iframes] to slideshow links?’ is closed to new replies.