Im trying to use the insert / edit embedded media section in the editor, to put an iframe in place. But when i press insert it throws the follow javascript error
TypeError: Cannot read property 'attributesOrder' of undefined [http://cartreficymru.dev.prec/umbraco/plugins/tinymce3/tinymce3tinymceCompress.aspx?rnd=fbb71290-e69f-4fcc-9f5b-0172efe086a2&module=gzipmodule&themes=umbraco&plugins=contextmenu,umbracomacro,noneditable,inlinepopups,table,advlink,media,paste,spellchecker,umbracoimg,umbracocss&languages=en:3092]
TinyMCE Javascript error
Hi
Im using Umbraco 4.7.0
Im trying to use the insert / edit embedded media section in the editor, to put an iframe in place. But when i press insert it throws the follow javascript error
TypeError: Cannot read property 'attributesOrder' of undefined [http://cartreficymru.dev.prec/umbraco/plugins/tinymce3/tinymce3tinymceCompress.aspx?rnd=fbb71290-e69f-4fcc-9f5b-0172efe086a2&module=gzipmodule&themes=umbraco&plugins=contextmenu,umbracomacro,noneditable,inlinepopups,table,advlink,media,paste,spellchecker,umbracoimg,umbracocss&languages=en:3092]
Many thanks
Ian
Hi Ian
What browser do you experience this in? And what kind of media are you trying to insert?
/Jan
Hi Jan
It happens in all browsers, it errors when trying to insert an iframe with a link to a YouTube video
Ian
Hi Ian
Usually the best practice for inserting youtube videos is to use one of the many packages available in the package repository instead.
Then you can place the video by inserting a macro in the rich text editor.
You can see a wide range of the different options here: http://our.umbraco.org/search?q=video&content=project,
I can recommend this one, which is done by Dan Drayne: http://our.umbraco.org/projects/backoffice-extensions/insert-video-%28flowplayer%29
Hope this helps.
/Jan
is working on a reply...