Compatible with DokuWiki
Similar to flashplayer, html5video
Flash is not available anymore in browsers.
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
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.
{{htvid>http://path.to/video.mp4|http://path.to/video.ogv|WidthxHeight|loop?autoplay}}
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}}
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