FlatPress Wiki

Everything you need to know :)

.:: FlatPress Home :: Support forum :: Twitter :: Mastodon ::.

User Tools

Site Tools


res:plugins:audiovideoplayer

Differences

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

Link to this comparison view

Next revision
Previous revision
res:plugins:audiovideoplayer [2019/12/31 22:07]
arvid created
res:plugins:audiovideoplayer [2020/12/19 19:42] (current)
arvid
Line 6: Line 6:
 The plugin is licensed under GPL. The plugin is licensed under GPL.
  
-Author: [[http://arvidzimmermann.de|Arvid Zimmermann]]+Author: [[https://www.arvidzimmermann.de|Arvid Zimmermann]] 
 + 
 +=== Download === 
 +{{ :res:plugins:arvid:audiovideo1.0.zip |}} 
  
 === Usage examples === === Usage examples ===
-  * Simple audio player: [audioplayer="attachs/file.mp3"+  * Simple audio player: <code>[audioplayer="attachs/file.mp3"]</code> 
-  * Simple video player: [videoplayer="attachs/file.mp4"]+  * Audio player with additional options: <code>[audioplayer="attachs/file.mp3" controls="0" autoplay="1" loop="1"]</code> 
 + 
 +  * Simple video player: <code>[videoplayer="attachs/file.mp4"]</code> 
 +  * Video player with additional options: <code>[videoplayer="attachs/file.mp4" controls="0" autoplay="1" loop="1" width="640" height="480" poster="images/posterimage.jpg"]</code> 
 + 
 +=== Parameters === 
 +Each of the following parameters is optional. If not set, the default value will be used. 
 +For boolean parameters, the following values count as "true": //true//, //1//, //yes//, //ja//, //si//. 
 + 
 +== Both audio and video == 
 +  * controls: Show control elements of the player (default is yes) 
 +  * autoplay: Start playing immediately (default is no) 
 +  * loop: Play in endless loop (default is no) 
 + 
 + 
 +== Video only == 
 +  * width: The width of the video's display area (default is the width of the video itself) 
 +  * height: The height of the video's display area (default is the height of the video itself) 
 +  * poster: The poster frame image to show until the user plays or seeks (default is the video's first frame). Must be an uploaded image file.
  
-=== Download and Description === 
-[[https://www.arvidzimmermann.de/index.php?cat=FlatPress-Plugins&page=Audio-%20und%20Videoplayer&i18n=en|Documentation and download at arvidzimmermann.de]] 
  
 +=== HTML+CSS ===
 +The player will be displayed as <audio> / <video> element with the CSS class "audiovideo". See the documentation of these standard HTML5 elements for further details.
 +The given parameters (see above) will be set to the player element accordingly.
  
 +=== Changelog ===
 +== 2020-12-19: Version 1.0.1 ==
 +  * Bugfix: initializePluginTags() has to be public static. 
 +== 2017-08-12: Version 1.0 ==
 +  * Initial plugin version.
res/plugins/audiovideoplayer.1577826453.txt.gz · Last modified: 2019/12/31 22:07 by arvid