Skip to content

[CORE-7691] fix ffmpeg asset URLs to use document.baseURI instead of window.location.origin#2665

Merged
trtshen merged 1 commit intotrunkfrom
2.4.y/CORE-7691/video-compression-trunk
Apr 9, 2026
Merged

[CORE-7691] fix ffmpeg asset URLs to use document.baseURI instead of window.location.origin#2665
trtshen merged 1 commit intotrunkfrom
2.4.y/CORE-7691/video-compression-trunk

Conversation

@trtshen
Copy link
Copy Markdown
Collaborator

@trtshen trtshen commented Apr 9, 2026

window.location.origin omits the app base-href (/en-US/) so asset requests hit the SPA fallback and return index.html instead of the actual files. document.baseURI already includes the base-href, resolving to the correct path.

Story/Ticket Reference ID from JIRA:
Add link here

Additional Comments:
Add here

Checklist:

  • Unit test completed?: (Y/N)
  • Docs folder up to date?: (Y/N)
  • Add if anything missed: (Y/N)

All checklists are okay.

This PR looks great - it's ready to merge! Please review and let's ship it. :)

…window.location.origin

window.location.origin omits the app base-href (/en-US/) so asset requests
hit the SPA fallback and return index.html instead of the actual files.
document.baseURI already includes the base-href, resolving to the correct path.
@trtshen trtshen enabled auto-merge April 9, 2026 09:25
@trtshen trtshen deployed to pull-req April 9, 2026 09:25 — with GitHub Actions Active
@trtshen trtshen merged commit edfcf5b into trunk Apr 9, 2026
1 check passed
@trtshen trtshen deleted the 2.4.y/CORE-7691/video-compression-trunk branch April 9, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant