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 [2022-10-02 07:45] – [Installation] thaluengplugin: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, Igor compatible : Hogfather, Igor
 depends    :  depends    : 
Line 28: Line 28:
 :!: **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**: 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" '):''). +:!: **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>+($h?('height="'.$h.'px" '):'').</code></del> [[https://github.com/lisps/html5video/issues/8|Issue#8]] thanks to @thalueng
 ===== Syntax ===== ===== Syntax =====
 <code> <code>
Line 76: 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 94: Line 95:
  
 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) >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.1664689507.txt.gz · Last modified: 2022-10-02 07:45 by thalueng

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