Open prameetc opened 6 years ago
const VIMEO_ID = '179859217';
fetch(`https://player.vimeo.com/video/${VIMEO_ID}/config`)
.then(res => res.json())
.then(res => this.setState({
thumbnailUrl: res.video.thumbs['640'],
videoUrl: res.request.files.hls.cdns[res.request.files.hls.default_cdn].url,
video: res.video,
}));
I have this vimeo url -https://player.vimeo.com/video/289535718
How do run this video using this package? I have a Vimeo Pro account and API Key with me.
Any help appreciated.