[PE embed] debug 'player' mode
This commit is contained in:
parent
2c93966dd2
commit
b697411317
|
@ -212,7 +212,10 @@ var ApplicationController = new(function(){
|
||||||
api.ShowThumbnails(false);
|
api.ShowThumbnails(false);
|
||||||
api.asc_DeleteVerticalScroll();
|
api.asc_DeleteVerticalScroll();
|
||||||
|
|
||||||
if (!embedConfig.autostart || embedConfig.autostart == 'player') onPlayStart();
|
if (!embedConfig.autostart || embedConfig.autostart == 'player') {
|
||||||
|
api.SetDemonstrationModeOnly();
|
||||||
|
onPlayStart();
|
||||||
|
}
|
||||||
hidePreloader();
|
hidePreloader();
|
||||||
|
|
||||||
if ( !embedConfig.shareUrl )
|
if ( !embedConfig.shareUrl )
|
||||||
|
@ -547,7 +550,8 @@ var ApplicationController = new(function(){
|
||||||
});
|
});
|
||||||
|
|
||||||
api = new Asc.asc_docs_api({
|
api = new Asc.asc_docs_api({
|
||||||
'id-view' : 'editor_sdk'
|
'id-view' : 'editor_sdk',
|
||||||
|
'embedded' : true
|
||||||
});
|
});
|
||||||
|
|
||||||
if (api){
|
if (api){
|
||||||
|
|
Loading…
Reference in a new issue