[PE] Add video/audio (#350)

This commit is contained in:
Julia Radzhabova 2020-02-26 13:28:27 +03:00 committed by GitHub
parent ca46cf41b0
commit b1f4715424
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3568,9 +3568,9 @@ define([
onClickPlaceholder: function(type, obj, x, y) { onClickPlaceholder: function(type, obj, x, y) {
if (!this.api) return; if (!this.api) return;
if (type == AscCommon.PlaceholderButtonType.Video) { if (type == AscCommon.PlaceholderButtonType.Video) {
// this.api.addVideo(obj); this.api.asc_AddVideo(obj);
} else if (type == AscCommon.PlaceholderButtonType.Audio) { } else if (type == AscCommon.PlaceholderButtonType.Audio) {
// this.api.addAudio(obj); this.api.asc_AddAudio(obj);
} }
this.fireEvent('editcomplete', this); this.fireEvent('editcomplete', this);
}, },