Purpose
The 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.
Installation
Download 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");'
Usage
To 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.
Example
(:flowplayer width=400 height=300 src=Dark videoFile=http://www.terranovanet.it/data/video/montesilvano2007/intro600.flv autoPlay=false :) |
Release Notes
Version 1.0: first working version, works well on IE and Firefox