Prior to a code updates including core, and the media module I was able use the media module's media browser utility in the CKeditor WYSIWYG to insert audio files into the body field with the mediaelement module configured for the format I was using. It worked great - upload, insert, save, and play. But now, I can no longer insert audio files while the mediaelement is enabled. Please note that I can still upload and insert the same audio file if I disable mediaelement.

Additionally, if I edit a post where I had previously uploaded and inserted an audio file with mediaelement enabled (back when it was working), the html for the audio file gets stripped out of the body field. I can't see it in the edit form body field. And when I save my edits, the file is no longer in the post. This can be replicated by uploading an audio file with mediaelement disabled, and saving the post. Then configure media element for the format used, clear cache, and play the audio. Then edit the post and and poof, the audio file is gone.

Though the code updates that changed this functionality did not include the mediaelement module, the problem appears to be solely caused by this module, since the WYSIWYG and the media module appear to function perfectly when the mediaelement module is disabled. So, I thought this the proper issue queue to post to.

Comments

aaron’s picture

Priority: Normal » Critical

Bumping this to critical, because the module appears to be completely unusable with the media module.

Dave Reid’s picture

sja1’s picture

Status: Postponed (maintainer needs more info) » Active

I am experiencing the same problem, and it does not appear to be related to the bug reports listed above. What sets this apart is that when mediaelement is enabled, the submit button on the media browser stops working.

While editing a post using wysiwyg (dev version - 7.x-2.2+23-dev) with ckeditor 4.0, and media element 7.x-1.2, I can launch the media browser, choose a video from the library, and hit submit. Then a new dialog appears with a dropdown for choosing the format (view mode) of the video to be embedded. However, on this second dialog the Submit button does not respond when clicked.

If I disable the MediaElement module, this submit button begins to work properly again. I have the same problem with audio files, but not with images. Inserting images works whether or not MediaElement is enabled.

jnettik’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)