File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,25 @@ categories:
44 - Post Formats
55tags :
66 - Post Formats
7- last_modified_at : 2017-03-09T12:58:20-05 :00
7+ last_modified_at : 2017-03-23T15:33:37-04 :00
88---
99
10- <iframe width =" 640 " height =" 360 " src =" https://www.youtube-nocookie.com/embed/l2Of1-d5E5o?controls=0& ; " frameborder =" 0 " allowfullscreen ></iframe >
10+ <div class =" embed-responsive embed-responsive-16by9 " >
11+ <iframe width =" 640 " height =" 360 " src =" https://www.youtube-nocookie.com/embed/l2Of1-d5E5o?controls=0& ; " frameborder =" 0 " allowfullscreen ></iframe >
12+ </div >
1113
12- This post test YouTube video embeds.
14+ This post tests YouTube video embeds.
15+
16+ Simply wrap embeds with a ` <div> ` element and the appropriate classes:
17+
18+ ``` html
19+ <!-- 16:9 aspect ratio -->
20+ <div class =" embed-responsive embed-responsive-16by9" >
21+ <iframe class =" embed-responsive-item" src =" ..." ></iframe >
22+ </div >
23+
24+ <!-- 4:3 aspect ratio -->
25+ <div class =" embed-responsive embed-responsive-4by3" >
26+ <iframe class =" embed-responsive-item" src =" ..." ></iframe >
27+ </div >
28+ ```
You can’t perform that action at this time.
0 commit comments