Skip to content

Adds an os2display template for displaying Vimeo videos

License

Notifications You must be signed in to change notification settings

os2display/vimeo-bundle

Repository files navigation

os2display/vimeo

Supplies a slide template for playing vimeo videos. This bundle uses Vimeo's js player: https://github.com/vimeo/player.js/

Installation

Add the git repository to "repositories" in composer.json.

"repositories": {
    "os2display/vimeo-bundle": {
      "type": "vcs",
      "url": "https://github.com/os2display/vimeo-bundle"
    },
    ...
}

Require the bundle with composer.

composer require os2display/vimeo-bundle

Enable the bundle in AppKernel.php, by adding Os2DisplayVimeoBundle to $bundles.

new Os2Display\VimeoBundle\Os2DisplayVimeoBundle()

Run os2display:core:templates:load command to load the template in the installation.

bin/console os2display:core:templates:load

Enable the template in the administration.

Ads and controls

To avoid ads and video controls, the shared video has to come from a user that has disabled the options at vimeo.com. To do it yourself, you need to have at least a PLUS account (https://vimeo.com/plus).