Blob Blame History Raw
--- ./wp-includes/js/tinymce/plugins/media/plugin.js.orig	2017-06-09 13:24:42.303748183 +0200
+++ ./wp-includes/js/tinymce/plugins/media/plugin.js	2017-06-09 13:25:21.965958105 +0200
@@ -937,8 +937,7 @@
         'wav': 'audio/wav',
         'mp4': 'video/mp4',
         'webm': 'video/webm',
-        'ogg': 'video/ogg',
-        'swf': 'application/x-shockwave-flash'
+        'ogg': 'video/ogg'
       };
       var fileEnd = url.toLowerCase().split('.').pop();
       var mime = mimes[fileEnd];
@@ -1111,18 +1110,6 @@
             '" width="' + data.width +
             '" height="' + data.height +
             '"' + allowFullscreen + '></iframe>';
-        } else if (data.source1mime === "application/x-shockwave-flash") {
-          html +=
-            '<object data="' + data.source1 +
-            '" width="' + data.width +
-            '" height="' + data.height +
-            '" type="application/x-shockwave-flash">';
-
-          if (data.poster) {
-            html += '<img src="' + data.poster + '" width="' + data.width + '" height="' + data.height + '" />';
-          }
-
-          html += '</object>';
         } else if (data.source1mime.indexOf('audio') !== -1) {
           if (editor.settings.audio_template_callback) {
             html = editor.settings.audio_template_callback(data);