fix(registry): remove invalid media from caption components (#2454)

* fix(registry): remove invalid media from caption components

* test(registry): enforce nested media contracts
This commit is contained in:
Miguel Ángel
2026-07-16 12:16:45 -04:00
committed by GitHub
parent 55ee559e40
commit 771145a5c4
29 changed files with 71 additions and 488 deletions
@@ -37,15 +37,6 @@
background: transparent;
}
#avatar-video {
position: absolute;
inset: 0;
z-index: 1;
width: 100%;
height: 100%;
object-fit: cover;
}
.caption-layer {
position: absolute;
inset: 0;
@@ -120,16 +111,6 @@
data-width="1920"
data-height="1080"
>
<video
id="avatar-video"
muted
playsinline
data-start="0"
data-duration="8"
data-track-index="0"
data-has-audio="false"
></video>
<div class="caption-layer" aria-hidden="true">
<div id="caption-stage" class="safe-zone"></div>
</div>
-19
View File
@@ -36,15 +36,6 @@
background: #000000;
}
#avatar-video {
position: absolute;
inset: 0;
z-index: 1;
width: 100%;
height: 100%;
object-fit: cover;
}
.caption-layer {
position: absolute;
inset: 0;
@@ -118,16 +109,6 @@
data-width="1920"
data-height="1080"
>
<video
id="avatar-video"
muted
playsinline
data-start="0"
data-duration="8"
data-track-index="0"
data-has-audio="false"
></video>
<div class="caption-layer" aria-hidden="true">
<div id="caption-stage" class="safe-zone"></div>
</div>