mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(html): restore deprecated slot="media" for backwards compatibility (#1020)
This commit is contained in:
@@ -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}">
|
||||
|
||||
Reference in New Issue
Block a user