Vimeo dev

This project is not covered by Drupal’s security advisory policy.

Javascript based upload to get a video URL from Vimeo without having to upload it on Drupal first. The result URL can then be used with Video Embed Field or Media Entity Vimeo.

Use case

  • When you want to improve AX, so authors do not have to connect to Vimeo and go back to Drupal.
  • When you do not want to store the video file on your server.

Vimeo Upload screencast

Related project


Vimeo field Uploader

Difference with Vimeo Field Uploader:
Vimeo Upload is field agnostic, so it only provides a helper to upload the video on Vimeo and returns the URL that can then be used in any video related field (e.g. Video Embed Field).

Installation

1/ Install via Composer.

composer require drupal/vimeo_upload

2/ Enable the module

drush en vimeo_upload

3/ Download this repository in the libraries directory.

So you have /libraries/vimeo-upload/vimeo-upload.js

There is currently an issue with the latest Vimeo API, so a patch needs to be applied.

Configuration

Vimeo

  • Create a Vimeo account
  • Create a Vimeo app
  • Request upload access for this application
  • Generate access token for your application on the Authentication tab with following permissions: Public, Private, Edit, Upload.

Drupal

  • Go to the Vimeo Upload configuration page /admin/config/services/vimeo_upload and set your access token.
  • Upload a video via /admin/vimeo_upload/upload

Further integration with Video Embed Field and Media Entity Vimeo is on its way.

Roadmap

  • Use the settings tray on the entity edit form instead of another page
  • Configuration form with access token encryption
  • Global admin UI for video upload
  • Per field form formatter for Video Embed Field
  • Per field form formatter for Media Entity Vimeo

Project information

Releases