WARNING: A work in progress, this is a first attempt at getting VideoJs working in a Typescript and React Enviroment.
This was inspired from the VideoJS React Tutorial - (see also Brightcover Player with React and Typescript)
Prerequistes Using TypeScript-React-Starter: https://github.com/Microsoft/TypeScript-React-Starter
Then npm install packages
npm i --save video.js
npm i --save-dev @types/video.js
Have any suggestions/improvements? Give me a shout in the comments :)
I'm using yarn as a package manager. I installed dependencies with npm and got this error: Module not found. Can't resolve 'video.js'. Do you have packages for yarn or how to make this work?