[PE] Add video/audio (#350)
This commit is contained in:
parent
ca46cf41b0
commit
b1f4715424
|
@ -3568,9 +3568,9 @@ define([
|
|||
onClickPlaceholder: function(type, obj, x, y) {
|
||||
if (!this.api) return;
|
||||
if (type == AscCommon.PlaceholderButtonType.Video) {
|
||||
// this.api.addVideo(obj);
|
||||
this.api.asc_AddVideo(obj);
|
||||
} else if (type == AscCommon.PlaceholderButtonType.Audio) {
|
||||
// this.api.addAudio(obj);
|
||||
this.api.asc_AddAudio(obj);
|
||||
}
|
||||
this.fireEvent('editcomplete', this);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue