Skip to content

Wave 2.1 - Upscale video changes#752

Merged
arugupta1992 merged 3 commits intowave2-videofrom
upscaleVid
Apr 27, 2026
Merged

Wave 2.1 - Upscale video changes#752
arugupta1992 merged 3 commits intowave2-videofrom
upscaleVid

Conversation

@arugupta1992
Copy link
Copy Markdown
Collaborator

@arugupta1992 arugupta1992 commented Apr 25, 2026

@aem-code-sync
Copy link
Copy Markdown

aem-code-sync Bot commented Apr 25, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

}
try { await this.checkImageDimensions(file); } catch (error) {
window.lana?.log(`Message: Error checking image dimensions, Error: ${error}`, this.lanaOptions);
const isVideo = file.type.startsWith('video/');
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be solely relying on mime type here or should we check for extension?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the mimetype matches and file extension does not then the control will exit from line 457 above. If control reaches this check that means file extensions are valid, so I think we can keep mimetype here to just check if it's video or image. wdyt?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a fair point, we can leave as is given we have proper check beforehand.

@arugupta1992 arugupta1992 merged commit d1c4678 into wave2-video Apr 27, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants