Support » Plugin: WP RSS Multi Importer » Multiple Video Feeds & Lightbox – Bug

  • Resolved Astroyka



    There is a small bug where if you have a category with multiple video feeds which also includes YouTube feed(s) the processing does not reset the $openWindow var back to “colorbox” class. The result is that all subsequent videos (below the first YouTube video) will open in a smaller lightbox overlay.

    I’m using the DEFAULT template to display the feeds and in “default.php” the YouTube check (lines 59 to 68) I’ve added an “else” statement to reset the var:

    if ($targetWindow==0 && strpos($items["mylink"],'')>0) {
        if (preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $items["mylink"], $match)) {
            $video_id = $match[1];
            global $YTmatch;
    } else {

    This fixes this issue, thought I would share so the dev can fix.



Viewing 1 replies (of 1 total)
  • Plugin Author Allen



    Thanks so much for pointing this out…I’ll put this fix in the next update.

    Best wishes,

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple Video Feeds & Lightbox – Bug’ is closed to new replies.