Sha256: 8f63d83f4f509f75238361b51bf3c71af3cb35fbf74569a081afa9c3c783bacf

Contents?: true

Size: 1.92 KB

Versions: 9

Compression:

Stored size: 1.92 KB

Contents

// .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
:imagesdir: images/

== YouTube Auto-sized

video::kZH9JtPBq7k[youtube, start=34]

== YouTube Auto-sized Auto-starts

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

[%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 video at URL

[%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]
== background video at URL with 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"]
== background video at URL with options

// Download this file and put in examples/images/ for this to be visible
// https://github.com/obilodeau/asciidoctor-assets/blob/master/videos/synthwave.mp4
[%notitle,background-video="synthwave.mp4",background-video-loop=true,background-video-muted=true]
== background video file with named attributes

// Download this file and put in examples/images/ for this to be visible
// https://github.com/obilodeau/asciidoctor-assets/blob/master/videos/synthwave.mp4
== video file, options

video::synthwave.mp4[options="autoplay,loop"]


== vimeo autostart

video::44878206[vimeo, options=autoplay]

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
asciidoctor-revealjs-5.2.0 examples/video.adoc
asciidoctor-revealjs-5.1.0 examples/video.adoc
asciidoctor-revealjs-5.0.1 examples/video.adoc
asciidoctor-revealjs-5.0.0.rc1 examples/video.adoc
asciidoctor-revealjs-4.1.0 examples/video.adoc
asciidoctor-revealjs-4.1.0.rc5 examples/video.adoc
asciidoctor-revealjs-4.1.0.rc4 examples/video.adoc
asciidoctor-revealjs-4.1.0.rc3 examples/video.adoc
asciidoctor-revealjs-4.1.0.rc2 examples/video.adoc