Video Plus - Embed Videos from Popular Web Hosts

Register an Account
Reply
 
Thread Tools
Video Plus - Embed Videos from Popular Web Hosts
Developed by Yankidank Yankidank is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page
Designed for: Pligg 1.0.1
License: Creative Commons Attribution-Noncommercial-Share
Released: 04-03-2009
Last Update: 07-26-2009
Installs: 348
Supported by Author
Uses Module System
Template Edits Not Required
Can Reuse Source Code
Includes Files to Upload
Translations Accepted
Uses Third Party Websites
Download Certified
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:
  1. blip.tv
  2. cnn.com
  3. colbertnation.com
  4. collegehumor.com
  5. comedycentral.com
  6. funnyordie.com
  7. guba.com (temporarily not working)
  8. icefilms.info
  9. keezmovies.com
  10. liveleak.com
  11. livevideo.com
  12. magavideo.com
  13. metacafe.com
  14. own3d.tv
  15. redtube.com
  16. reuters.com
  17. revver.com
  18. spike.com
  19. stagevu.com
  20. thedailyshow.com
  21. thenewsroom.com
  22. vbox7.com
  23. vids.myspace.com
  24. video.google.com
  25. vimeo.com
  26. veoh.com
  27. youare.tv
  28. youtube.com

Installation Instructions:
  1. Download the .zip attachment
  2. Unzip it to your computer.
  3. Upload the /modules folder into your Pligg root. This will add 2 Pligg modules to your site, Lightview and Video Plus.
  4. Navigate to Admin > Modules and install the Lightview module
  5. After installing Lightview install the Video Plus module.
  6. From now on when someone submits a url in submit step 1 from a website that this module supports, it will automatically add an image that users can click on that will pop up an embedded video.
  7. Mark as Installed to receive an email or private message when an update is released.
Requirements:

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.
  1. <img src="{$video_thumbnail_large}" /> produces the one and only large 320x240 pixel thumbnail
  2. <img src="{$video_thumbnail}" /> produces the first 120x90 pixel thumbnail
  3. <img src="{$video_thumbnail_2}" /> produces the second 120x90 pixel thumbnail
  4. <img src="{$video_thumbnail_3}" /> produces the third 120x90 pixel thumbnail
Example thumbnails from a Youtube video in the same order as shown above:





