8fc7e13
diff -up wordpress/wp-includes/js/tinymce/plugins/media/plugin.js.orig wordpress/wp-includes/js/tinymce/plugins/media/plugin.js
8fc7e13
--- wordpress/wp-includes/js/tinymce/plugins/media/plugin.js.orig	2019-02-21 14:59:28.793415420 +0100
8fc7e13
+++ wordpress/wp-includes/js/tinymce/plugins/media/plugin.js	2019-02-21 15:00:14.319647286 +0100
8fc7e13
@@ -166,7 +166,6 @@ var media = (function () {
8fc7e13
         mp4: 'video/mp4',
8fc7e13
         webm: 'video/webm',
8fc7e13
         ogg: 'video/ogg',
8fc7e13
-        swf: 'application/x-shockwave-flash'
8fc7e13
       };
8fc7e13
       var fileEnd = url.toLowerCase().split('.').pop();
8fc7e13
       var mime = mimes[fileEnd];
8fc7e13
@@ -424,14 +423,6 @@ var media = (function () {
8fc7e13
       var allowFullscreen = data.allowFullscreen ? ' allowFullscreen="1"' : '';
8fc7e13
       return '<iframe src="' + data.source1 + '" width="' + data.width + '" height="' + data.height + '"' + allowFullscreen + '></iframe>';
8fc7e13
     };
8fc7e13
-    var getFlashHtml = function (data) {
8fc7e13
-      var html = '<object data="' + data.source1 + '" width="' + data.width + '" height="' + data.height + '" type="application/x-shockwave-flash">';
8fc7e13
-      if (data.poster) {
8fc7e13
-        html += '';
8fc7e13
-      }
8fc7e13
-      html += '</object>';
8fc7e13
-      return html;
8fc7e13
-    };
8fc7e13
     var getAudioHtml = function (data, audioTemplateCallback) {
8fc7e13
       if (audioTemplateCallback) {
8fc7e13
         return audioTemplateCallback(data);
8fc7e13
@@ -494,8 +485,6 @@ var media = (function () {
8fc7e13
         });
8fc7e13
         if (data.type === 'iframe') {
8fc7e13
           return getIframeHtml(data);
8fc7e13
-        } else if (data.source1mime === 'application/x-shockwave-flash') {
8fc7e13
-          return getFlashHtml(data);
8fc7e13
         } else if (data.source1mime.indexOf('audio') !== -1) {
8fc7e13
           return getAudioHtml(data, audioTemplateCallback);
8fc7e13
         } else if (data.type === 'script') {