Skip to content

fix: surface preview failures with troubleshooting links - #186

Merged
dazzatronus merged 1 commit into
mainfrom
fix/preview-error-help
Sep 15, 2026
Merged

dazzatronus merged 1 commit into
mainfrom
fix/preview-error-help

Conversation

@dazzatronus

@dazzatronus dazzatronus commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Media load failures can leave a blank preview without a timeline warning. Surface source-loading failures on the affected clip, including while playback is paused, and explain suspected CORS failures without treating every loading error as CORS.

The warning badge links directly to https://t.shotstack.io/cors in a new tab, with the explanation available in its tooltip. No configuration is required. Dynamic Source validation is unchanged.

Derive the warning from existing loader state: image and video players catch loading errors to draw placeholders, so rejected player promises do not reliably reach the existing clip-failure event. Keep independent video loads separate by clip ID, and ignore stale diagnostic results after a retry.

Verify: Node 22 verification suite passes: 82 suites, 2,064 tests, lint, typecheck, build and package checks. Firefox and Chrome checks cover the warning link, keyboard navigation, clip-menu isolation and narrow layouts.

@dazzatronus dazzatronus self-assigned this Sep 15, 2026
@dazzatronus dazzatronus changed the title feat: add optional troubleshooting help to preview error badges feat: explain preview errors with troubleshooting help Sep 15, 2026
@dazzatronus dazzatronus changed the title feat: explain preview errors with troubleshooting help fix: surface preview failures with troubleshooting links Sep 15, 2026
@dazzatronus
dazzatronus force-pushed the fix/preview-error-help branch from 789b711 to 51f28a2 Compare September 15, 2026 11:42
@dazzatronus
dazzatronus force-pushed the fix/preview-error-help branch from 51f28a2 to 414cc4c Compare September 15, 2026 11:51
@dazzatronus
dazzatronus merged commit 81eb18f into main Sep 15, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.19.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant