[PPE embed] turn on player on app start
This commit is contained in:
parent
8851957a4a
commit
93d484dc72
|
@ -191,6 +191,7 @@
|
||||||
editorConfig: {
|
editorConfig: {
|
||||||
licenseUrl: <url for license>,
|
licenseUrl: <url for license>,
|
||||||
customerId: <customer id>,
|
customerId: <customer id>,
|
||||||
|
autostart: 'document', // action for app's autostart. for presentations default value is 'player'
|
||||||
embedded: {
|
embedded: {
|
||||||
embedUrl: 'url',
|
embedUrl: 'url',
|
||||||
fullscreenUrl: 'url',
|
fullscreenUrl: 'url',
|
||||||
|
|
|
@ -212,6 +212,7 @@ var ApplicationController = new(function(){
|
||||||
api.ShowThumbnails(false);
|
api.ShowThumbnails(false);
|
||||||
api.asc_DeleteVerticalScroll();
|
api.asc_DeleteVerticalScroll();
|
||||||
|
|
||||||
|
if (!embedConfig.autostart || embedConfig.autostart == 'player') onPlayStart();
|
||||||
hidePreloader();
|
hidePreloader();
|
||||||
|
|
||||||
if ( !embedConfig.shareUrl )
|
if ( !embedConfig.shareUrl )
|
||||||
|
|
Loading…
Reference in a new issue