Commit b6974113 authored by Maxim Kadushkin's avatar Maxim Kadushkin

[PE embed] debug 'player' mode

parent 2c93966d
......@@ -212,7 +212,10 @@ var ApplicationController = new(function(){
api.ShowThumbnails(false);
api.asc_DeleteVerticalScroll();
if (!embedConfig.autostart || embedConfig.autostart == 'player') onPlayStart();
if (!embedConfig.autostart || embedConfig.autostart == 'player') {
api.SetDemonstrationModeOnly();
onPlayStart();
}
hidePreloader();
if ( !embedConfig.shareUrl )
......@@ -547,7 +550,8 @@ var ApplicationController = new(function(){
});
api = new Asc.asc_docs_api({
'id-view' : 'editor_sdk'
'id-view' : 'editor_sdk',
'embedded' : true
});
if (api){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment