Video Widget is my first tiny WordPress plugin. Please, be gentle with me. :)
Shortcuts
- Description
- What’s new
- Todo
- Screenshots
- Supported video formats
- Help/Examples - Get the video ID
- Random video from list
- Installation
Description
This plugin allow to add one or more video in the sidebar. It is based on :
- YouTube widget for the idea,
- Executable PHP widget for the multiple widgets,
- Video Embedder for the HTML code library.
Only video ID is required, no HTML code.
- Requires at least: 2.5
- Tested up to: 2.6.3
What’s new
- 1.2.3 (2008-12-20)
- Youtube Related Videos are now hidden on player mouseover,
- SchoolTube videos support. And Merry Christmas :) .
- 1.2.2 (2008-11-12)
- Some fixes (block panel, html link, flv IE support)
- Mtv Music & Espn support
- Video list alphabetic order
- 1.2.1 (2008-09-23)
- Debug Random video for Http formats : flv, windowsmedia, quicktime.
- 1.2 (2008-07-12)
- Random video from your selected list. Great, i know. ;)
- 1.1.3 (2008-05-05)
- FLV video support.
- 1.1.2 (2008-04-11)
- Taratata video support (”Allez voir les artistes en live. C’est que du bonheur !!”).
- 1.1.1 (2008-04-10)
- Flickr, Clipfish, Viddler, Gametrailers, Snotr support.
- 1.1 (2008-04-08)
- Vimeo support.
- Text to add before and after video.
- 1.0 (2008-03-31)
- First version.
Todo
- Navigation for Multiple Video (Ajax, Slideshow…).
- A Better display for the bloc in Administration Panel.
- Image preview for flv Video.
Screenshots
Supported video formats
The Video Widget plugin support the following formats :
- Youtube
- Dailymotion
- Google Video
- FLV
- Vimeo
- Filckr
- Metacafe
- LiveLeak
- Revver
- iFilm
- MySpace
- Blip.tv
- CollegeHumor
- VideoJug
- GodTube
- Veoh
- Break
- Movieweb
- Jaycut
- Myvideo
- Clipfish
- Viddler
- Gametrailers
- Snotr
- Taratata
- Espn
- Mtv Music
- Quicktime
- Windows media player
- SchoolTube
Help/Examples - Get the video ID
Thanks to Video Embedder for this documentation.
Copy the red part (on your video url) and paste it in your Video Widget Id field.
Youtube help
http://www.youtube.com/watch?v=zORv8wwiad
Dailymotion help
http://www.dailymotion.com/video/xoh8j_monty-python-dead-parrot-sketch_famil
Google Video help
http://video.google.com/videoplay?docid=6063985264803214006
FLV help
http://media1.koreus.com/00064/200804/nicholas-white-41-heures-ascenseur.flv
Vimeo help
http://www.vimeo.com/870172
Flickr help
http://www.flickr.com/photos/jmt/2402193657/
Metacafe help
http://www.metacafe.com/watch/975366/secrets_of_google_earth/
Liveleak help
http://www.liveleak.com/view?i=d62_1594640234
Revver help
http://revver.com/video/527514/
IFILM help
http://www.ifilm.com/video/3521648
Myspace help
http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=56884863
Blip.tv help
http://blip.tv/file/254683
CollegeHumor help
http://www.collegehumor.com/video:3567863
Videojug help
<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/…
swflash.cab#version=7,0,0,0″ width=”400″ height=”345″ align=”middle”><param name=”movie” value=”http://www.videojug.com/film/player?id=3ff6e533-5eaf-4ff8-540e-02334f7ac808” /><embed src (…)
Godtube help
http://www.godtube.com/view_video.php?viewkey=83abb6308b8842ca6f1
Veoh help
http://www.veoh.com/videos/v1683095mYFrF3X
Break help
<object width=”464″ height=”392″><param name=”movie” value=”http://embed.break.com/NDExNjU2“></para…
Movieweb help
http://www.movieweb.com/video/V07L3flnvxMUWY
Jaycut help
http://jaycut.se/mix/2493/preview
Myvideo help
http://www.myvideo.de/watch/3033737
Clipfish help
http://www.clipfish.de/player.php?videoid=OTU2NTk5fDE5NTA1NTM%3D&tl=4717&cat=28
Viddler help
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width=”437″ height=”370″ id=”viddler_chieftwit_12″><param name=”movie” value=”http://www.viddler.com/player/79cb0e9a/” />…</object>
Gametrailers help
http://www.gametrailers.com/player/32607.html
Snotr help
http://www.snotr.com/video/1056
Taratata help
http://video.mytaratata.com/video/iLyROoaft-vg.html
Espn help
http://sports.espn.go.com/broadband/video/videopage?videoId=3696129
Mtv Music help
http://www.mtv.com/videos/pink/266933/so-what.jhtml
Quicktime help
http://www.yoursite.com/path/file.mov
Windows Media Player help
http://www.yoursite.com/path/file.wmv
SchoolTube help
<object width=”450″ height=”375″><param name=”movie” value=”http://www.schooltube.com/v/2f72fb0d2bce4f129760” /><param … </object>
Random video from list
Since the 1.2 version, you can configure a list of video, and display random one. The backoffice field to complete is “ID list (for random display)“.
The semantic to respect :
type:id:textbefore:textafter;
type:id:textbefore:textafter;
…
IMPORTANT: You have to write one colon (:) between video parameters and one semicolon (;) between lines.
The list of video type you can use :
youtube, dailymotion, google, flv, vimeo, flickr, metacafe, liveleak, revver, ifilm, myspace, bliptv, collegehumor, videojug, godtube, veoh, break, movieweb, jaycut, myvideo, clipfish, viddler, gametrailers, snotr, taratata, quicktime, windowsmedia
Exemple1 : 2 videos (Youtube and Dailymotion), no text around the video
youtube:FsrN3qxX2Yw;
dailymotion:x2pjo1
Exemple2 : 2 videos (Youtube and Dailymotion), with text after and before video (not required in fact)
youtube:FsrN3qxX2Yw:textbefore:textafter;
dailymotion:x2pjo1:textbefore:textafter
Exemple3 : with ALL possible formats
- Youtube : youtube:zORv8wwiad
- Dailymotion : dailymotion:xoh8j
- Google Video : google:6063985264803214006
- Flv : flv:http://media1.koreus.com/00064/200804/nicholas-white-41-heures-ascenseur.flv
- Vimeo : vimeo:870172
- Flickr : flickr:2402193657
- Metacafe : metacafe:975366/secrets_of_google_earth
- LiveLeak : liveleak:d62_1594640234
- Revver : revver:527514
- iFilm : ifilm:3521648
- MySpace : myspace:56884863
- Blip.tv : bliptv:254683
- CollegeHumor : collegehumor:3567863
- VideoJug : videojug:3ff6e533-5eaf-4ff8-540e-02334f7ac808
- GodTube : godtube:83abb6308b8842ca6f1
- Veoh : veoh:v1683095mYFrF3X
- Break : break:NDExNjU2
- Movieweb : movieweb:V07L3flnvxMUWY
- Jaycut : jaycut:2493
- Myvideo : myvideo:3033737
- Clipfish : clipfish:OTU2NTk5fDE5NTA1NTM
- Viddler : viddler:79cb0e9a
- Gametrailers : gametrailers:32607
- Snotr : snotr:1056
- Taratata : taratata:iLyROoaft-vg
- Quicktime : quicktime:http://www.yoursite.com/path/file.mov
- Windows media player : windowsmedia:http://www.yoursite.com/path/file.wmv
- SchoolTube : schooltube:2f72fb0d2bce4f129760
Installation
- Download and unzip the Video Widget file,
- Upload the ‘video-widget’ folder to the ‘/wp-content/plugins/’ folder
- In the ‘Plugin’ section, active the plugin,
- Use the plugin, in the ‘Widgets’ section.
Download Video Widget Plugin
Have fun! :)




