fdd088b4bf5a28d88f40d0b6b6adc1a68a5922ab
Extend detectVideoType to handle youtube.com/shorts/ID, youtube.com/live/ID, youtube.com/watch?...&v=ID (v not the first query param), and Vimeo private-hash URLs (vimeo.com/ID/HASH -> ?h=HASH player param). Existing shapes (youtu.be/ID, youtube.com/embed/ID, youtube.com/watch?v=ID, vimeo.com/ID, direct files) keep working. The emitted embed src still passes through safeUrl unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Languages
TypeScript
75.7%
JavaScript
12.4%
HTML
8.7%
CSS
2.6%
PHP
0.4%
Other
0.2%