Open ghost opened 1 year ago
Same here
Me too
I was facing the same issue. However if you provide additional import as follows, it works
import Player from "video.js/dist/types/player";
Hello friends, I don't understand why the thumbs down to @nikhilbhalwankar , he is correct with:
import Player from "video.js/dist/types/player";
Just missed commenting that the variable has to stop referencing from video.js, so it would be:
public player!: Player;
Happy coding! 👻
Hi everyone ,After importing 'Player' also , Still facing the same issue.
Hello,
I'm trying to switch over to VideoJS 8.3 at my Angular application, but sadly I cannot load the player anymore:
import videojs from 'video.js';
-> This seems to be working.
This also does not work anymore:
public player!: videojs.Player;
Why can't I access the player anymore? This currently results in the following error:
TS2724: 'videojs' has no exported member named 'Player'. Did you mean 'players'?