Keyword

RSS Feed: Show Item Video not working, blank RSS feed.

  • Josh Wigginton
  • Josh Wigginton's Avatar Topic Author
  • Offline
  • New Member
More
14 years 6 days ago #88943 by Josh Wigginton
Hello:I've tried to add the video to the RSS feed and each time that I do, it causes the feed not to load at all. Has anyone confirmed that this feature is working? I can get everything but the Video to work.When I look at a feed that has video, it just loads a blank page.Anybody else got this working?Thanks,Josh

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #88944 by Alex Stavrou
Same problem.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #88945 by shazzmere
Any updates on this?

Its definitely something to do with the code in components/com_k2/models/item.php at line 293.

Anyone able to tackle this?

 







if($params->get('feedItemVideo') && $item->video){

if (!empty($item->video) && JString::substr($item->video, 0, 1) !== '{') {

$item->description.= '<div class="K2FeedVideo">'.$item->video.'</div>';

}

else {

$params->set('vfolder', 'media/k2/videos');

if(JString::strpos($item->video, 'remote}')){

preg_match("#}(.*?){/#s",$item->video, $matches);

if(!JString::strpos($matches[1], 'http://}'))

$item->video = str_replace($matches[1], JURI::root().$matches[1], $item->video);

}

$dispatcher = &JDispatcher::getInstance();

JPluginHelper::importPlugin ('content');

$item->text=$item->video;

$dispatcher->trigger ( 'onPrepareContent', array (&$item, &$params, $limitstart ) );

$item->description.= '<div class="K2FeedVideo">'.$item->text.'</div>';

}

}

 

Please Log in or Create an account to join the conversation.

More
13 years 1 day ago #88946 by vcantante
i need fix this too.

 

how can i do?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum