JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.3
[ckeditor.git] / _source / plugins / flash / plugin.js
index 873fc56..7641a9e 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -107,7 +107,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                                var attributes = element.attributes,\r
                                                                        classId = attributes.classid && String( attributes.classid ).toLowerCase();\r
 \r
-                                                               if ( !classId )\r
+                                                               if ( !classId && !isFlashEmbed( element ) )\r
                                                                {\r
                                                                        // Look for the inner <embed>\r
                                                                        for ( var i = 0 ; i < element.children.length ; i++ )\r