ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
Video.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
29 interface Video extends Player
30 {
36  public function withAdditionalSubtitleFile(string $lang_key, string $subtitle_file): \ILIAS\UI\Component\Player\Video;
37 
42  public function getSubtitleFiles(): array;
43 
48  public function withPoster(string $poster): \ILIAS\UI\Component\Player\Video;
49 
50  public function getPoster(): string;
51 }
withPoster(string $poster)
Set initially shown poster image.
withAdditionalSubtitleFile(string $lang_key, string $subtitle_file)
Set a subtitle file path (vtt file).
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
getSubtitleFiles()
Get subtitle files.
Interface for Video elements.
Definition: Video.php:29