Improves thumbnail loading in VideoCard component with error handling and updates response headers in /thumbnail route. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 50814a1e-92e4-4968-856f-7bc7eedf5e8f Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/50814a1e-92e4-4968-856f-7bc7eedf5e8f/WNLqOHv
25 lines
1.1 KiB
XML
25 lines
1.1 KiB
XML
|
|
<svg width="400" height="225" xmlns="http://www.w3.org/2000/svg">
|
|
<defs>
|
|
<linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
<stop offset="0%" style="stop-color:#1e40af;stop-opacity:1" />
|
|
<stop offset="100%" style="stop-color:#1e3a8a;stop-opacity:1" />
|
|
</linearGradient>
|
|
</defs>
|
|
<rect width="400" height="225" fill="url(#grad)" />
|
|
|
|
<!-- Play button circle -->
|
|
<circle cx="200" cy="112" r="35" fill="rgba(255,255,255,0.9)" />
|
|
<!-- Play button triangle -->
|
|
<polygon points="188,97 188,127 218,112" fill="#1e40af" />
|
|
|
|
<!-- Title background -->
|
|
<rect x="0" y="175" width="400" height="50" fill="rgba(0,0,0,0.7)" />
|
|
|
|
<!-- Title text -->
|
|
<text x="20" y="200" fill="white" font-family="Arial, sans-serif" font-size="14" font-weight="bold">Alex Reichinger - Ciao mia bella</text>
|
|
|
|
<!-- Duration -->
|
|
<text x="370" y="200" fill="white" font-family="Arial, sans-serif" font-size="12" text-anchor="end">3:02</text>
|
|
</svg>
|
|
|