]> _ Git - fluidbook-html5.git/commitdiff
wait #5200
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 30 Mar 2022 15:29:22 +0000 (17:29 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 30 Mar 2022 15:29:22 +0000 (17:29 +0200)
js/libs/fluidbook/fluidbook.menu.js

index 7bc93d36d58c52e59b703e0ec6a3951f90adf7dd..ca0b0d7e1135dede664a9f52c81c6dcf64e112b6 100644 (file)
@@ -296,7 +296,7 @@ FluidbookMenu.prototype = {
         $.each(times, function (k, v) {
             setTimeout(function () {
                 $('[data-menu="video"] .video-js').each(function () {
-                    if ($(this).parent().attr('autoplay') == 'true') {
+                    if ($(this).parent().data('autoplay') == 1) {
                         videojs.players[$(this).attr('id')].play();
                     }
                 });