|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
User interface for media player. More...
Collaboration diagram for ilMediaPlayerGUI: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 | |
| $tpl | |
| $lng | |
| $file | |
| $displayHeight = "" | |
| $displayWidth = "" | |
| $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 11 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::__construct | ( | $a_id = "", |
|
$a_event_callback_url = "" |
|||
| ) |
Definition at line 35 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::getAlternativeVideoFile | ( | ) |
Get alternative video file.
Definition at line 78 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::getAlternativeVideoMimeType | ( | ) |
Get alternative video mime type.
Definition at line 96 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::getDescription | ( | ) |
Get description.
Definition at line 192 of file class.ilMediaPlayerGUI.php.
References $description.
Referenced by getMp3PlayerHtml().
Here is the caller graph for this function:| ilMediaPlayerGUI::getDisplayHeight | ( | ) |
return display height of player.
Definition at line 114 of file class.ilMediaPlayerGUI.php.
References $displayHeight.
Referenced by getMp3PlayerHtml().
Here is the caller graph for this function:| ilMediaPlayerGUI::getDisplayWidth | ( | ) |
Get display width.
Definition at line 132 of file class.ilMediaPlayerGUI.php.
References $displayWidth.
Referenced by getMp3PlayerHtml().
Here is the caller graph for this function:| ilMediaPlayerGUI::getDownloadLink | ( | ) |
Get download link.
Definition at line 228 of file class.ilMediaPlayerGUI.php.
References $download_link.
Referenced by getMp3PlayerHtml().
Here is the caller graph for this function:| ilMediaPlayerGUI::getFile | ( | ) |
Get File.
Definition at line 60 of file class.ilMediaPlayerGUI.php.
References $file.
Referenced by getMp3PlayerHtml().
Here is the caller graph for this function:| ilMediaPlayerGUI::getForceAudioPreview | ( | ) |
Get force audio preview.
Definition at line 210 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
Here is the caller graph for this function:| ilMediaPlayerGUI::getMediaPlayerHtml | ( | ) |
Get HTML (no preview) for media player integration.
Definition at line 533 of file class.ilMediaPlayerGUI.php.
References getMp3PlayerHtml().
Here is the call graph for this function:| ilMediaPlayerGUI::getMp3PlayerHtml | ( | $a_preview = false | ) |
Get Html for MP3 Player.
Definition at line 259 of file class.ilMediaPlayerGUI.php.
References $lng, $mimeType, $tpl, ilGlyphGUI\CLOSE, ilExternalMediaAnalyzer\extractVimeoParameters(), ilExternalMediaAnalyzer\extractYouTubeParameters(), ilGlyphGUI\get(), getDescription(), getDisplayHeight(), getDisplayWidth(), getDownloadLink(), getFile(), getForceAudioPreview(), ilUtil\getImagePath(), ilObjMediaObject\getMimeType(), getTitle(), getVideoPreviewPic(), initJavascript(), ilPlayerUtil\initMediaElementJs(), ilExternalMediaAnalyzer\isVimeo(), and ilExternalMediaAnalyzer\isYouTube().
Referenced by getMediaPlayerHtml(), and getPreviewHtml().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaPlayerGUI::getPreviewHtml | ( | ) |
Get preview html.
Definition at line 524 of file class.ilMediaPlayerGUI.php.
References getMp3PlayerHtml().
Here is the call graph for this function:| ilMediaPlayerGUI::getTitle | ( | ) |
Get Title.
Definition at line 174 of file class.ilMediaPlayerGUI.php.
References $title.
Referenced by getMp3PlayerHtml().
Here is the caller graph for this function:| ilMediaPlayerGUI::getVideoPreviewPic | ( | ) |
Get video preview picture.
Definition at line 156 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
Here is the caller graph for this function:
|
static |
Init Javascript.
| null | $a_tpl |
Definition at line 237 of file class.ilMediaPlayerGUI.php.
References $DIC, $tpl, ilYuiUtil\initConnection(), and ilPlayerUtil\initMediaElementJs().
Referenced by getMp3PlayerHtml(), and ilNewsTimelineGUI\show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMediaPlayerGUI::setAlternativeVideoFile | ( | $a_val | ) |
Set alternative video file.
| string | $a_val | alternative video file |
Definition at line 69 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::setAlternativeVideoMimeType | ( | $a_val | ) |
Set alternative video mime type.
| string | $a_val | alternative video mime type |
Definition at line 87 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 105 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::setDisplayWidth | ( | $a_val | ) |
Set display width.
| string | $a_val | display width |
Definition at line 123 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::setDownloadLink | ( | $a_val | ) |
Set download link.
| string | $a_val | download link |
Definition at line 219 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::setFile | ( | $a_file | ) |
Set File.
| string | $a_file | File |
Definition at line 51 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::setForceAudioPreview | ( | $a_val | ) |
Set force audio preview.
| boolean | $a_val | force audio preview picture |
Definition at line 201 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::setMimeType | ( | $value | ) |
Definition at line 137 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::setTitle | ( | $a_val | ) |
Set Title.
| string | $a_val | title |
Definition at line 165 of file class.ilMediaPlayerGUI.php.
| ilMediaPlayerGUI::setVideoPreviewPic | ( | $a_val, | |
$a_alt = "" |
|||
| ) |
Set video preview picture.
| string | $a_val | video preview picture |
Definition at line 146 of file class.ilMediaPlayerGUI.php.
|
protected |
Definition at line 29 of file class.ilMediaPlayerGUI.php.
|
protected |
Definition at line 31 of file class.ilMediaPlayerGUI.php.
Referenced by getDescription().
|
protected |
Definition at line 24 of file class.ilMediaPlayerGUI.php.
Referenced by getDisplayHeight().
|
protected |
Definition at line 25 of file class.ilMediaPlayerGUI.php.
Referenced by getDisplayWidth().
|
protected |
Definition at line 33 of file class.ilMediaPlayerGUI.php.
Referenced by getDownloadLink().
|
protected |
Definition at line 32 of file class.ilMediaPlayerGUI.php.
|
protected |
Definition at line 23 of file class.ilMediaPlayerGUI.php.
Referenced by getFile().
|
staticprotected |
Definition at line 28 of file class.ilMediaPlayerGUI.php.
|
protected |
Definition at line 21 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
|
protected |
Definition at line 26 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
|
staticprotected |
Definition at line 27 of file class.ilMediaPlayerGUI.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilMediaPlayerGUI.php.
Referenced by getTitle().
|
protected |
Definition at line 16 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml(), and initJavascript().