Skip to content

Commit

Permalink
Refactor after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Dananji committed Apr 19, 2024
1 parent c2933e7 commit 771cea4
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ class VideoJSFileDownload extends MenuButton {

createItems() {
const { options_, player_ } = this;
const { manifest, canvasIndex } = options_;
const rendering = getRenderingFiles(manifest, canvasIndex);
const files = (rendering.manifest).concat(rendering.canvas[canvasIndex]?.files);
const { files } = options_;

if (files?.length > 0) {
return files.map(function (file) {
Expand Down

0 comments on commit 771cea4

Please sign in to comment.