ILIAS
Release_5_0_x_branch Revision 61816
|
User interface for media player. More...
Public Member Functions | |
__construct ($a_id="", $a_event_callback_url="") | |
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. | |
setDownloadLink ($a_val) | |
Set download link. | |
getDownloadLink () | |
Get download link. | |
getMp3PlayerHtml ($a_preview=false) | |
Get Html for MP3 Player. | |
getPreviewHtml () | |
Get preview html. | |
getMediaPlayerHtml () | |
Get HTML (no preview) for media player integration. |
Protected Attributes | |
$file | |
$displayHeight = "480" | |
$displayWidth = "640" | |
$mimeType | |
$current_nr | |
$title | |
$description | |
$event_callback_url = "" | |
$download_link = "" |
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 = "" , |
|
$a_event_callback_url = "" |
|||
) |
Definition at line 27 of file class.ilMediaPlayerGUI.php.
References $nr.
ilMediaPlayerGUI::getAlternativeVideoFile | ( | ) |
Get alternative video file.
Definition at line 70 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getAlternativeVideoMimeType | ( | ) |
Get alternative video mime type.
Definition at line 90 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getDescription | ( | ) |
Get description.
Definition at line 193 of file class.ilMediaPlayerGUI.php.
References $description.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getDisplayHeight | ( | ) |
return display height of player.
Definition at line 109 of file class.ilMediaPlayerGUI.php.
References $displayHeight.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getDisplayWidth | ( | ) |
Get display width.
Definition at line 128 of file class.ilMediaPlayerGUI.php.
References $displayWidth.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getDownloadLink | ( | ) |
Get download link.
Definition at line 233 of file class.ilMediaPlayerGUI.php.
References $download_link.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getFile | ( | ) |
Get File.
Definition at line 50 of file class.ilMediaPlayerGUI.php.
References $file.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getForceAudioPreview | ( | ) |
Get force audio preview.
Definition at line 213 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getMediaPlayerHtml | ( | ) |
Get HTML (no preview) for media player integration.
Definition at line 512 of file class.ilMediaPlayerGUI.php.
References getMp3PlayerHtml().
ilMediaPlayerGUI::getMp3PlayerHtml | ( | $a_preview = false | ) |
Get Html for MP3 Player.
Definition at line 241 of file class.ilMediaPlayerGUI.php.
References $lng, $mimeType, $tpl, ilGlyphGUI\CLOSE, ilGlyphGUI\get(), getAlternativeVideoFile(), getAlternativeVideoMimeType(), getDescription(), getDisplayHeight(), getDisplayWidth(), getDownloadLink(), getFile(), ilPlayerUtil\getFlashVideoPlayerFilename(), getForceAudioPreview(), ilUtil\getImagePath(), ilObjMediaObject\getMimeType(), getTitle(), getVideoPreviewPic(), ilYuiUtil\initConnection(), and ilPlayerUtil\initMediaElementJs().
Referenced by getMediaPlayerHtml(), and getPreviewHtml().
ilMediaPlayerGUI::getPreviewHtml | ( | ) |
Get preview html.
Definition at line 502 of file class.ilMediaPlayerGUI.php.
References getMp3PlayerHtml().
ilMediaPlayerGUI::getTitle | ( | ) |
Get Title.
Definition at line 173 of file class.ilMediaPlayerGUI.php.
References $title.
Referenced by getMp3PlayerHtml().
ilMediaPlayerGUI::getVideoPreviewPic | ( | ) |
Get video preview picture.
Definition at line 153 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 60 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setAlternativeVideoMimeType | ( | $a_val | ) |
Set alternative video mime type.
string | $a_val | alternative video mime type |
Definition at line 80 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setDescription | ( | $a_val | ) |
Set description.
string | $a_val | description |
Definition at line 183 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setDisplayHeight | ( | $dHeight | ) |
set display height
int | $dHeight |
Definition at line 100 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setDisplayWidth | ( | $a_val | ) |
Set display width.
string | $a_val | display width |
Definition at line 118 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setDownloadLink | ( | $a_val | ) |
Set download link.
string | $a_val | download link |
Definition at line 223 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setFile | ( | $a_file | ) |
Set File.
string | $a_file | File |
Definition at line 40 of file class.ilMediaPlayerGUI.php.
Referenced by ilDataCollectionDatatype\parseHTML(), and ilObjMediaCastGUI\showGallery().
ilMediaPlayerGUI::setForceAudioPreview | ( | $a_val | ) |
Set force audio preview.
boolean | $a_val | force audio preview picture |
Definition at line 203 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setMimeType | ( | $value | ) |
Definition at line 133 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setTitle | ( | $a_val | ) |
Set Title.
string | $a_val | title |
Definition at line 163 of file class.ilMediaPlayerGUI.php.
ilMediaPlayerGUI::setVideoPreviewPic | ( | $a_val, | |
$a_alt = "" |
|||
) |
Set video preview picture.
string | $a_val | video preview picture |
Definition at line 142 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 25 of file class.ilMediaPlayerGUI.php.
Referenced by getDownloadLink().
|
protected |
Definition at line 24 of file class.ilMediaPlayerGUI.php.
|
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().