External configuration file
External configuration files are very useful when you have many players distributed
across your site and each of them shares a similar configuration. In Flowplayer,
page with the standard
- The configuration can be easily categorized and modularized. You can have sections for common clip properties, different skin configurations, events or plugin settings.
- You can generate different content for different clients.
- The configuration can be packed and or minified to reduce download size.
- The file is usually cached by the browser so it is only loaded the first time user requests it.
you should read about
external configuration for the OBJECT tag.
In the above demo we have an external configuration file with common properties for
clips and a skin configuration. This is a separate file called
Note: For XSS security reasons the configuration file must be located
at the same domain as the core player
The player container in HTML:
$f call refers to the
Note that Flowplayer uses the base url property defined in the external configuration file as the file name prefix.