Sha256: 20372225d00f77ccce1b7746098efa46c510d82c7edfe4c3f51915497acc2372

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 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

== YouTube Auto-sized

video::kZH9JtPBq7k[youtube, start=34, options=autoplay]
//video::kZH9JtPBq7k[youtube, start=34, height=600, width=800, 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

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

2 entries across 2 versions & 1 rubygems

Version Path
asciidoctor-revealjs-4.0.1 examples/video.adoc
asciidoctor-revealjs-4.0.0 examples/video.adoc