This repository was archived by the owner on Sep 13, 2023. It is now read-only.
File tree 3 files changed +20
-3
lines changed
3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1
1
< section id ="contact " class ="contact bg-primary ">
2
2
< div class ="container ">
3
3
< h2 class ="section-heading "> Demo</ h2 >
4
- < iframe width ="560 " height ="315 " src ="https://www.youtube.com/embed/lfWRwwmX9Q8 " frameborder ="0 " allow ="autoplay; encrypted-media " allowfullscreen > </ iframe >
4
+ < div class ="responsive-yt ">
5
+ < iframe width ="560 " height ="315 " src ="https://www.youtube.com/embed/lfWRwwmX9Q8 " title ="YouTube video player " frameborder ="0 " allow ="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share " allowfullscreen > </ iframe >
6
+ </ div >
5
7
</ div >
6
8
</ section >
Original file line number Diff line number Diff line change 28
28
29
29
< link rel ="icon " href ="img/favicon.ico " />
30
30
31
+ < style >
32
+ .responsive-yt {
33
+ overflow : hidden;
34
+ padding-bottom : 56.25% ;
35
+ position : relative;
36
+ height : 0 ;
37
+ }
38
+
39
+ .responsive-yt iframe {
40
+ left : 0 ;
41
+ top : 0 ;
42
+ height : 100% ;
43
+ width : 100% ;
44
+ position : absolute;
45
+ }
46
+ </ style >
47
+
31
48
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
32
49
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
33
50
<!--[if lt IE 9]>
Original file line number Diff line number Diff line change @@ -662,5 +662,3 @@ body {
662
662
}
663
663
}
664
664
}
665
-
666
-
You can’t perform that action at this time.
0 commit comments