Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

Flowplayer

Summary: Flowplayer recipe
Version: 1.0
Prerequisites: Flash Plugin installed, Flowplayer's swf (included in the file attached)
Status: Beta
Categories: Media, Markup

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.

e.g. (:flowplayer width=400 height=300 src=Dark videoFile=http://www.example.org/path/to/file.flv autoPlay=false :)

Demo

http://www.terranovanet.it/Cookbook/Flowplayer

Release Notes

Version 1.0: first working version, works well on IE and Firefox

See Also

Contributors

Gianpaolo Terranova

Comments

Edit - History - Print - Recent Changes - Search
Page last modified on June 10, 2008, at 12:58 PM