Supports for Vimeo player with the Vimeo player SDK.
Note The Vimeo SDK is automatically loaded by the provider.
Name | vimeo |
Path | vlitejs/providers/vimeo |
Entry point | vlitejs/providers/vimeo.js |
<div id="player" data-vimeo-id="<video_id>"></div>
import 'vlitejs/vlite.css';
import Vlitejs from 'vlitejs';
import VlitejsVimeo from 'vlitejs/providers/vimeo.js';
Vlitejs.registerProvider('vimeo', VlitejsVimeo);
new Vlitejs('#player', {
provider: 'vimeo'
});
See the Vimeo provider demo.
See the Vimeo player SDK documentation.