Skip to content

Commit 1c9c453

Browse files
erkamyamanatscott
authored andcommitted
docs(docs-infra): fix v21 event video not responsive on mobile
Replace raw iframe with docs-video component to fix YouTube embed overflowing on mobile viewports.
1 parent 64b52c1 commit 1c9c453

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

adev/src/content/events/v21.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,4 @@ Angular v21 is being delivered to you as a brand new release adventure. With mod
2222
- Your first look at Signal Forms, our new streamlined, signal-based approach to forms in Angular
2323
- Exciting new details about the Angular Aria package
2424

25-
<div style="display: block; width: 80%; margin: 0 auto; margin-top: 20px;">
26-
<iframe
27-
credentialless
28-
width="560"
29-
height="315"
30-
src="https://www.youtube.com/embed/DDAHORVzQ5g?si=B9Uv5vXzIKJfcLGr"
31-
title="YouTube video player"
32-
frameborder="0"
33-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
34-
referrerpolicy="strict-origin-when-cross-origin"
35-
allowfullscreen
36-
></iframe>
37-
</div>
25+
<docs-video src="https://www.youtube.com/embed/DDAHORVzQ5g?si=B9Uv5vXzIKJfcLGr" title="Angular v21 Developer Event"/>

0 commit comments

Comments
 (0)