ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Video.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
29interface 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}
Definition: UI.php:24
Interface for Video elements.
Definition: Video.php:30
withAdditionalSubtitleFile(string $lang_key, string $subtitle_file)
Set a subtitle file path (vtt file).
getSubtitleFiles()
Get subtitle files.
withPoster(string $poster)
Set initially shown poster image.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.