fix(html): restore deprecated slot="media" for backwards compatibility (#1020)

This commit is contained in:
rahim
2026-03-18 23:29:53 -07:00
committed by GitHub
parent 409caddd88
commit eabd06550d
9 changed files with 18 additions and 0 deletions
@@ -36,6 +36,8 @@ const SEEK_TIME = 10;
function getTemplateHTML() {
return /*html*/ `
<media-container class="${root}">
<!-- @deprecated slot="media" is no longer required, use the default slot instead -->
<slot name="media"></slot>
<slot></slot>
<div class="${controls}">