Sha256: 5ac4bdc011c95445df78dfea42564a62c303883dd71025aa5d9e5fd370f3412f

Contents?: true

Size: 1.25 KB

Versions: 8

Compression:

Stored size: 1.25 KB

Contents

// .video
// Demonstration of various reveal.js video features and AsciiDoc compact syntax for youtube.
// :include: //div[@class="slides"]
// :header_footer:
= Video tests

== Auto-sized

video::kZH9JtPBq7k[youtube, start=34, options=autoplay]
//video::kZH9JtPBq7k[youtube, start=34, height=600, width=800, options=autoplay]

[%notitle]
== Auto-sized notitle

video::kZH9JtPBq7k[youtube, start=34, options=autoplay]

[%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]

// data-autoplay is not supported on vimeo videos
// upstream: https://github.com/hakimel/reveal.js/issues/388

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
asciidoctor-revealjs-3.1.0 examples/video.adoc
asciidoctor-revealjs-3.0.0 examples/video.adoc
asciidoctor-revealjs-3.0.0.pre.rc1 examples/video.adoc
asciidoctor-revealjs-2.0.1 examples/video.adoc
asciidoctor-revealjs-2.0.0 examples/video.adoc
asciidoctor-revealjs-1.1.3 examples/video.adoc
asciidoctor-revealjs-1.1.1 examples/video.adoc
asciidoctor-revealjs-1.1.0 examples/video.adoc