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?


mrfelton’s picture

This sounds like the same problem I noted in http://drupal.org/node/1016376#comment-6319856 when using the Google Viewer file format.

Devin Carlson’s picture

Component: WYSIWYG integration » Code
Issue summary: View changes
Status: Active » Closed (cannot reproduce)

I'm not able to reproduce this with the latest 7.x-2.x-dev of Media and oEmbed 7.x-1.x.