mod:mplayer:formatcues
Table des matières
MediaPlayer Module: Cues File Format
Explanations
“Cues” are events in the video frame, moments in which “something” must happen.
The MediaPlayer supports a simple “Cues” format as a text file in which each line describes a precise event in the video timeline:
A unit event is defined by 4 pieces of information:
- The time marker: It defines the moment relative to the start of the video, expressed in hours:minutes:seconds
- The target url: Defines the url to open when the event is triggered.
- The exit mode: What the video must do when the processing of the event is finished. This exit mode can be “reset” or “continue”.
- Optionality mention: This parameter makes it possible to trigger information for the user about the optional or mandatory nature of the proposed intermediate activity. The message is only informative. This parameter can be “mandatory” or “optional”.
Example of a Cues file
00:12:00|http://mon.moodle.com/mod/quiz/view?id=144|continue|mandatory 00:24:00|http://mon.moodle.com/mod/glossary/view?id=122|continue|optional
The file is a simple file, preferably encoded in UTF-8, and offering one “cue” per line.
Back to the FlowPlayer guide - Back to the user guide index - Back to the component index - Back to the plugins index - Back to the catalogue
mod/mplayer/formatcues.txt · Dernière modification : de 127.0.0.1
