File tree 3 files changed +30
-0
lines changed
3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -1674,6 +1674,24 @@ Which looks like:
1674
1674
1675
1675
image::resources/readme/example.svg[An example svg]
1676
1676
1677
+ [[videos]]
1678
+ == Videos
1679
+
1680
+ You can add a vimeo hosted video with Asciidoctor's
1681
+ https://asciidoctor.org/docs/user-manual/#video[video] tag:
1682
+
1683
+ [source,asciidoc]
1684
+ ----
1685
+ video::366852847[vimeo,height=480]
1686
+ ----
1687
+
1688
+ NOTE: You *should* set height or else the video will be tiny. You *shouldn't*
1689
+ set width because Vimeo will preserve the aspect ratio for you.
1690
+
1691
+ Which renders like this:
1692
+
1693
+ video::366852847[vimeo,height=480]
1694
+
1677
1695
[[tables]]
1678
1696
== Tables
1679
1697
Original file line number Diff line number Diff line change
1
+ #guide {
2
+ /* This should line up with img.pcss. */
3
+ .videoblock {
4
+ img {
5
+ max-width : 100 % ;
6
+ }
7
+ iframe {
8
+ width : 100 %
9
+ }
10
+ }
11
+ }
Original file line number Diff line number Diff line change 26
26
@import './style/this_page.pcss' ;
27
27
@import './style/toc.pcss' ;
28
28
@import './style/util.pcss' ;
29
+ @import './style/video.pcss' ;
29
30
@import './style/xpack.pcss' ;
30
31
31
32
/* test comment used to detect unminified source */
You can’t perform that action at this time.
0 commit comments