ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
User interface for media player. More...
Public Member Functions | |
__construct ($a_id="", $a_event_callback_url="") | |
setFile ($a_file) | |
Set File. More... | |
getFile () | |
Get File. More... | |
setAlternativeVideoFile ($a_val) | |
Set alternative video file. More... | |
getAlternativeVideoFile () | |
Get alternative video file. More... | |
setAlternativeVideoMimeType ($a_val) | |
Set alternative video mime type. More... | |
getAlternativeVideoMimeType () | |
Get alternative video mime type. More... | |
setDisplayHeight ($dHeight) | |
set display height More... | |
getDisplayHeight () | |
return display height of player. More... | |
setDisplayWidth ($a_val) | |
Set display width. More... | |
getDisplayWidth () | |
Get display width. More... | |
setMimeType ($value) | |
setVideoPreviewPic ($a_val, $a_alt="") | |
Set video preview picture. More... | |
getVideoPreviewPic () | |
Get video preview picture. More... | |
setTitle ($a_val) | |
Set Title. More... | |
getTitle () | |
Get Title. More... | |
setDescription ($a_val) | |
Set description. More... | |
getDescription () | |
Get description. More... | |
setForceAudioPreview ($a_val) | |
Set force audio preview. More... | |
getForceAudioPreview () | |
Get force audio preview. More... | |
setDownloadLink ($a_val) | |
Set download link. More... | |
getDownloadLink () | |
Get download link. More... | |
getMp3PlayerHtml ($a_preview=false) | |
Get Html for MP3 Player. More... | |
getPreviewHtml () | |
Get preview html. More... | |
getMediaPlayerHtml () | |
Get HTML (no preview) for media player integration. More... | |
Static Public Member Functions | |
static | initJavascript ($a_tpl=null) |
Init Javascript. More... | |
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.
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 579 of file class.ilMediaPlayerGUI.php.
References getMp3PlayerHtml().
ilMediaPlayerGUI::getMp3PlayerHtml | ( | $a_preview = false | ) |
Get Html for MP3 Player.
Definition at line 264 of file class.ilMediaPlayerGUI.php.
References $html, $lng, $mimeType, $r, $tpl, array, ilGlyphGUI\CLOSE, ilExternalMediaAnalyzer\extractVimeoParameters(), ilExternalMediaAnalyzer\extractYouTubeParameters(), ilGlyphGUI\get(), getAlternativeVideoFile(), getAlternativeVideoMimeType(), getDescription(), getDisplayHeight(), getDisplayWidth(), getDownloadLink(), getFile(), ilPlayerUtil\getFlashVideoPlayerFilename(), getForceAudioPreview(), ilUtil\getImagePath(), ilObjMediaObject\getMimeType(), getTitle(), getVideoPreviewPic(), ilPlayerUtil\initMediaElementJs(), ilExternalMediaAnalyzer\isVimeo(), and ilExternalMediaAnalyzer\isYouTube().
Referenced by getMediaPlayerHtml(), and getPreviewHtml().
ilMediaPlayerGUI::getPreviewHtml | ( | ) |
Get preview html.
Definition at line 569 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().
|
static |
Init Javascript.
null | $a_tpl |
Definition at line 242 of file class.ilMediaPlayerGUI.php.
References $tpl, ilYuiUtil\initConnection(), and ilPlayerUtil\initMediaElementJs().
Referenced by ilNewsTimelineGUI\show().
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.
References file.
Referenced by ilDclMobRecordRepresentation\getHTML(), and ilNewsTimelineItemGUI\render().
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 | ) |
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.
|
protected |
Definition at line 22 of file class.ilMediaPlayerGUI.php.
Referenced by getTitle().