Skip to content

fix: video-to-mp3 tool hardening + CWV cleanup + YouTube-URL notice#5

Open
musab123-afk wants to merge 2 commits into
shotstack:mainfrom
musab123-afk:fix/cwv-and-tool-hardening
Open

fix: video-to-mp3 tool hardening + CWV cleanup + YouTube-URL notice#5
musab123-afk wants to merge 2 commits into
shotstack:mainfrom
musab123-afk:fix/cwv-and-tool-hardening

Conversation

@musab123-afk
Copy link
Copy Markdown

Functional half of the video-to-mp3 v1 ship (pairs with website-v2 Bitbucket PR #41 for the SEO half).

52a971c — hardening + CWV cleanup

  • convert.js: reject YouTube/streaming-host + non-http(s) URLs (was an infinite hang on the ~73%-traffic page)
  • shotstack.js: fix unhandled promise rejection in status()
  • app.js: add .fail() handler, 6-min timeout (was infinite poll), real stage-based progress (was fake +10% capped at 90%)
  • index.html: drop duplicate jQuery/Popper/Bootstrap/Fonts (site layout provides them); post-conversion free-API-key upsell

f435ac8 — YouTube URL notice

  • Inline not-supported notice + submit disabled the moment a YouTube/streaming URL is typed (client host list mirrors convert.js exactly)

Scope: tool reliability + CWV only. No GA4/tracking changes. Opened from a fork (no write access to this repo).

- index.html: drop duplicate jQuery/Popper/Bootstrap/Google-Fonts (site layout provides them); add post-conversion 'free API key' upsell
- app.js: add status .fail() handler, 6-min timeout, real stage-based progress (was infinite poll + fake 90%)
- convert.js: reject YouTube/streaming-host + non-http(s) URLs (Ingest cannot fetch these; was an infinite hang)
- shotstack.js: fix unhandled promise rejection in status()
Show an inline 'not supported' notice and disable the convert button the
moment a YouTube/streaming-host URL is typed, instead of only rejecting it
server-side after submit. Client host list mirrors convert.js exactly.
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