Interface for Video elements.
More...
Interface for Video elements.
- Author
- Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de
Definition at line 29 of file Video.php.
◆ getPoster()
ILIAS\UI\Component\Player\Video::getPoster |
( |
| ) |
|
◆ getSubtitleFiles()
ILIAS\UI\Component\Player\Video::getSubtitleFiles |
( |
| ) |
|
Get subtitle files.
- Returns
- array<string,string>
◆ withAdditionalSubtitleFile()
ILIAS\UI\Component\Player\Video::withAdditionalSubtitleFile |
( |
string |
$lang_key, |
|
|
string |
$subtitle_file |
|
) |
| |
Set a subtitle file path (vtt file).
For WebVTT format, see https://en.wikipedia.org/wiki/WebVTT.
- Parameters
-
string | $lang_key | two letter lang key, e.g. "de", "en" |
string | $subtitle_file | relative web root path of a vtt file |
◆ withPoster()
ILIAS\UI\Component\Player\Video::withPoster |
( |
string |
$poster | ) |
|
Set initially shown poster image.
- Parameters
-
string | $poster | relative web root path of an image file, URL of an external image resource (png,jpg,svg,gif) |
The documentation for this interface was generated from the following file:
- components/ILIAS/UI/src/Component/Player/Video.php