Previously, we used import {/*...*/} from 'theoplayer', which would import the full THEOplayer library including the old video.js-based UI. Since we only need the chromeless player library (without UI) in this project, we now import from 'theoplayer/THEOplayer.chromeless' instead.
This is a (small) breaking change for TypeScript users. THEOplayer.chromeless.js has always been packaged together with the theoplayer npm package, but we only recently (as of version 5.1.0) also ship dedicated TypeScript type definitions for this file. Therefore, TypeScript users will need to update to the latest version of THEOplayer.
Previously, we used
import {/*...*/} from 'theoplayer'
, which would import the full THEOplayer library including the old video.js-based UI. Since we only need the chromeless player library (without UI) in this project, we now import from'theoplayer/THEOplayer.chromeless'
instead.This is a (small) breaking change for TypeScript users.
THEOplayer.chromeless.js
has always been packaged together with thetheoplayer
npm package, but we only recently (as of version 5.1.0) also ship dedicated TypeScript type definitions for this file. Therefore, TypeScript users will need to update to the latest version of THEOplayer.