fix data-autoplay on first slide

This commit is contained in:
Hakim El Hattab 2014-05-20 08:53:25 +02:00
parent 8c9c0ab0a6
commit c1ea5282e1

View File

@ -1818,7 +1818,7 @@
}
// Handle embedded content
if( slideChanged ) {
if( slideChanged || !previousSlide ) {
stopEmbeddedContent( previousSlide );
startEmbeddedContent( currentSlide );
}