From: Vincent Vanwaelscappel Date: Wed, 30 Mar 2022 15:29:22 +0000 (+0200) Subject: wait #5200 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f8614743e5eb4e2cf37e894750878d7f8f900dfc;p=fluidbook-html5.git wait #5200 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index 7bc93d36..ca0b0d7e 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -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(); } });