Use YouTube teaser video
This commit is contained in:
+8
-5
@@ -418,11 +418,12 @@
|
|||||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-frame video {
|
.video-frame iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 16 / 9;
|
aspect-ratio: 16 / 9;
|
||||||
display: block;
|
display: block;
|
||||||
background: #0d1117;
|
background: #0d1117;
|
||||||
|
border: 0;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1262,10 +1263,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<figure class="video-frame">
|
<figure class="video-frame">
|
||||||
<video controls preload="metadata" playsinline poster="skillopt-assets/teaser-1.png">
|
<iframe
|
||||||
<source src="skillopt-assets/skillopt_teaser.mp4" type="video/mp4">
|
src="https://www.youtube.com/embed/JUBMDTCiM0M"
|
||||||
Your browser does not support the video tag.
|
title="SkillOpt project video"
|
||||||
</video>
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||||
|
allowfullscreen>
|
||||||
|
</iframe>
|
||||||
</figure>
|
</figure>
|
||||||
<p class="teaser-caption">
|
<p class="teaser-caption">
|
||||||
Promotional video for the SkillOpt project page. The static paper teaser is shown below for high-resolution inspection.
|
Promotional video for the SkillOpt project page. The static paper teaser is shown below for high-resolution inspection.
|
||||||
|
|||||||
Binary file not shown.
+8
-5
@@ -418,11 +418,12 @@
|
|||||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-frame video {
|
.video-frame iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 16 / 9;
|
aspect-ratio: 16 / 9;
|
||||||
display: block;
|
display: block;
|
||||||
background: #0d1117;
|
background: #0d1117;
|
||||||
|
border: 0;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1262,10 +1263,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<figure class="video-frame">
|
<figure class="video-frame">
|
||||||
<video controls preload="metadata" playsinline poster="skillopt-assets/teaser-1.png">
|
<iframe
|
||||||
<source src="skillopt-assets/skillopt_teaser.mp4" type="video/mp4">
|
src="https://www.youtube.com/embed/JUBMDTCiM0M"
|
||||||
Your browser does not support the video tag.
|
title="SkillOpt project video"
|
||||||
</video>
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||||
|
allowfullscreen>
|
||||||
|
</iframe>
|
||||||
</figure>
|
</figure>
|
||||||
<p class="teaser-caption">
|
<p class="teaser-caption">
|
||||||
Promotional video for the SkillOpt project page. The static paper teaser is shown below for high-resolution inspection.
|
Promotional video for the SkillOpt project page. The static paper teaser is shown below for high-resolution inspection.
|
||||||
|
|||||||
Reference in New Issue
Block a user