UNPKG

@vime/react

Version:

React bindings for the Vime media player.

8 lines (7 loc) 486 B
import { createComponent } from '../lib'; import { VmDailymotion, VmEmbed } from '@vime/core'; import { define } from '../lib'; define('vm-dailymotion', VmDailymotion); define('vm-embed', VmEmbed); ; export default createComponent('vm-dailymotion', new Set(['videoId', 'shouldAutoplayQueue', 'showUpNextQueue', 'showShareButtons', 'color', 'syndication', 'showDailymotionLogo', 'showVideoInfo', 'language', 'autoplay', 'controls', 'poster', 'logger', 'loop', 'muted', 'playsinline']));