ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
video_youtube.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Player\Video
;
6
7
function
video_youtube
(): string
8
{
9
global
$DIC
;
10
$renderer = $DIC->ui()->renderer();
11
$f
= $DIC->ui()->factory();
12
13
$video =
$f
->player()->video(
"https://www.youtube.com/watch?v=YSN2osYbshQ"
);
14
15
return
$renderer->render($video);
16
}
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\UI\examples\Player\Video
Definition:
video_mp4.php:5
ILIAS\UI\examples\Player\Video\video_youtube
video_youtube()
Definition:
video_youtube.php:7
src
UI
examples
Player
Video
video_youtube.php
Generated on Sun Aug 31 2025 22:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)