I have some PDF files that have been added to the library, however I am unable to add them. Instead, I get the error in the attached screen shot. The first error occurs when the form shown is loaded. The next ones occur each time "Submit" is attempted to be clicked.
I'll be happy to provide more info if needed, just let me know what you need.
Thanks in advance.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | wysiwyg_media_form_issue.png | 74.72 KB | deggertsen |
| #3 | media_error.png | 56.74 KB | technikh |
| mediamodule-jserror.png | 58.02 KB | RyanPrice |
Comments
Comment #1
askibinski commentedI can confirm this in 2.x-dev with the same javascript errors.
Comment #2
dave reidComment #3
technikh commentedI am getting similar javascript errors
Comment #4
deggertsen commentedSeems like it's not just pdfs. I have a similar if not the same problem with audio files. See screenshot.
This issue basically renders this module useless to me.
Comment #5
steven jones commentedYeah, so this appears to be because an image doesn't get inserted for these elements or somesuch, so for example, I have it set up so that my audio files are rendered in an audio player, but that doesn't return an image, so the wysiwyg chokes. If I add a file display mode that is an image, then it seems to work.
Comment #6
steven jones commentedRight, it would seem that formatters need to be aware that media module can only embed images, and take action accordingly, I'm going to open an issue with mediaelement (where I have the issue at the moment).
Comment #7
steven jones commentedSee: #1462854: Breaks when media module inserts into a WYSIWYG for my fix for mediaelement.
Comment #8
devin carlson commentedThis is a duplicate of #1283844: [meta] Improve WYSIWYG integration.