[PPE embed] turn on player on app start
This commit is contained in:
parent
8851957a4a
commit
93d484dc72
|
@ -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',
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue