videojs-playlist icon indicating copy to clipboard operation
videojs-playlist copied to clipboard

videojs-playlist.js build calls incorrect function

Open d3athrow opened this issue 1 year ago • 1 comments

Description

Briefly describe the issue. Include a reduced test case.

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

  1. Build new dist
  2. Load test page
  3. get error

Results

Expected

Please describe what you expected to see. No error

Actual

Please describe what actually happened. Error in console

Error output

If there are any errors at all, please include them here.

Uncaught TypeError: this.playlist_.get is not a function
    at PlaylistPlugin.loadPlaylistItem (videojs-playlist.js:651:36)
    at PlaylistPlugin.loadFirstItem (videojs-playlist.js:669:19)```
## Additional Information
Please include any additional information necessary here. Including the following:

### versions
#### videojs
what version of videojs does this occur with?
whatever is defined in package.json
#### browsers
what browser are affected?

#### OSes
what platforms (operating systems and devices) are affected?

### plugins
are any videojs plugins being used on the page? If so, please list them below.
NO


.get() does not exist, it should be .getItems()

d3athrow avatar Jun 27 '24 22:06 d3athrow

Thanks for the report. If you weren't aware, note the main branch is the v6 release candidate. v5.1.2 reflects latest on npm.

mister-ben avatar Jun 28 '24 10:06 mister-ben