Keyword

How to use allvideos variables outside the plugin template

More
14 years 5 months ago #37031 by av5
Hello!

I'd like to create a small thumbnail of a video and when clicking on it showing the Allvideos lightbox pop up.

The way I'm doing it now, is Ive created a K2 item with the thumbnail image set in the image tab and a youtube video set in the video tab, calling it with the K2 content module

In the K2 content module, ive created a new template in which i can call the Allvideos video by echo $item->video.

Inside the Allvideos plugin, the link to the lightbox is set on 'Dim Lights' ($output->lightboxLink). How do I get this link inside the K2 content template so that I can apply it to the thumbnail image?

:)

Thank you so much in advance.

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

  • Tailwagger Software
  • Tailwagger Software's Avatar
  • Offline
  • New Member
More
14 years 3 months ago #37032 by Tailwagger Software
Replied by Tailwagger Software on topic Re: How to use allvideos variables outside the plugin template
Did you ever figure this out? I'm trying to place an image on a page and when the visitor clicks on it the AllVideo light box will appear and the video will autostart.

- Will

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


Powered by Kunena Forum