Warning: Undefined array key "REMOTE_USER" in /var/www/vhosts/web47.base.spaceindex.net/siebenhafen/wiki/lib/plugins/recaptcha2/action.php on line 120
intern:html5video_plugin

html5video Plugin

Examples/Usage

Syntax for this plugin matches (as closely as possible) the default syntax for images in DokuWiki.

Simple syntax:

{{URL|}}

Where URL is any valid web address or a local DokuWiki address (e.g. :namespace:video.webm). If you uploaded your video via the Media Manager, this is the exact syntax used when you insert that file. Any properly encoded webm, ogv, or mp4 file should work. By default, this plugin sets the video size to half 720p (640×360). To enter your own size, use the following syntax:

{{URL|WIDTHxHEIGHT}}

Example:

{{:videos:totally_sweet_tutorial.webm|320x240}}

More detailed Syntax descriptions and additional features are covered in the next section.

Syntax

Syntax:

{{URL|WIDTHxHEIGHT|ATTRIBUTES}}

:!: Note that you can use ATTRIBUTES without specifying a WIDTHxHEIGHT, but if you do so, you must include the additional pipe(|) character (e.g. {{:namespace:myvid.webm||loop,autoplay}}

You can also align your video with the same basic syntax that works on images in DokuWiki. That is, by adding a space before or after the syntax, within the curly braces. A space at the beginning aligns the video to the right (text flows around the left), a space at the end aligns the video to the left (text flows around the right), and a space on both sides centers the video as a block and text starts below it.

Example: