Skip to content

Commit 9e341a3

Browse files
authored
Add height attributes to iframe elements
Updated iframe elements to include height attributes for better responsiveness.
1 parent ed3bf9d commit 9e341a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/develop/overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
* [Sveltekit](https://moonmodules.org/MoonLight/develop/sveltekit/): Explaining the repository MoonLight is forked from
1010

1111
<div class="video-wrapper">
12-
<iframe width="560" src="https://www.youtube.com/embed/tdrU9yGkyVo" frameborder="0" allowfullscreen></iframe>
12+
<iframe width="560" height="315" src="https://www.youtube.com/embed/tdrU9yGkyVo" frameborder="0" allowfullscreen></iframe>
1313
</div>
1414

15-
<iframe width="560"
15+
<iframe width="560" height="315"
1616
src="https://www.youtube.com/embed/tdrU9yGkyVo"
1717
title="YouTube video player"
1818
frameborder="0"
@@ -21,7 +21,7 @@
2121
</iframe>
2222

2323

24-
<iframe width="560"
24+
<iframe width="560" height="315"
2525
src="https://www.youtube.com/embed/tdrU9yGkyVo"
2626
title="YouTube video player"
2727
frameborder="0"
@@ -32,7 +32,7 @@
3232

3333
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto;">
3434
<iframe
35-
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
35+
style="position: absolute; top: 0; left: 0; width: "560"; height: "315";"
3636
src="https://www.youtube.com/embed/tdrU9yGkyVo"
3737
frameborder="0"
3838
allowfullscreen>
@@ -41,7 +41,7 @@
4141

4242

4343
<div class="video-container">
44-
<iframe src="https://www.youtube.com/embed/VIDEO_ID"
44+
<iframe src="https://www.youtube.com/embed/tdrU9yGkyVo"
4545
frameborder="0" allowfullscreen>
4646
</iframe>
4747
</div>

0 commit comments

Comments
 (0)