Closed reagle closed 10 years ago
The video tag example is working for me in the same version of Chrome. It starts playing when entering the slide, and stops again when leaving it.
The YouTube iframe example is busted, trying to figure out the issue there now.
Tried FF 27 too and had the same experience there: <video>
works but not the YouTube iframe.
On my office computer I confirm that autopause is working with Chrome
Bug still present in FF29. Any news?
This has been fixed (in dev) – turns out embed URL's are now required to contain enablejsapi=1
for the API to work. From now on reveal.js will inspect the presentation HTML and rewrite any YouTube URL that does not already contain the required flag.
Also added support for Vimeo videos.
Thanks! (dev is sufficiently different that my existing slides (generated from pandoc) don't work with it, so I can't test yet.)
Sorry for resurrecting such an old issue, but the fix doesn't work for me (i.e. when not adding enablejsapi=1
to the embed URL in my iframe the video doesn't pause upon navigating away from the slide).
Further, I can't get the video to autoplay when I enter the slide; when I add &autoplay=1
to the URL, the video will start once I start the presentation, not once I reach the slide that it's on.
Same issue as above. YouTube videos will autoplay when autoplay=1
is set in the embed url, but it starts when the presentation is loaded.
Exactly the same issue more than two years later. Maybe it makes sense to reopen the issue? Youtube iframes with &autoplay=1
will start playing once the presentation is loaded. Is there any updated workaround for this?
This is a bug related to the feature implemented in #388 . If you look at the two slides following 1 in Chrome 33.0.1750.152 you see that neither iframe nor video pause upon advance. In FF 28 the video will pause, and the youtube iframe will not be displayed at all. Using a fresh git pull. It did used to work for me, but stopped at some point relatively recently.