feat(torrents): unsupported-codec handling + animated preload border

Detect the /gst transcoder's 502 "unsupported video codec/container"
response, surface a clear in-player message instead of an endless
spinner, and grey out Play for releases that already failed (persisted
by infohash). Replace the buffering spinner with a rounded player and
an animated conic border sweep.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
nerandClaude Opus 4.8 committed 2026-08-07 15:16:18 +03:00
1 parent 526f0c24e0
commit 204acef185
8 files changed
+193 -28

No files matched your search

+2
View File
@@ -1,4 +1,5 @@
import React, { ReactNode } from 'react';
import { Analytics } from '@vercel/analytics/next';
import type { Metadata, Viewport } from 'next';
import { Jost } from 'next/font/google';
@@ -71,6 +72,7 @@ const RootLayout = ({ children }: { children: ReactNode }) => {
<Header className='sticky top-0 z-20' />
<main className='container'>{children}</main>
</Providers>
<Analytics />
</body>
</html>
);