diff --git a/record-and-playback/presentation/playback/presentation/2.0/playback.js b/record-and-playback/presentation/playback/presentation/2.0/playback.js index 8783cd9016..965f67872f 100755 --- a/record-and-playback/presentation/playback/presentation/2.0/playback.js +++ b/record-and-playback/presentation/playback/presentation/2.0/playback.js @@ -531,16 +531,6 @@ function loadPlayback() { loadAudio(); } - // load up the acorn controls - logger.info("==Loading acorn media player"); - $('#video').acornMediaPlayer({ - theme: 'bigbluebutton', - volumeSlider: 'vertical' - }); - $('#video').on("swap", function() { - swapVideoPresentation(); - }); - if (hasDeskshare) { loadDeskshare(); } else { @@ -802,6 +792,16 @@ document.addEventListener('playback-ready', function(event) { if (dataReady && mediaReady && contentReady) { runPopcorn(); if (firstLoad) { + // load up the acorn controls + logger.info("==Loading acorn media player"); + $('#video').acornMediaPlayer({ + theme: 'bigbluebutton', + volumeSlider: 'vertical' + }); + $('#video').on("swap", function() { + swapVideoPresentation(); + }); + initPopcorn(); } }