diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index 4587dbcae..5ea9d4f1e 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -191,6 +191,7 @@ editorConfig: { licenseUrl: , customerId: , + autostart: 'document', // action for app's autostart. for presentations default value is 'player' embedded: { embedUrl: 'url', fullscreenUrl: 'url', diff --git a/apps/presentationeditor/embed/js/ApplicationController.js b/apps/presentationeditor/embed/js/ApplicationController.js index 71039061e..58bd58327 100644 --- a/apps/presentationeditor/embed/js/ApplicationController.js +++ b/apps/presentationeditor/embed/js/ApplicationController.js @@ -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 )