It's better when it's simple

User Tools

Site Tools


html5video2 Plugin

Compatible with DokuWiki

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

plugin playing mp4 video with html5 and flash-fallback using video.js

Last updated on

Similar to html5video

Tagged with flash, html, video, videojs


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

:!: You have to add mp4 MIME Type to your configuration see htm5video Plugin

:!: PHP 8.1: update to version 2022-10-02 You need to put parantheses around the expressions on line 190 and line 191 in file plugins/html5video/syntax/video.php to make it work in PHP 8.1. New code will read like this:<code>($w?('width=“' .$w.'px” '):). ($h?('height=“'.$h.'px” '):).</code> Issue#8 thanks to @thalueng


{{video.mp4|}}    block 
{{video.mp4 |}}   left
{{ video.mp4 |}}  center
{{ video.mp4|}}   right

{{video.mp4?200x50|}} [widht]x[height]

{{video.mp4?400x&:wiki:dokuwiki-128.png|}} preview image

{{video.mp4?400x&:wiki:dokuwiki-128.png|video}} alternate text

Configuration and Settings

description default
html5VideoType have to be video/mp4
videoPlayerIDText videoPlayerID
VideoPreload preload video none
GlobalVideoPreviewPicture imagelink
fallBackVideoTechnologie flash
preferedVideoTechnologie html5
showThumbOnPrint show image on print 0
showStandardTextOnPrint show standard alternate text on print 0


Parts borrowed from the videogg plugin written by Ludovic Kiefer and from the html5video plugin written by Jason van Gumster (Fweeb) jason [at] monsterjavaguns [dot] com which is based on Christophe Benz' Dailymotion plugin, which, in turn, is based on Ikuo Obataya's Youtube plugin.

Change Log

  • 2013-10-30
    • Initial release

Known Bugs and Issues

ToDo/Wish List

  • Support playlist
  • Disabling download (“save audio as…”) menu/button
  • If you have a lot of videos on a page, they should only be downloaded after you click play, otherwise the page will take a long time to load.



Installed this on my new dokuwiki, using layout 20cones. Immediately broke everything,

A fatal error occured during compilation of the CSS files. If you recently installed a new plugin or template »it might be broken and you should try disabling it again. [parse error: failed at ´weight:´ in /lib/plugins/html5video/print.css at line 64]“

Can't even get back to setup.

there was an error in print.css - can you try the masterbranchlisps

Is there a way to autoplay? the original style config for html5video doesn't work here when you add |autoplay - :autoplay - or ?autoplay.

+1 on this! Autoplay?

Seems like it causes menu to appear open. Fine after disable the plugin in again. (S. Johann)
plugin/html5video2.txt · Last modified: 2023-12-20 12:46 by

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki