View Single Post
  #1 (permalink)  
Old 05-03-2008, 10:47 AM
dev55 dev55 is offline
New Pligger
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Related Videos - VidSnapr instead of WebSnapr Images

Hi!

If you want to show related videos for a site: just replace the websnapr code by:

Code:
<div id = "vs" style="float:right; padding-left:10px;padding-top:35px;"><script type="text/javascript" src="http://www.vidsnapper.com/js1/url.php?width=150&url={$url_short}"></script></div>
I use it in the link_summary.tpl located in the \templates\yget\ folder (or in any other template folder).

Installation guide:

So search for

Code:
<div class="toptitle" id="ls_thetitle-{$link_shakebox_index}">
and put the following after the code searched:

Code:
<div id = "vs" style="float:right; padding-left:10px;padding-top:35px;"><script type="text/javascript" src="http://www.vidsnapper.com/js1/url.php?width=150&url={$url_short}"></script></div>
Nice feature anyway.

By the way: the script scans the page and displays the best matching youtube video.
Reply With Quote
The Following User Says Thank You to dev55 For This Useful Post: