mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
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:
co-authored by
Claude Opus 4.6
Darius Cepulis
parent
2f612b5f52
commit
b4746f7122
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user