===== Audio and video player ==== === Description === This plugin provides simple players for audio and video files. It relies on HTML5 standard elements and does not require Flash or other external browser plugins. The player can be used in a very simple manner (see examples below) and configurated by different parameters. The plugin is licensed under GPL. Author: [[https://www.arvidzimmermann.de|Arvid Zimmermann]] === Download === {{ :res:plugins:arvid:audiovideo1.0.2.zip |}} === Usage examples === * Simple audio player: [audioplayer=attachs/file.mp3] * Audio player with additional options: [audioplayer=attachs/file.mp3 controls="0" autoplay="1" loop="1"] * Simple video player: [videoplayer=attachs/file.mp4] * Video player with additional options: [videoplayer=attachs/file.mp4 controls="0" autoplay="1" loop="1" width="640" height="480" poster="images/posterimage.jpg"] === 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. === HTML+CSS === The player will be displayed as