mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 01:15:22 +08:00
[PPE embed] turn on player on app start
This commit is contained in:
@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user