examples/video.adoc in asciidoctor-revealjs-3.1.0 vs examples/video.adoc in asciidoctor-revealjs-4.0.0

- old
+ new

@@ -1,29 +1,38 @@ // .video // Demonstration of various reveal.js video features and AsciiDoc compact syntax for youtube. // :include: //div[@class="slides"] // :header_footer: = Video tests +:revealjs_hash: true -== Auto-sized +== YouTube Auto-sized video::kZH9JtPBq7k[youtube, start=34, options=autoplay] //video::kZH9JtPBq7k[youtube, start=34, height=600, width=800, options=autoplay] [%notitle] -== Auto-sized notitle +== YouTube Auto-sized notitle video::kZH9JtPBq7k[youtube, start=34, options=autoplay] +[.notes] +-- +This video is auto-sized! +-- + +== Remote Video File Auto-sized + +video::https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm[] + [%notitle,background-iframe="https://www.youtube.com/embed/LaApqL4QjH8?rel=0&start=3&enablejsapi=1&autoplay=1&loop=1&controls=0&modestbranding=1"] == background [%notitle,background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm",background-video-loop=true,background-video-muted=true] == video file, named attributes [background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm",options="loop,muted,notitle"] == video file, options - == vimeo autostart video::44878206[vimeo, options=autoplay]