DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:vshare

Video Share Plugin

Compatible with DokuWiki

  • 2013-12-08 "Binky" unknown
  • 2013-05-10 "Weatherwax" yes
  • 2012-10-13 "Adora Belle" yes
  • 2012-01-25 "Angua" yes

plugin Easily embed videos from various Video Sharing sites like YouTube or Vimeo.

Last updated on
2013-04-23
Provides
Syntax
Repository
Source
Conflicts with
dailymotion, google_video, 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.

Download and Install

Please use the the download link at the top for manual installation or use in the plugin manager.

Changes

Usage/Syntax

The basic syntax looks like this: {{videosite>videoid?size|title}}. 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 title is optional as well. 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.

Examples

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 }}

Show a small, centered player with a title:

{{ youtube>L-WM8YxwqEU?small |Some funny video}}

Supported Services

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 The video id is the number after http://vimeo.com/
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.

Issues

Mixed Content Error

All the builtin items in sites.conf are set to use http://*.
This means the plugin does not work when accessing the wiki over https.

This can be fixed by replacing http:// with // in sites.conf.

I have only tested this using the youtube entry.

plugin/vshare.txt · Last modified: 2014/03/31 03:30 by ach