DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:html5video2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:html5video2 [2021-10-31 11:27] peterfromearthplugin:html5video2 [2023-12-20 12:46] (current) – [Discussion] 195.201.8.23
Line 6: Line 6:
 email      : coder@peterfromearth.de email      : coder@peterfromearth.de
 type       : syntax type       : syntax
-lastupdate : 2021-10-30 +lastupdate : 2022-10-02 
-compatible : Hogfather+compatible : Hogfather, Igor
 depends    :  depends    : 
 conflicts  conflicts 
Line 27: Line 27:
  
 :!: **You have to add mp4 MIME Type to your configuration** see [[plugin:html5video#Installation|htm5video Plugin]] :!: **You have to add mp4 MIME Type to your configuration** see [[plugin:html5video#Installation|htm5video Plugin]]
 +
 +:!: **PHP 8.1**: update to version 2022-10-02 <del>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></del> [[https://github.com/lisps/html5video/issues/8|Issue#8]] thanks to @thalueng
 ===== Syntax ===== ===== Syntax =====
 <code> <code>
Line 73: Line 76:
   * Support playlist   * Support playlist
   * Disabling download ("save audio as...") menu/button   * 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 ===== ===== FAQ =====
Line 92: Line 96:
 Is there a way to autoplay? the original style config for html5video doesn't work here when you add |autoplay - :autoplay - or ?autoplay. 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 [[https://forum.sangham.net/index.php?topic=10600.msg27742#msg27742|causes menu to appear open]]. Fine after disable the plugin in again. (S. Johann)
  
plugin/html5video2.1635676066.txt.gz · Last modified: 2021-10-31 11:27 by peterfromearth

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