You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that you don't support audio and video from mediamanager.
I've tried to add the feature by editing the ocmediamanager plugin like this: for (var i=0, len=items.length; i<len; i++) { if (items[i].documentType == 'audio') { editor.insertHtml('<audio src="' + items[i].publicUrl + '"controls />'); } else if (items[i].documentType == 'image') { editor.insertHtml('<img src="' + items[i].publicUrl + '" />', 'unfiltered_html'); } else { alert('The file "'+items[i].title+'" is not an image.') continue }
but still I don't get any audio file. i've tried adding following line to the config:
CKEDITOR.config.extraAllowedContent = 'audio';
but then i get following
can you help me
The text was updated successfully, but these errors were encountered:
I saw that you don't support audio and video from mediamanager.
I've tried to add the feature by editing the ocmediamanager plugin like this:
for (var i=0, len=items.length; i<len; i++) { if (items[i].documentType == 'audio') { editor.insertHtml('<audio src="' + items[i].publicUrl + '"controls />'); } else if (items[i].documentType == 'image') { editor.insertHtml('<img src="' + items[i].publicUrl + '" />', 'unfiltered_html'); } else { alert('The file "'+items[i].title+'" is not an image.') continue }
but still I don't get any audio file. i've tried adding following line to the config:
CKEDITOR.config.extraAllowedContent = 'audio';
but then i get following
can you help me
The text was updated successfully, but these errors were encountered: