Table of Contents

htvid Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" no

plugin HTML5 video with flash fallback

Last updated on
2013-04-05
Provides
Syntax
Repository
Source

Similar to flashplayer, html5video

Tagged with flash, html5, mp4, ogv, video

Flash is not available anymore in browsers.

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Adopt Me!

This plugin will accept two video urls (one mp4 and one ogv) and writes html video tags, with a flash fallback into your Dokuwiki page. The JWPlayer Flash player uses the mp4 file to play out, so you do not have to encode to flv. Has been tested with: IE v8,9,10 - Firefox latest, Chrome Latest, Safari latest, iPad and various Android devices without issue.

This plugin was a “one-off” solution used in our company in-house dokuwiki. It is based off of the HTML5 Video Plugin by Jason van Gumster, and uses JWPlayer 5.8 from the FlashPlayer plugin by Arno Welzel. At least 95% of the credit goes to them.

Examples/Usage

{{htvid>http://path.to/video.mp4|http://path.to/video.ogv|WidthxHeight|loop?autoplay}}

Syntax

Syntax is simple enough.

{{htvid>http://path.to/video.mp4|http://path.to/video.ogv|WidthxHeight|loop,autoplay}}

You can set alignment by using spaces, just like other Dokuwiki media links. However, the first space should be between the greater than sign (“>”) and the first url.

Inline:

{{htvid>http:/path.to/video.mp4|http://path.to/video.ogv}}

Left Aligned:

{{htvid>http:/path.to/video.mp4|http://path.to/video.ogv }}

Center Aligned:

{{htvid> http:/path.to/video.mp4|http://path.to/video.ogv }}

Right Aligned:

{{htvid> http:/path.to/video.mp4|http://path.to/video.ogv}}

Change Log

Known Bugs and Issues

As stated above, you must list full urls to video files, as JWPlayer does not seem to like the “..fetch.php?media=” links that the “ml()” function returns. Not a big deal in my use case, so I didn't worry about it too much.

Also, since JWPlayer uses the mp4 file to play, you must list the mp4 url first, then the ogv video as the second parameter

ToDo/Wish List