HTML and CSS Reference
In-Depth Information
And finally, you need to install the player in the target element:
<script type=”text/javascript”>
flowplayer(“player”, “path/to/the/flowplayer-3.2.2.swf”);
Instead of using the <object> tag or using a <div> for as the container for the player,
Flowplayer recommends using the <a> tag. The player will play the video referenced
in the href attribute of the <a> tag. Here's the full example page, which is shown in
Figure 12.14:
<!DOCTYPE html>
<script type=”text/javascript” src=”flowplayer-3.2.2.min.js”></script>
<a href=””
style=”display:block; width:520px; height:330px”
<script type=”text/javascript”>
flowplayer(“player”, “flowplayer-3.2.2.swf”);
FIGURE 12.14
A video played
using Flowplayer.
There are a number of customization options for Flowplayer. The easiest way to change
them is to use Flowplayer's Setup application, available at
You can also configure Flowplayer yourself using JavaScript. There's a full list of config-
uration options on the Flowplayer website at
Search WWH ::

Custom Search