WARNING: A work in progress, this is a first attempt at getting Brightcove Player working in a Typescript and React Enviroment.
This was inspired from the VideoJS React Tutorial and a previous gist Videojs, React and Typescript
Prerequistes: Using TypeScript-React-Starter
Then npm install packages
npm i --save-dev @types/video.js
Update the following in the BrightcoverPlayerReactTypescript.tsx
- #YOURACCOUNTIDHERE
- #YOURPLAYERIDHERE
- #YOURPLAYERIDHERE