Right now, <video src="..." autoplay> causes the video to start playing on page load, which is not what you want in a presentation. Ideal behaviour would be...
...in draft mode, don't autoplay ever.
...in presentation mode, start playing once the slide containing the video is flipped to and stop once the next slide is requested.
I think this could be accomplished by translating the autoplay attribute into a data-autoplay attribute in a preprocessing step and invert this translation when the slide is active (and again once it becomes inactive).
Right now,
<video src="..." autoplay>
causes the video to start playing on page load, which is not what you want in a presentation. Ideal behaviour would be...I think this could be accomplished by translating the
autoplay
attribute into adata-autoplay
attribute in a preprocessing step and invert this translation when the slide is active (and again once it becomes inactive).