docs: update site for context-based media discovery (#1018)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Darius Cepulis <dcepulis@mux.com>
This commit is contained in:
rahim
2026-03-19 12:21:32 -05:00
committed by GitHub
co-authored by Claude Opus 4.6 Darius Cepulis
parent 2f612b5f52
commit b4746f7122
37 changed files with 142 additions and 77 deletions
@@ -57,7 +57,7 @@ function getRendererElement(renderer: Renderer, url: string): string {
const tag = getRendererTag(renderer);
const src = url.trim() || getDefaultSourceUrl(renderer);
const playsInline = isVideoLikeRenderer(renderer) ? ' playsinline' : '';
return `<${tag} slot="media" src="${src}"${playsInline}></${tag}>`;
return `<${tag} src="${src}"${playsInline}></${tag}>`;
}
function getDefaultSourceUrl(renderer: Renderer): string {