Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using media_internet in conjunction with media_oembed. Media_oembed only provides formatters for 2 of the 5 that the file entity can use. If I try to select the other 3, I get a js error in wysiwyg-media.js on line 195: Uncaught TypeError: Cannot read property 'attributes' of undefined
It's looking for the first node in an empty string, finds nothing but keeps going anyway.
Is this something developers of plugins need to take care of, either by implementing all the formatters or the view modes alter hook?
Comments
Comment #1
mrfelton CreditAttribution: mrfelton commentedThis sounds like the same problem I noted in http://drupal.org/node/1016376#comment-6319856 when using the Google Viewer file format.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedI'm not able to reproduce this with the latest 7.x-2.x-dev of Media and oEmbed 7.x-1.x.