src/plugins/media/README.md
This plugin will do the following things:
When these attributes are added to a step they are inherited by all media on this step. Of course this setting can be overwritten by adding different attributes to inidvidual media.
The same rule applies when this attributes is added to the root element. Settings can be overwritten for individual steps and media. Examples:
<div id="impress" data-media-autoplay="true"> ... <div class="step" data-media-autoplay="false">
All media is startet automatically on all steps except the one that has the data-media-autoplay="false" attribute.<audio onended="impress().next()"> or <video onended="impress().next()"> to proceed to the next step automatically, when the end of the media is reached.