Table of Contents

Flow player user guide

MPlayer module

Media Definitions Files

As flow player may assemble a large set of resource of distinct nature to feed the player, and for ease of maintenability of the plugin, we chose to use one unique moodle file area to store an organized set of assets. When creating a new instance, the media resources filearea is automatically pre-structured with relevant directories where to put things.

You may NOT change the top structure of this directory. Where indicated, you may manage numbered instances of subdirectories, f.e. for adding clips or associated indexed resources.

There are several ways to use the directory structure, depending you need a simple quick setup or a more complex playlist construction. This will be detailed in the following documentation. In the simplest way, you will just add indexed named files in a single directory. To achieve finer constructs, you will create indexed numeric directories to assemble resources that match a single “clip”.

What followes describes the directory expected assets nature:

Media type

The media type strongly impacts where assets are found, and wich are really used in the player:

External URLs

Depending if the media type is local or remote, you will use this text area to provide all remote urls required by a remote setup.

Media resource path template

If you want to setup an explicit playlist using XML format, you need to know how videos are known by the player embedded in Moodle. This static field provides you with the suitable url base depending on the mplayer instance.

Layout

Flowplayer technology offers two main layouts for displaying the playlist :

Size

Adjusts the size of the thumbs in thethumb style playlist.

Starting item

Points the clip to be started first. (@todo complete documentation)

Repeat

Tells what the playlist do when a clip is ended:

Shuffle

Enables or disables a random choice of the clips when playing the playlist.

Subtitle language

You can define here where from the expected language will be choosen:

Force language

If previous setting is on “Treacher choice”, let the teacher choose the subtitle language.

Notes

Some additional textual notes might be displayed below the player when displaying the activity in plain view.

Player Width

This is the player expected width. It can be set as fixed pixels, or relative percent value. Note that environmental contraint may alter the effective player width on screen.

Player Height

This will set the player height. At the moment there no provision to adjust automatically nor proportionnaly the player height. Height must be defined in pixel.

Autostart

Enables or disables autostart at media loading.

full screen

Let the user toggle in full screen or not.

splash mode

In splash mode, the flow player loads a poster image into the graphic area while loading the video.

Volume

The initial volume of the soundtrack when loading the media in the page.

Mute

Mutes the sound completely when media is loaded in the page.

Cues

A cuelist is a set of event descriptors that point a moment in the video media where an event can be triggered. The general format for a cue file is:

 video|timestamp1|url|timestamp2;

Format des fichiers de description (playlist, cues, sous-titres)

Return to component user guide index