|
Cookbook /
FlowplayerSummary: Flowplayer recipe
Version: 1.0
Prerequisites: Flash Plugin installed, Flowplayer's swf (included in the file attached)
Status: Beta
Maintainer: Gianpaolo Terranova
PurposeThe purpose of this recipe is to allow the inclusion of the flowplayer flash video player into a pmwiki page. Description
This recipe provides a customizable block to generate the code needed for embedding the flowplayer swf file. InstallationDownload and extract the archive as shown below: pmwiki/
cookbook/
flowplayer.php
flowplayer/
.htaccess
addloadevent.js
flashembed.min.js
FlowPlayerClassic.swf
FlowPlayerDark.swf
FlowPlayerLight.swf
FlowPlayerLP.swf
Then, add the following to local/config.php 'include_once("cookbook/flowplayer.php");' UsageTo reproduce a video on your pages add a the following directive: (:flowplayer <options> :) The script supports all configuration options available to flowplayer, save those related to playlists (soon or later I will implement them, right now I don't need to). Have a look at flowplayer documentation for information on their usage. e.g. (:flowplayer width=400 height=300 src=Dark videoFile=http://www.example.org/path/to/file.flv autoPlay=false :) Demohttp://www.terranovanet.it/Cookbook/Flowplayer Release NotesVersion 1.0: first working version, works well on IE and Firefox See AlsoContributorsComments |