ILIAS
release_4-3 Revision
|
User interface for media player. More...
Public Member Functions | |
__construct ($a_id="") | |
setFile ($a_file) | |
Set File. | |
getFile () | |
Get File. | |
setAlternativeVideoFile ($a_val) | |
Set alternative video file. | |
getAlternativeVideoFile () | |
Get alternative video file. | |
setAlternativeVideoMimeType ($a_val) | |
Set alternative video mime type. | |
getAlternativeVideoMimeType () | |
Get alternative video mime type. | |
setDisplayHeight ($dHeight) | |
set display height | |
getDisplayHeight () | |
return display height of player. | |
setDisplayWidth ($a_val) | |
Set display width. | |
getDisplayWidth () | |
Get display width. | |
setMimeType ($value) | |
setVideoPreviewPic ($a_val, $a_alt="") | |
Set video preview picture. | |
getVideoPreviewPic () | |
Get video preview picture. | |
setTitle ($a_val) | |
Set Title. | |
getTitle () | |
Get Title. | |
setDescription ($a_val) | |
Set description. | |
getDescription () | |
Get description. | |
setForceAudioPreview ($a_val) | |
Set force audio preview. | |
getForceAudioPreview () | |
Get force audio preview. | |
getMp3PlayerHtml ($a_preview=false) | |
Get Html for MP3 Player. | |
getPreviewHtml () | |
Get preview html. |
Protected Attributes | |
$file | |
$displayHeight = "480" | |
$displayWidth = "640" | |
$mimeType | |
$current_nr | |
$title | |
$description |
Static Protected Attributes | |
static | $nr = 1 |
static | $lightbox_initialized = false |
User interface for media player.
Wraps flash mp3 player and similar tools.
Definition at line 13 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::__construct | ( | $a_id = "" | ) |
Definition at line 25 of file class.ilMediaPlayerGUI.php.
References $nr.
ilMediaPlayerGUI::getAlternativeVideoFile | ( | ) |
Get alternative video file.
Definition at line 67 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getAlternativeVideoMimeType | ( | ) |
Get alternative video mime type.
Definition at line 87 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getDescription | ( | ) |
Get description.
Definition at line 190 of file class.ilMediaPlayerGUI.php.
References $description.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getDisplayHeight | ( | ) |
return display height of player.
Definition at line 106 of file class.ilMediaPlayerGUI.php.
References $displayHeight.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getDisplayWidth | ( | ) |
Get display width.
Definition at line 125 of file class.ilMediaPlayerGUI.php.
References $displayWidth.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getFile | ( | ) |
Get File.
Definition at line 47 of file class.ilMediaPlayerGUI.php.
References $file.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getForceAudioPreview | ( | ) |
Get force audio preview.
Definition at line 210 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getMp3PlayerHtml | ( | $a_preview = false | ) |
Get Html for MP3 Player.
Definition at line 218 of file class.ilMediaPlayerGUI.php.
References $mimeType, $tpl, getAlternativeVideoFile(), getAlternativeVideoMimeType(), getDescription(), getDisplayHeight(), getDisplayWidth(), getFile(), ilPlayerUtil\getFlashVideoPlayerFilename(), getForceAudioPreview(), ilUtil\getImagePath(), ilObjMediaObject\getMimeType(), getTitle(), getVideoPreviewPic(), and ilPlayerUtil\initMediaElementJs().
Referenced by getPreviewHtml().
ilMediaPlayerGUI::getPreviewHtml | ( | ) |
Get preview html.
@return |
Definition at line 437 of file class.ilMediaPlayerGUI.php.
References getMp3PlayerHtml().
ilMediaPlayerGUI::getTitle | ( | ) |
Get Title.
Definition at line 170 of file class.ilMediaPlayerGUI.php.
References $title.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getVideoPreviewPic | ( | ) |
Get video preview picture.
Definition at line 150 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::setAlternativeVideoFile | ( | $a_val | ) |
Set alternative video file.
string | $a_val | alternative video file |
Definition at line 57 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setAlternativeVideoMimeType | ( | $a_val | ) |
Set alternative video mime type.
string | $a_val | alternative video mime type |
Definition at line 77 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setDescription | ( | $a_val | ) |
Set description.
string | $a_val | description |
Definition at line 180 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setDisplayHeight | ( | $dHeight | ) |
set display height
int | $dHeight |
Definition at line 97 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setDisplayWidth | ( | $a_val | ) |
Set display width.
string | $a_val | display width |
Definition at line 115 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setFile | ( | $a_file | ) |
Set File.
string | $a_file | File |
Definition at line 37 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setForceAudioPreview | ( | $a_val | ) |
Set force audio preview.
boolean | $a_val | force audio preview picture |
Definition at line 200 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setMimeType | ( | $value | ) |
Definition at line 130 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setTitle | ( | $a_val | ) |
Set Title.
string | $a_val | title |
Definition at line 160 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setVideoPreviewPic | ( | $a_val, | |
$a_alt = "" |
|||
) |
Set video preview picture.
string | $a_val | video preview picture |
Definition at line 139 of file class.ilMediaPlayerGUI.php.
|
protected |
Definition at line 21 of file class.ilMediaPlayerGUI.php.
|
protected |
Definition at line 23 of file class.ilMediaPlayerGUI.php.
Referenced by getDescription().
|
protected |
Definition at line 16 of file class.ilMediaPlayerGUI.php.
Referenced by getDisplayHeight().
|
protected |
Definition at line 17 of file class.ilMediaPlayerGUI.php.
Referenced by getDisplayWidth().
|
protected |
Definition at line 15 of file class.ilMediaPlayerGUI.php.
Referenced by getFile().
|
staticprotected |
Definition at line 20 of file class.ilMediaPlayerGUI.php.
|
protected |
Definition at line 18 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
|
staticprotected |
Definition at line 19 of file class.ilMediaPlayerGUI.php.
Referenced by __construct().
|
protected |
Definition at line 22 of file class.ilMediaPlayerGUI.php.
Referenced by getTitle().