import React from 'react' ; import { Player , Video , Ui , ClickToPlay , Spinner } from '@vime/react' ; import { TapSidesToSeek } from './TapSidesToSeek' ; const ClickPlayer = ( ) => ( < Player > < Video crossOrigin = "" poster = "https://media.vimejs.com/poster.png" > < source data - src = "https://media.vimejs.com/720p.mp4" type = "video/mp4" / > < track default kind = "subtitles" src = "https://media.vimejs.com/subs/english.vtt" srcLang = "en" label = "English" / > < /Video> < Ui > < ClickToPlay /> < Spinner / > < TapSidesToSeek /> < /Ui> < /Player>); export default ClickPlayer ;