Is there any way to have the thumbnail show in a particular hook? For example, if I want the thumbs to show up in the pre story content?
Update: I found it in the .init file so I'm good.


![]() |
| | Thread Tools |
Video Plus - Embed Videos from Popular Web Hosts | |||||||||||
|
Developed by Yankidank Developer Last Online: Feb 2012
The latest version of Video Plus will automatically embeds videos from popular video hosting sites onto your website. A thumbnail appears next to articles that submit a supported website. When a user clicks on that thumbnail it pops up an ajax box with an embedded video. The embedded video and thumbnail are automatically inserted into your post by analyzing the url submitted in Submit Step 1. This module makes it SUPER EASY to let your users post videos to your Pligg website. Since users do NOT have to paste in embed code at any point you are making it easier for them, and more secure for your site. If you are interested in adding additional video hosts to this module please read my second post which details how this module works. As mentioned in that post, not all video hosts are going to be compatible with this module. Please consider making a donation if you use this module on your website so that we can continue to provide free modules like this one. Our goal is to raise $500 for this module in a years time. You can use the Chipin widget to the left to make a donation. Keep in mind that we could have kept this module as a Pligg Pro shop item and sold it, but we were hoping that donations would cover the cost of developing this module. Why did I choose Lightview? Quite simply, it was probably the best option for displaying multimedia content in a lightbox. Most of the other choices were either limited in their features or had the same problem with audio not stopping when you closed the ajax box. There were some other choices that all cost a lot more to run them legimately on your site, but I think that $4 USD is a fair price for something that will enhance your site. I suggest you try it out before buying though just to make sure that it does indeed work and doesn't break your site if you are using other javascript on your web page. This includes websites using the Wistie category dropdown menu on IE6 which requires jQuery. If you are interested in trying this version out just grab the Video_Plus + Lightview file attached to this thread. I will not be providing any additional documentation than what is currently provided with the module since it is a commercial script that doesn't support me in any way. I suggest that you check out the documentation provided on the Lightview homepage for help. Please remember though that the original author is not responsible for supporting this Pligg module. Supported Video Hosts:
Installation Instructions:
Lightview Module version 0.2 or above This is included with the Video Plus download. Lightview is needed for the video popup javascript effect. If you want you can use another javascript library to popup the videos, but you will need to remove the requirement line from /modules/video_plus/video_plus_install.php and customize the /modules/video_plus/templates/video_plus_index.tpl file so that it fits your alternate javascript style. Other Notes: If a thumbnail-supported URL is entered into submit step 1, thumbnails should be automatically be displayed in your template. Youtube offers a total of 4 static images that can be used to insert into your template. We have assigned all 4 images as template variables that you can use in your link_summary.tpl or video_plus_index.tpl files. Below are examples of each of the template tags followed by a brief description.
![]() ![]() ---------------------- Examples: You can also take a look at the attached screenshots that demonstrate what an activated video popup looks like and what a story page looks like when a large Youtube thumbnail is displayed. Changelog: Version 1.2
Download Now
Screenshots License Agreement Creative Commons Attribution-Noncommercial-Share Alike LicenseYou are free to Share and Remix this work under the following conditions: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). You may not use this work for commercial purposes. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. Supporters / CoAuthors Show Your Support
|
Similar Downloads | ||||
| Download | Developer | Category | Replies | Last Post |
| Comments |
| |||
|
Is there any way to have the thumbnail show in a particular hook? For example, if I want the thumbs to show up in the pre story content? Update: I found it in the .init file so I'm good. Last edited by alpapa23; 07-26-2009 at 01:09 PM. |
| |||
|
When I click on the thumbnail, nothing pops-up. I remember it was working a few months ago, but now it's not showing the video. It goes to the link: "http://www.myurl.com/xyz/#video_pop" but nothing happens . I just re-installed jquery and video_plus0.9 but still doesn't work.
|
| ||||
| Quote:
|
| |||
| Quote:
Lightview RSS Importer Anonymous Story jQuery Javascript Library Admin Snippets Social Bookmark Upload Sidebar Stories Multibox Admin Admin Modify Language |
| ||||
| Quote:
Try disabling it and see if your videos work. Last edited by chuckroast; 07-26-2009 at 09:53 PM. |
| |||
| Quote:
That's weird though, because on the VideoPlus thread, it says to install Lightview, it's a module it comes with. |
| ||||
| Quote:
Glad you got it worked out. |
| |||
|
Hi, thanks for this usefull module I just have a little problem : When the story is the last published story everything work but when the story is not the last one there is a problem : Firefox 3.5 IE7 Is video plus compatible with pligg 1.0? There is 2 webhost that could be added in a new version : own3D - Entertainment - HD / HQ Gaming Videos and TM-Tube - Your TrackMania Video Portal (and dailymotion but I know that it's not possible...) Thanks for your help |
| |||
|
vimeo problem, not view thumb http://www.frigg.md/video/world-scie...tatonic-scale/ |
| |||
|
I have add www.own3d.tv on my pligg the code : video_plus.php Code: // code to display own3d.tv http://www.own3d.tv/watch/nobody,16992.html
if (preg_match("/http:\/\/www.own3d.tv\/watch\/([0-9a-zA-Z\-\_]*)\,([0-9]*).html/i", $url, $matches)) {
return '<object width="636" height="380">'.
'<param name="movie" value="http://www.own3d.tv/stream/'.$matches[2].'" />'.
'<param name="allowfullscreen" value="true" />'.
'<param name="wmode" value="transparent" />'.
'<embed src="http://www.own3d.tv/stream/'.$matches[2].'" type="application/x-shockwave-flash" allowfullscreen="true" width="636" height="380" wmode="transparent" /></embed>'.
'</object>';
}
// code to display own3d.tv http://www.own3d.tv/watch/16992
if (preg_match("/http:\/\/www.own3d.tv\/watch\/([0-9]*)/i", $url, $matches)) {
return '<object width="636" height="380">'.
'<param name="movie" value="http://www.own3d.tv/stream/'.$matches[1].'" />'.
'<param name="allowfullscreen" value="true" />'.
'<param name="wmode" value="transparent" />'.
'<embed src="http://www.own3d.tv/stream/'.$matches[1].'" type="application/x-shockwave-flash" allowfullscreen="true" width="636" height="380" wmode="transparent" /></embed>'.
'</object>';
} Code: } elseif (preg_match('/\/www.own3d.tv\/watch\/([0-9a-zA-Z\-\_]*)\,([0-9]*)/',$row['link_url'],$m)) {
$vars['smarty']->_vars["video_thumbnail"] = "http://www.own3d.tv/uploads/thumbnails/tn_{$m[2]}__1.jpg";
$vars['smarty']->_vars["video_thumbnail_2"] = "http://www.own3d.tv/uploads/thumbnails/tn_{$m[2]}__2.jpg";
$vars['smarty']->_vars["video_thumbnail_3"] = "http://www.own3d.tv/uploads/thumbnails/tn_{$m[2]}__3.jpg";
} elseif (preg_match('/\/www.own3d.tv\/watch\/([0-9]*)/',$row['link_url'],$m)) {
$vars['smarty']->_vars["video_thumbnail"] = "http://www.own3d.tv/uploads/thumbnails/tn_{$m[1]}__1.jpg";
$vars['smarty']->_vars["video_thumbnail_2"] = "http://www.own3d.tv/uploads/thumbnails/tn_{$m[1]}__2.jpg";
$vars['smarty']->_vars["video_thumbnail_3"] = "http://www.own3d.tv/uploads/thumbnails/tn_{$m[1]}__3.jpg"; Unfortunately for me I'm not able to solve my problem of thumbnails http://forums.pligg.com/pligg-module...html#post83832 Last edited by jeradam; 08-04-2009 at 06:12 PM. |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| iPhone/iPod Touch RSS Reader For Sale | nzbullet | Questions and Comments | 15 | 08-26-2009 10:35 AM |