ILIAS
release_8 Revision v8.24
◀ 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
ILIAS\UI\examples\Player\Video
Definition:
video_mp4.php:5
ILIAS\UI\examples\Player\Video\video_youtube
video_youtube()
Definition:
video_youtube.php:7
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Player
Video
video_youtube.php
Generated on Sun Nov 2 2025 22:02:03 for ILIAS by
1.9.4 (using
Doxyfile
)