This repository was archived by the owner on Dec 13, 2023. It is now read-only.
File tree 3 files changed +17
-2
lines changed
3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1
- < iframe width ="770 " height ="433 " src ="https://www.youtube-nocookie.com/embed/videoseries?list={{ include.id }}&rel=0 " frameborder ="0 " allow ="autoplay; encrypted-media " allowfullscreen > </ iframe >
1
+ < div class ="video ">
2
+ < iframe src ="https://www.youtube-nocookie.com/embed/videoseries?list={{ include.id }}&rel=0 " frameborder ="0 " allow ="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture " allowfullscreen > </ iframe >
3
+ </ div >
Original file line number Diff line number Diff line change 1
- < iframe width ="770 " height ="433 " src ="https://www.youtube-nocookie.com/embed/{{ include.id }}?rel=0 " frameborder ="0 " allow ="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture " allowfullscreen > </ iframe >
1
+ < div class ="video ">
2
+ < iframe src ="https://www.youtube-nocookie.com/embed/{{ include.id }}?rel=0 " frameborder ="0 " allow ="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture " allowfullscreen > </ iframe >
3
+ </ div >
Original file line number Diff line number Diff line change @@ -195,6 +195,17 @@ nav {
195
195
margin-bottom : 40px ;
196
196
}
197
197
198
+ .video {
199
+ position : relative;
200
+ padding-bottom : 56.25% ; /* 16:9 */
201
+ }
202
+
203
+ .video iframe {
204
+ position : absolute;
205
+ width : 100% ;
206
+ height : 100% ;
207
+ }
208
+
198
209
@media screen and (max-width : 1020px ) {
199
210
.arangodb-navmenu li div .searchbar {display : none;}
200
211
.arangodb-navmenu li div .placeholder {display : none;}
You can’t perform that action at this time.
0 commit comments