Make it so that embedded YouTube videos stop playing when you change slides
I see that I can grab the embed code from YouTube and then go into HTML mode in rvlio and paste the code there and the video will play fine, but the video won't stop playing automatically when I switch to another slide. Can you make the video stop playing when I change slides?
YouTube videos now stop playing when navigating away from their slide.
-
AdminOwen (Owner, Slides) commented
Yeah, this has regressed. It seems YouTube has dropped or altered its support for the postMessage API that we were using: https://github.com/hakimel/reveal.js/blob/master/js/reveal.js#L2116
There's also an issue in reveal.js for this: https://github.com/hakimel/reveal.js/issues/856
-
Andy Fitzsimon commented
Is there a regression here? it no longer works for me.
It would be great to set this behaviour (autoplay and autostop)