vshare plugin by Andreas Gohr
Easily embed videos from various Video Sharing sites like YouTube or Vimeo.
Last updated on 2010-01-17. Provides Syntax.
Compatible with DokuWiki 2009-12-25.
Conflicts with dailymotion, google_video, 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. This is not for displaying local video files.
Please use the the download link at the top for manual installation or use 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).
A toolbar button pops up a prompt where you can simply paste the full URL to the page of the video you want to embed. The plugin will then try to figure out the video ID by itself.
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 | |
| break | Break | The ID is in the embed code: |
| clipfish | Clipfish | |
| current | Current | |
| dailymotion | Daily Motion | |
| googlevideo | Google Video | |
| gtrailers | GameTrailers | |
| justintv | Justin.TV | |
| metacafe | MetaCafe | |
| myspacetv | MySpaceTV | |
| rcmovie | RCMovie | |
| revver | Revver | |
| scivee | Scivee.tv | |
| 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 | |
| ustream | Ustream.TV | |
| veoh | Veoh | |
| viddler | Viddler | Use the wordpress.com embed code: |
| vimeo | Vimeo | |
| youtube | YouTube |
Additional sites can be added to the sites.conf file in the plugin directory. Video ID recognition patterns for the toolbar button are configured in sites.js.
Is it possible to link to private videos? YouTube has an option to publish videos only to a certain group.
What about the possibility to make comments to the video at the bottom of the window? Thanks, Ljosxa.