@filerobot/media-player
v3.86.3
Published
Media player integration for video/audio files with Filerobot
Downloads
4,030
Keywords
Readme
@filerobot/media-player
The media-player plugin provides player controls to audio/video files in Filerobot Media Asset Widget.
Note: The supported playback audio/video formats are
audio/mpeg, audio/ogg, audio/wav, video/mp4, video/quicktime, video/3gpp, video/x-msvideo, video/webm, video/x-matroska
Usage
NPM
npm install --save @filerobot/media-player
YARN
yarn add @filerobot/media-player
then
import MediaPlayer from '@filerobot/media-player
...
...
...
filerobot.use(MediaPlayer)
CDN
The plugin from CDN is found inside Filerobot
global object Filerobot.MediaPlayer
const MediaPlayer = window.Filerobot.MediaPlayer
...
...
...
filerobot.use(MediaPlayer)