Keyword

Video icon on the Slideshow if K2 article has a video

  • iBoogeek.com
  • iBoogeek.com's Avatar Topic Author
  • Offline
  • New Member
More
13 years 10 months ago #41483 by iBoogeek.com
Hi.

In my new website I use k2 for the articles, All Videos for the videos into the articles and "Lof SlideShow Pro" (extensions.joomla.org/extensions/photos-a-images/images-slideshow/14324) for make a Slideshow with featured k2 articles.

The Lof Slideshow only shows the picture and a little bit of text from k2's article.

Now, I need that "Lof SlideShow" shows a icon if the article has a video, and this icon have to be a link to the video.

I write this code:

if(!empty($row->video)):?>
    <div class="lof-video">

<a class="modal" rel="{handler:'iframe',size:{x:900,y:600}}" href="#?>"><img src="images/stories/cam.png" alt="video"/></a> 
   
   
    </div>


My problem is that the value of the variable "$row->video" is {mp4}video{mp4} or <embed>...</embed>, but i need some similar to "media/k2/video.mp4".

If "All videos" is able to show the video in k2 article, how I can use "all videos" to get the link to the video?

Thanks.

Please, excuse my bad english.

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


Powered by Kunena Forum