ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
video_vimeo.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
39 function video_vimeo(): string
40 {
41  global $DIC;
42  $renderer = $DIC->ui()->renderer();
43  $f = $DIC->ui()->factory();
44 
45  $video = $f->player()->video("https://vimeo.com/669475821?controls=0");
46 
47  return $renderer->render($video);
48 }
$renderer
global $DIC
Definition: shib_login.php:22
video_vimeo()
description: > Example for rendering a vimeo video player.
Definition: video_vimeo.php:39