Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.11 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.11 KB

LfVimeoNative

Allows to insert native vimeo or youtube videos as page elements, instead of using the mediaelement.js library.

Requirements

  • ILIAS: 8, 9

Installation

> mkdir -p Customizing/global/plugins/Services/COPage/PageComponent
> cd Customizing/global/plugins/Services/COPage/PageComponent
> git clone -b release_9 https://github.com/leifos-gmbh/LfVimeoNative.git

Back in main directory:

> composer dump-autoload

Enter ILIAS Administration > Plugins and activate/configure the plugin.

Vimeo URLs

The plugin needs to create the required embed code including an iframe tag for the video with a src attribute like https://player.vimeo.com/video/123456 or https://player.vimeo.com/video/123456?h=b1fded9860. These URLs differ from the URLs pointing directly to the videos on vimeo. ILIAS tries to translate the following direct URL formats into the player URL formats:

Youtube URLs

Similar the following youtube formats are supported: