mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: Add aspect-ratio to video container and preload metadata
This commit is contained in:
parent
68d175f1c5
commit
5349c99c74
2 changed files with 2 additions and 1 deletions
|
@ -193,6 +193,7 @@ nav {
|
||||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
aspect-ratio: 2656 / 2160;
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-container video {
|
.video-container video {
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
<div class="hero-video">
|
<div class="hero-video">
|
||||||
<div class="video-container">
|
<div class="video-container">
|
||||||
<video autoplay loop muted playsinline>
|
<video autoplay loop muted playsinline preload="metadata">
|
||||||
<source src="/assets/shell-cmds-small.mp4" type="video/mp4">
|
<source src="/assets/shell-cmds-small.mp4" type="video/mp4">
|
||||||
Your browser does not support the video tag.
|
Your browser does not support the video tag.
|
||||||
</video>
|
</video>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue