UNPKG

@vime/react

Version:

React bindings for the Vime media player.

7 lines (6 loc) 614 B
import { createComponent } from '../lib'; import { VmFile } from '@vime/core'; import { define } from '../lib'; define('vm-file', VmFile); ; export default createComponent('vm-file', new Set(['willAttach', 'crossOrigin', 'preload', 'poster', 'mediaTitle', 'controlsList', 'autoPiP', 'disablePiP', 'disableRemotePlayback', 'viewType', 'playbackRates', 'language', 'autoplay', 'controls', 'logger', 'loop', 'muted', 'playsinline', 'noConnect', 'paused', 'currentTime', 'volume', 'playbackReady', 'playbackStarted', 'currentTextTrack', 'hasCustomTextManager', 'isTextTrackVisible', 'shouldRenderNativeTextTracks']));