Table of Contents
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
Similar to html5video
Installation
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 Issue#8 thanks to @thalueng
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>
Syntax
{{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 |
|
standardAlternateTextPrint | HIER WURDE EIN VIDEO EINGEFUEGT |
|
showThumbOnPrint | show image on print | 0 |
showStandardTextOnPrint | show standard alternate text on print | 0 |
Development
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.
FAQ
Discussion
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 masterbranch — lisps
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)