----------------------

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
  • Added Funnyordie.com.
  • Removed an extra double-quote ( " ) in the template file.
  • The module will now use Lightview instead of jQuery. It seems to be a more popular solution, but please remember to donate to the Lightview author.
Version 1.1
  • Added Redtube.com and Keezmovies.com, including screenshot thumbnails.
Version1.0
  • Added own3d.tv, including screenshot thumbnails.
Version 0.9
  • CNN and Reuters updates. Both services have slightly changed URLs. The video thumbnail will also now only apply to CNN and Reuters video pages, not their normal articles that don't contain any videos.
Version 0.8
  • Youtube now autoplays. Added IceFilms.
Version 0.7
  • Added video thumbnails for Metacafe and Vimeo. Each site that offers thumbnails handles it in a different way so they don't match the Youtube 3 thumbnail option.
Version 0.6
  • Added CNN.com, CBSnews.com and JumpCut.com
Version 0.5 (updated jQuery module too)
  • Added Reuters.com, TheNewsRoom.com, ColbertNation.com, ComedyCentral.com and TheDailyShow.com.
  • Updated version number
  • Added homepage and update url to install script. Please reinstall module to see changes on module admin page.

Download Now

File Type: zip video_plus_1.1.zip (125.8 KB, 2719 views)
File Type: zip Video_Plus + Lightview 1.2.zip (60.3 KB, 3463 views)

Screenshots

File Type: png video_plus.png (58.6 KB, 1825 views)
File Type: png video_plus_single.png (81.8 KB, 1424 views)

License Agreement

Creative Commons Attribution-Noncommercial-Share Alike License
You 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

  • If you like this download support the author by donating.
  • This download may not be copied, reproduced or published elsewhere without author's permission.

Similar Downloads
Download Developer Category Replies Last Post

Comments
  #142 (permalink)  
Old 08-29-2009, 07:35 AM
Constant Pligger
 
Join Date: Feb 2007
Posts: 226
Quote:
Originally Posted by rethomas07 View Post
I disabled sidebar_stats and that fixed it, however I recently installed the featurify module and the JS breaks the video_plus code. I know a lot of people have had issues with the JS in featurify mod. you say there is an alternative way to code the JS for video plus. Can you elaborate on that a little further?
How about trying to modify Featurify to use Jquery?
http://club.cmstheme.com/forum/showpost.php?p=2373&postcount=18
Reply With Quote
  #143 (permalink)  
Old 08-29-2009, 04:50 PM
New Pligger
 
Join Date: Sep 2008
Posts: 21
I have it working like a charm, but can't seem to get my RSS importer to put a thumbnail of the video automatically when I import the feeds. Any thoughts?
Reply With Quote
  #144 (permalink)  
Old 08-29-2009, 08:47 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Is the RSS importer linking directly to the sites in a format that is accepted by the module? I think that I've set up an official Youtube rss feed in the past and it seemed to work fine.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #145 (permalink)  
Old 08-29-2009, 09:25 PM
New Pligger
 
Join Date: Sep 2008
Posts: 21
Quote:
Originally Posted by Yankidank View Post
Is the RSS importer linking directly to the sites in a format that is accepted by the module? I think that I've set up an official Youtube rss feed in the past and it seemed to work fine.
It is linked directly to an YouTube file.........
Reply With Quote
  #146 (permalink)  
Old 08-30-2009, 07:33 AM
chat2fanna's Avatar
Casual Pligger
Pligg Version: 1.2.0
Pligg Template: Arthemia
 
Join Date: Jun 2008
Location: Hell
Posts: 52
Quote:
if (preg_match("/http:\/\/otherdomain.com\/([0-9a-zA-Z-_-]*)(.*)/i", $url, $matches)) {
return '<object type="application/x-shockwave-flash" height="'.$embed_height.'" width="'.$embed_width.'" wmode="transparent" data="flvplayer.swf?file=http://otherdomain.com/'.$matches[1].'&autoStart=false">'.
'<param name="movie" value="http://www.longtailvideo.com/support/jw-player-setup-wizard/player.swf?file=http://otherdomain.com/'.$matches[1].' location**&autoStart=false"/>'.
'<param name="wmode" value="transparent" />'.
'</object>';
}
i have tried this with flv files ... failed to play..
i edited video_plus.php as you demonstrated earlier
then i posted like http://website.com/player/video.flv
Reply With Quote
  #147 (permalink)  
Old 08-30-2009, 04:56 PM
rethomas07's Avatar
Casual Pligger
Pligg Version: RC2
Pligg Template: Tacticnews
 
Join Date: Apr 2009
Location: MN
Posts: 83
@Andtony
Have you done this successfully? I would love to download the modified featurify module from cms themes but you have to be a member to download it...
Reply With Quote
  #148 (permalink)  
Old 08-31-2009, 04:13 AM
Constant Pligger
 
Join Date: Feb 2007
Posts: 226
Quote:
Originally Posted by rethomas07 View Post
@Andtony
Have you done this successfully? I would love to download the modified featurify module from cms themes but you have to be a member to download it...
Not yet but I'm going to try it. I'll report back.

edit: 15 minutes later

It worked like a charm. No problems at all. Just followed the steps provided by cmsthemes and done. I deleted the Jquery line from Featurify template because I'm using Jquery module.

Last edited by Andtony; 08-31-2009 at 04:26 AM.
Reply With Quote
  #149 (permalink)  
Old 09-01-2009, 11:54 AM
Donor
 
Join Date: Aug 2007
Posts: 18
installed but i dnt see anything popping out
Reply With Quote
  #150 (permalink)  
Old 09-01-2009, 05:58 PM
New Pligger
Pligg Version: 1.0.1
 
Join Date: Sep 2009
Posts: 1
Quote:
Originally Posted by Yankidank View Post
Updating it again today. I have 3 new sites supported:
  • cbsnews.com
  • cnn.com
  • jumpcut.com
-------------------------------------
What about adding sites like collegehumor.com, funnyordie.com, and break.com?
Reply With Quote
  #151 (permalink)  
Old 09-01-2009, 06:55 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Websites need to use specific formats in their URLs and embed code in order for them to be added to this module. The module uses patterns from the URL to figure out the embed code, which a lot of video sharing site's don't use.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
Reply

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


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development