05 juin 2009 à 15:17
Hi, it is possible to add this plugin on the Page not in the sidebar????? With a php code ???
03 juin 2009 à 15:26
Bonjour et bravo pour ton widget.
Juste une question, comment peut-on faire afficher plusieurs vidéos, voire toute la liste qu’on a indiquée?
Merci pour ta réponse.
03 juin 2009 à 12:21
Just to let you know that your plugin functions fine with the Widget-Logic plugin, which allows a widget to be displayed only if certain conditions are met. On my site, Video-Widget is displayed (in the sidebar) on the front page only, using the “is_home” condition.
03 juin 2009 à 1:27
contact: webmaster@leetstreams.com or webmaster@dailywarhammer.com
Hi there. Amazing plugin and code work.
I am the admin for leetstreams.com and I am working on implementing wordpress into my video script platform.
The site is for Massively Multiplayer gamers who want to watch and share HD movies/videos
Below is my embed code, how might I add this to the random video sort: Any help on this would be greatly appreciated. Please don’t feel obligated if you are uncertain, this is a luxery not a necessity. THANKS!!
width=’315′ height=’265′>
02 juin 2009 à 23:11
Hi! Nice plugin: simple and efficiant.
Quick question: is it possible to set up the plugin to make it catch a RSS feed ? IE a youtube or dailymotion user videos?
Thx.
27 mai 2009 à 20:28
Many thanks for this video widget, it works fine
13 mai 2009 à 21:09
I’d also love to be able to set a poster image to appear when the video loads. Any chance of that?
I’ve tried this and autostart by setting Flash variables, etc. but it doesn’t seem to work.
But a million thanks for a great plugin!
13 mai 2009 à 1:28
I’d like to autostart a .flv file. Can that be done?
01 mai 2009 à 5:04
Thank you so much for this plugin!
I had a problem getting it to validate with a YouTube video, however–it kept showing 5 errors/5 warnings.
The solution is to replace the ampersand in line 61 with the character entity & and now it validates just fine.
Again, thank you for all your hard work!
18 avril 2009 à 9:32
Hi Nikohhk
I’m using WP 2.7.1. Multiple videos doesn’t work;
youtube:abc;
youtubr:xyz
only show abc
Thanks for you support
Max