vshare plugin by Andreas Gohr
Easily embed videos from various Video Sharing sites like YouTube or Vimeo.
Last updated on 2009-02-17. Provides Syntax.
Compatible with DokuWiki 2009-02-14.
Conflicts with dailymotion, google_video, googlemaps, youtube, youtubev2!
Similar to dailymotion, fabchannel, google_video, youtube, youtubev2.
This plugin allows you to embed flash video players from various video sharing sites. New services can be added by just editing a config file.
Use this download for manual installation or use the link in the plugin manager.
The basic syntax looks like this: {{videosite>videoid?size}}. Where videosite is one of the identifiers listed below, and videoid is the identifier of the video at the respective site. The size parameter is optional. You can either give it in the form widthxheight like 500×300, or use the keywords small, medium or large. The video can be aligned by adding spaces on the left or right inside the curly brackets (like in the image syntax).
Display a YouTube Video:
{{youtube>L-WM8YxwqEU}}
Show a larger player:
{{youtube>L-WM8YxwqEU?large}}
Right-align the player :
{{ youtube>L-WM8YxwqEU}}
Show a small, centered player:
{{ youtube>L-WM8YxwqEU?small }}
| Identifier | Website | Notes |
|---|---|---|
| 12seconds | 12 Seconds | |
| 5min | 5min | |
| bambuser | Bambuser | The video ID is in the embed code, not in the URL |
| bliptv | Blip.TV | You get the correct id when choosing to embed for wordpress.com:![]() |
| blogtv | BlogTV | |
| clipfish | Clipfish | |
| current | Current | |
| dailymotion | Daily Motion | |
| eyespot | Eyespot | |
| fabchannel | Fabchannel | Example IDs: fabchannel.concertoftheday.a, fabchannel.newinarchive.a, artist.polarkreis_18 |
| googlevideo | Google Video | |
| gtrailers | GameTrailers | |
| jumpcut | Jumpcut | |
| justintv | Justin.TV | |
| metacafe | MetaCafe | |
| mogulus | Mogulus | |
| myspacetv | MySpaceTV | |
| rcmovie | RCMovie | |
| revver | Revver | |
| scivee | Scivee.tv | |
| seesmic | Seesmic | |
| sevenload | Sevenload | |
| slideshare | Slideshare | The ID is not in the URL. Choose “more share options” and use the doc parameter from the wordpress embed code: |
| stickam | Stickam | |
| superdeluxe | SuperDeluxe | |
| ustream | Ustream.TV | |
| veoh | Veoh | |
| vimeo | Vimeo | |
| youtube | YouTube |
Additional sites can be added to the sites.conf file in the plugin directory.
This plugins is optimized for sharing video website. It could be interesting to add two aspects to this plugin
The idea is to fallback to video sharing service, if the browser does not handle html5 video tag. Exemple
<video src="myLocalVideo" controls>
<object width="xxx" height="xxx">
<embed src="XXX" type="application/x-shockwave-flash" width="xxx" height="xxx"></embed>
</object>
</video>
It seems there is a problem for flashvar parameters. In the code there is :
list(,$vars) = explode('?',$url,2); // later html_flashobject(..,$data['vars'],$data['vars']);
buthtml_flashobjectis waiting for an array of string and$varsis only a string. I suppose you want to take all parameters (key=value) defined by the user in the url (after the ”?”) in sites.conf and map them with <param> tag. It will be a great idea because some flash players need these parameters.For example to enable full screen support on youtube the user could set the url : http://www.youtube.com/v/@VIDEO@&fs=1?allowFullScreen=true. Julien Noleau 2009/06/11 23:31