Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.04 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.04 KB

Provider: Vimeo

Supports for Vimeo player with the Vimeo player SDK.

Note The Vimeo SDK is automatically loaded by the provider.

Overview

Name vimeo
Path vlitejs/providers/vimeo
Entry point vlitejs/providers/vimeo.js

Usage

HTML

<div id="player" data-vimeo-id="<video_id>"></div>

JavaScript

import 'vlitejs/vlite.css';
import Vlitejs from 'vlitejs';
import VlitejsVimeo from 'vlitejs/providers/vimeo.js';

Vlitejs.registerProvider('vimeo', VlitejsVimeo);

new Vlitejs('#player', {
  provider: 'vimeo'
});

Demo

See the Vimeo provider demo.

SDK documentation

See the Vimeo player SDK documentation.