Flowplayer

Summary: Flowplayer recipe
Version: 2015-08-12
Prerequisites: Flash Plugin installed, Flowplayer's swf (included in the file attached)
Status: Beta
Maintainer: ? (original author: Gianpaolo Terranova)
Categories: Media, Markup
License: GNU GPL
Discussion: Flowplayer-Talk

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

  • 2015-08-12: Patched for PHP 5.5 compatibility, and updated Flowplayer swf files, contributed by Jean-Pierre Chrétien.
  • Version 1.0: first working version, works well on IE and Firefox

See Also

Contributors

Comments

See discussion at Flowplayer-Talk

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.