media/MediaContent

Source: MediaContent.js:32

File : media/MediaContent.js
Created : 13/04/2015
By : Francesc Busquets francesc@gmail.com

JClic.js
An HTML5 player of JClic activities
https://projectestac.github.io/jclic.js

  • License: EUPL-1.2

Other

MediaContent

This object contains a description of any multimedia content (sound, video, MIDI, voice
recording..) or special actions (jump to another point in the sequence, link to an URL, etc.)
associated to an ActiveBox object.

Parameters

  • type (string) — The type of media. Valid values are: UNKNOWN, PLAY_AUDIO, PLAY_VIDEO,
    PLAY_MIDI, PLAY_CDAUDIO, RECORD_AUDIO, PLAY_RECORDED_AUDIO, RUN_CLIC_ACTIVITY,
    RUN_CLIC_PACKAGE, RUN_EXTERNAL, URL, EXIT and RETURN
  • file (string, optional) — Optional parameter indicating the media file name

ICONS: object

Default icons for media types.