[PPE embed] turn on player on app start

This commit is contained in:
Maxim Kadushkin 2016-11-11 15:13:25 +03:00
parent 8851957a4a
commit 93d484dc72
2 changed files with 2 additions and 0 deletions

View file

@ -191,6 +191,7 @@
editorConfig: {
licenseUrl: <url for license>,
customerId: <customer id>,
autostart: 'document', // action for app's autostart. for presentations default value is 'player'
embedded: {
embedUrl: 'url',
fullscreenUrl: 'url',

View file

@ -212,6 +212,7 @@ var ApplicationController = new(function(){
api.ShowThumbnails(false);
api.asc_DeleteVerticalScroll();
if (!embedConfig.autostart || embedConfig.autostart == 'player') onPlayStart();
hidePreloader();
if ( !embedConfig.shareUrl )