|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
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... | |
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().
Here is the caller graph for this function:| ilMediaPlayerGUI::getAlternativeVideoMimeType | ( | ) |
Get alternative video mime type.
Definition at line 90 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
Here is the caller graph for this function:| ilMediaPlayerGUI::getDescription | ( | ) |
Get description.
Definition at line 193 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 109 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 128 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 233 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 50 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 213 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 557 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 241 of file class.ilMediaPlayerGUI.php.
References $lng, $mimeType, $tpl, ilGlyphGUI\CLOSE, ilExternalMediaAnalyzer\extractVimeoParameters(), ilExternalMediaAnalyzer\extractYouTubeParameters(), ilGlyphGUI\get(), getAlternativeVideoFile(), getAlternativeVideoMimeType(), getDescription(), getDisplayHeight(), getDisplayWidth(), getDownloadLink(), getFile(), ilPlayerUtil\getFlashVideoPlayerFilename(), getForceAudioPreview(), ilUtil\getImagePath(), ilObjMediaObject\getMimeType(), getTitle(), getVideoPreviewPic(), ilYuiUtil\initConnection(), 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 547 of file class.ilMediaPlayerGUI.php.
References getMp3PlayerHtml().
Here is the call graph for this function:| ilMediaPlayerGUI::getTitle | ( | ) |
Get Title.
Definition at line 173 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 153 of file class.ilMediaPlayerGUI.php.
Referenced by getMp3PlayerHtml().
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 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.
| 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().