mod:mplayer:format:cues

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mod:mplayer:format:cues [2017/03/16 16:34]
admin [MPlayer Module]
mod:mplayer:format:cues [2024/04/04 15:50] (current)
Line 1: Line 1:
-===== Cues descriptor file format =====+<​html><​!-- nomoodle --></​html>​{{ :​logo-apl.png?​nolink |}}<​html><​!-- /nomoodle --></​html>​===== Cues descriptor file format =====
 ===== MPlayer Module ===== ===== MPlayer Module =====
  
Line 6: Line 6:
 The MPlayer module parses a Cue descirpion file as a flat text file with one cue information per line as follows. The MPlayer module parses a Cue descirpion file as a flat text file with one cue information per line as follows.
  
-A cue has five information:​+A cue has four information:​
  
-   * **The clip index:** Points a single clip in the play list. 
    * **The cue action timestamp:​** Specifies the time when the event fires calculated from the start of the clip. It is formatted as a hour:​minutes:​seconds expression.    * **The cue action timestamp:​** Specifies the time when the event fires calculated from the start of the clip. It is formatted as a hour:​minutes:​seconds expression.
    * **the action URL:** What URL to open when event fires.    * **the action URL:** What URL to open when event fires.
Line 14: Line 13:
    * **Optionnal:​** This informs the user that processing the required event is expected as a mandatory option or optional. (Experimental. At the moment is informative,​ but may have functional impact such as popup modality). ​    * **Optionnal:​** This informs the user that processing the required event is expected as a mandatory option or optional. (Experimental. At the moment is informative,​ but may have functional impact such as popup modality). ​
  
-==== Exemple de fichier de Cues ====+==== In discussion ​====
  
-   00:12:​00|http://​mon.moodle.com/​mod/​quiz/​view?​id=144|continue|mandatory +Experimentations are investigating in accepting a first additional information that would be:
-   ​00:​24:​00|http://​mon.moodle.com/​mod/​glossary/​view?​id=122|continue|optional+
  
-Le fichier est un fichier simple, encodé en UTF-8 de préférence,​ et proposant une "cue" par ligne.+   * **the clip index:** Points to the clip the cue is defined for.
  
-[[modmediaplayeruseflowplayer|Revenir au guide d'​utilisation]]+In that perspective,​ cues may be provided as a single file for all clips and not as a clip per clip file. 
 + 
 + 
 +==== Cues file sample ==== 
 + 
 +   ​00:​12:​00|http://​my.moodle.com/​mod/​quiz/​view?​id=144|continue|mandatory 
 +   ​00:​24:​00|http://​my.moodle.com/​mod/​glossary/​view?​id=122|continue|optional 
 + 
 +The file should be UTF-8 encoded. 
 + 
 +[[:​mod:​mplayer:​userguide:​flowplayer|Return to the flowplayer user guide]]
mod/mplayer/format/cues.1489678455.txt.gz · Last modified: 2024/04/04 15:50 (external edit)