Docs have been updated to v. 6.x but npm still has v. 5.x?
Description
It seems that currently docs have already been updated to the most recent version 6.x while in npm the available version is still 5.x which means that you can't get things to work following the readme. Could someone please update the available version in npm to the latest too?
Steps to reproduce
- Follow the basic usage instructions from readme.
Results
Expected
Everything works when you follow the instructions.
Actual
Nothing works and errors happen since the versions do not match.
Error output
"player.playlistPlugin is not a function" etc as changes are breaking.
There should be a warning somewhere for this as I just wasted an hour trying to figure out what was going on.
+1. I totally would've wasted an hour or more had i not seen this.
Note that currently v5.2.0 is 8 commits ahead (October 2024) and v6.x is only 5 commits (April 2024). So I think people should use v5 ATM and switch branches when reading the repo.
https://github.com/videojs/videojs-playlist/tree/5.x