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
  #102 (permalink)  
Old 06-18-2009, 01:12 AM
New Pligger
Pligg Version: 1.0.0
 
Join Date: Jan 2009
Posts: 14
more digging seems to imply that fancybox, the jquery plugin used to generate the lightboxes, is incompatible with IE8. Even that problem seems less to do with fancybox but an error with jquery's browser detection that has fits trying to recognize what kind of browser support it needs to have since IE8 is unrecognized (?):

fancybox not support IE8 browser - fancybox | Google Groups
Reply With Quote
  #103 (permalink)  
Old 07-06-2009, 03:18 PM
Constant Pligger
Pligg Version: 1.0.1
Pligg Template: thestandard
 
Join Date: Jun 2009
Posts: 125
Send a message via Yahoo to prorock
help me please to create embed video for this 2 site (example video):

PHP Code:
http://play.md/video/36203402-0f2e-4a8c-9d6f-a10a2e8cd85a

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="400" height="347" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="http://play.md/Embed/Objects/playmd3fileplayer.swf" /><param name="quality" value="high" /><param name="FlashVars" value="showname=false&corners=squared&showcomments=false&videoid=36203402-0f2e-4a8c-9d6f-a10a2e8cd85a&lang=ru" />    <embed src="http://play.md/embed/Objects/playmd3fileplayer.swf" quality="high" width="400" height="347" align="middle"flashvars="showname=false&corners=squared&showcomments=false&videoid=36203402-0f2e-4a8c-9d6f-a10a2e8cd85a&lang=ru" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> </object>



http://clip.md/ro/michael-jackson-heal-the-world-41948.html


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="480" height="360" title="tehPlayah"><param name="movie" value="http://clip.md/playah.swf" /><param name="quality" value="high" /><param name="allowFullScreen" value="true" /><param name="FlashVars" value="xurl=http://clip.md/ro/videos/41948-e2c07534.xml&panelxml=http://clip.md/ro/videos/playlist-23979.xml&autoplay=false&isembeded=true&volume=0.5&changevolumeurl=http://clip.md/ro/videos/changevolume" /><embed src="http://clip.md/playah.swf" FlashVars="xurl=http://clip.md/ro/videos/41948-e2c07534.xml&panelxml=http://clip.md/ro/videos/playlist-23979.xml&autoplay=false&isembeded=true&volume=0.5&changevolumeurl=http://clip.md/ro/videos/changevolume" allowFullScreen="true" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="480" height="360"></embed></object
Reply With Quote
  #104 (permalink)  
Old 07-06-2009, 03:43 PM
New Pligger
Pligg Version: 1.0
 
Join Date: Jun 2009
Posts: 2
A reason the player would quit working, everything was fine no the player does not pop up?

EliteXC Ken Shamrock Vs Robert Berry | Mixed Martial Arts News and Fight Videos
Reply With Quote
  #105 (permalink)  
Old 07-06-2009, 04:19 PM
Constant Pligger
 
Join Date: Jan 2009
Posts: 223
It works fine when I test it. Maybe you should try to restart your browser.
Reply With Quote
  #106 (permalink)  
Old 07-06-2009, 06:12 PM
Constant Pligger
Pligg Version: 1.0.1
Pligg Template: thestandard
 
Join Date: Jun 2009
Posts: 125
Send a message via Yahoo to prorock
any help me?
Reply With Quote
  #107 (permalink)  
Old 07-07-2009, 07:00 AM
oobie11's Avatar
Constant Pligger
Pligg Version: 1.0
Pligg Template: Custom, wistie
 
Join Date: Apr 2009
Location: Monterey, CA
Posts: 148
I've been using the lightbox version, and now Have added an element that uses jquery in my header. Now the video plus is not working, I've since tried using the original jquery video plus, but it is not working. Any Ideas?
Reply With Quote
  #108 (permalink)  
Old 07-12-2009, 07:01 PM
New Pligger
 
Join Date: Jul 2009
Location: California
Posts: 3
Very nice feature!
Reply With Quote
  #109 (permalink)  
Old 07-25-2009, 11:47 PM
s010's Avatar
Casual Pligger
Pligg Version: 1.0.0
Pligg Template: Custom
 
Join Date: Jul 2009
Posts: 45
Hello Yankidank,

I installed the module and it works fine, but one thing is weird - when someone submits any article, for example, from cnn or reuters the module inserts a media thumb although no media is being linked. Have you had that issue?

fwisp - Discover and Share Business, Economy, Finance News, Articles and Videos
Reply With Quote
  #110 (permalink)  
Old 07-26-2009, 04:33 AM
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
Quote:
Originally Posted by s010 View Post
Hello Yankidank,

I installed the module and it works fine, but one thing is weird - when someone submits any article, for example, from cnn or reuters the module inserts a media thumb although no media is being linked. Have you had that issue?
I just updated the module to fix CNN and Reuters articles. It now checks the domain path to make sure that the article submitted is a video from Reuters or CNN, so it won't show the thumbnail for regular articles from that domain. Update also fixes the URL structure for both Reuters and CNN. They must have recently changed the URL format.

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

Last edited by Yankidank; 07-26-2009 at 05:14 AM.
Reply With Quote
  #111 (permalink)  
Old 07-26-2009, 10:26 AM
s010's Avatar
Casual Pligger
Pligg Version: 1.0.0
Pligg Template: Custom
 
Join Date: Jul 2009
Posts: 45
Great, I will re-upload and see what happens

Ok re-installed but still the same. I downloaded the zip file here, removed the old ones, deleted from the server, re-uploaded and re-installed. Still comes the same way

fwisp - Discover and Share Business, Economy, Finance News, Articles and Videos
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