File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ < div class ="embed-container ">
2
+ < iframe width ="640 " height ="390 "
3
+ src ="https://www.youtube.com/embed/{{ include.id }} "
4
+ frameborder ="0 " allowfullscreen > </ iframe >
5
+ </ div >
6
+ < style >
7
+ .embed-container {
8
+ position : relative;
9
+ padding-bottom : 56.25% ;
10
+ height : 0 ;
11
+ overflow : hidden;
12
+ max-width : 100% ;
13
+ }
14
+ .embed-container iframe ,
15
+ .embed-container object ,
16
+ .embed-container embed {
17
+ position : absolute;
18
+ top : 0 ;
19
+ left : 0 ;
20
+ width : 100% ;
21
+ height : 100% ;
22
+ }
23
+ </ style >
Original file line number Diff line number Diff line change @@ -35,3 +35,7 @@ Have feedback? We want to hear it! *[Issue #123](link to issue announcing explai
35
35
| Edge release | Changelog |
36
36
| --------------| ---------------------------------------------------------|
37
37
| * version.number* | * Description of changes.* |
38
+
39
+ * (Optional: you can include YouTube videos by ID with the following syntax)*
40
+
41
+ {% include youtube.html id="JLMbpiywVxQ" %}
You can’t perform that action at this time.
0 commit comments