<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[42462] trunk/src: External Libraries: Remove unnecessary / obsoleted MediaElement.js files.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/42462">42462</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/42462","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>dd32</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2018-01-16 06:27:48 +0000 (Tue, 16 Jan 2018)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>External Libraries: Remove unnecessary / obsoleted MediaElement.js files.

Props joemcgill.
Fixes <a href="https://core.trac.wordpress.org/ticket/42720">#42720</a> for trunk.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadminincludesupdatecorephp">trunk/src/wp-admin/includes/update-core.php</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li>trunk/src/wp-includes/js/mediaelement/lang/</li>
<li><a href="#trunksrcwpincludesjsmediaelementmediaelementflashaudiooggswf">trunk/src/wp-includes/js/mediaelement/mediaelement-flash-audio-ogg.swf</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementmediaelementflashaudioswf">trunk/src/wp-includes/js/mediaelement/mediaelement-flash-audio.swf</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementmediaelementflashvideohlsswf">trunk/src/wp-includes/js/mediaelement/mediaelement-flash-video-hls.swf</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementmediaelementflashvideomdashswf">trunk/src/wp-includes/js/mediaelement/mediaelement-flash-video-mdash.swf</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementmediaelementflashvideoswf">trunk/src/wp-includes/js/mediaelement/mediaelement-flash-video.swf</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementrenderersdailymotionjs">trunk/src/wp-includes/js/mediaelement/renderers/dailymotion.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementrenderersdailymotionminjs">trunk/src/wp-includes/js/mediaelement/renderers/dailymotion.min.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementrenderersfacebookjs">trunk/src/wp-includes/js/mediaelement/renderers/facebook.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementrenderersfacebookminjs">trunk/src/wp-includes/js/mediaelement/renderers/facebook.min.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementrendererssoundcloudjs">trunk/src/wp-includes/js/mediaelement/renderers/soundcloud.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementrendererssoundcloudminjs">trunk/src/wp-includes/js/mediaelement/renderers/soundcloud.min.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementrendererstwitchjs">trunk/src/wp-includes/js/mediaelement/renderers/twitch.js</a></li>
<li><a href="#trunksrcwpincludesjsmediaelementrendererstwitchminjs">trunk/src/wp-includes/js/mediaelement/renderers/twitch.min.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadminincludesupdatecorephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/update-core.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/update-core.php       2018-01-16 03:56:01 UTC (rev 42461)
+++ trunk/src/wp-admin/includes/update-core.php 2018-01-16 06:27:48 UTC (rev 42462)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -743,6 +743,42 @@
</span><span class="cx" style="display: block; padding: 0 10px">        'wp-includes/js/plupload/plupload.silverlight.xap',
</span><span class="cx" style="display: block; padding: 0 10px">        'wp-includes/js/swfupload/plugins',
</span><span class="cx" style="display: block; padding: 0 10px">        'wp-includes/js/swfupload/swfupload.swf',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        // 4.9.2
+       'wp-includes/js/mediaelement/lang',
+       'wp-includes/js/mediaelement/lang/ca.js',
+       'wp-includes/js/mediaelement/lang/cs.js',
+       'wp-includes/js/mediaelement/lang/de.js',
+       'wp-includes/js/mediaelement/lang/es.js',
+       'wp-includes/js/mediaelement/lang/fa.js',
+       'wp-includes/js/mediaelement/lang/fr.js',
+       'wp-includes/js/mediaelement/lang/hr.js',
+       'wp-includes/js/mediaelement/lang/hu.js',
+       'wp-includes/js/mediaelement/lang/it.js',
+       'wp-includes/js/mediaelement/lang/ja.js',
+       'wp-includes/js/mediaelement/lang/ko.js',
+       'wp-includes/js/mediaelement/lang/nl.js',
+       'wp-includes/js/mediaelement/lang/pl.js',
+       'wp-includes/js/mediaelement/lang/pt.js',
+       'wp-includes/js/mediaelement/lang/ro.js',
+       'wp-includes/js/mediaelement/lang/ru.js',
+       'wp-includes/js/mediaelement/lang/sk.js',
+       'wp-includes/js/mediaelement/lang/sv.js',
+       'wp-includes/js/mediaelement/lang/uk.js',
+       'wp-includes/js/mediaelement/lang/zh-cn.js',
+       'wp-includes/js/mediaelement/lang/zh.js',
+       'wp-includes/js/mediaelement/mediaelement-flash-audio-ogg.swf',
+       'wp-includes/js/mediaelement/mediaelement-flash-audio.swf',
+       'wp-includes/js/mediaelement/mediaelement-flash-video-hls.swf',
+       'wp-includes/js/mediaelement/mediaelement-flash-video-mdash.swf',
+       'wp-includes/js/mediaelement/mediaelement-flash-video.swf',
+       'wp-includes/js/mediaelement/renderers/dailymotion.js',
+       'wp-includes/js/mediaelement/renderers/dailymotion.min.js',
+       'wp-includes/js/mediaelement/renderers/facebook.js',
+       'wp-includes/js/mediaelement/renderers/facebook.min.js',
+       'wp-includes/js/mediaelement/renderers/soundcloud.js',
+       'wp-includes/js/mediaelement/renderers/soundcloud.min.js',
+       'wp-includes/js/mediaelement/renderers/twitch.js',
+       'wp-includes/js/mediaelement/renderers/twitch.min.js',
</ins><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementmediaelementflashaudiooggswf"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/mediaelement-flash-audio-ogg.swf</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementmediaelementflashaudioswf"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/mediaelement-flash-audio.swf</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementmediaelementflashvideohlsswf"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/mediaelement-flash-video-hls.swf</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementmediaelementflashvideomdashswf"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/mediaelement-flash-video-mdash.swf</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementmediaelementflashvideoswf"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/mediaelement-flash-video.swf</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementrenderersdailymotionjs"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/renderers/dailymotion.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/mediaelement/renderers/dailymotion.js    2018-01-16 03:56:01 UTC (rev 42461)
+++ trunk/src/wp-includes/js/mediaelement/renderers/dailymotion.js      2018-01-16 06:27:48 UTC (rev 42462)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,415 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*!
- * MediaElement.js
- * http://www.mediaelementjs.com/
- *
- * Wrapper that mimics native HTML5 MediaElement (audio and video)
- * using a variety of technologies (pure JavaScript, Flash, iframe)
- *
- * Copyright 2010-2017, John Dyer (http://j.hn/)
- * License: MIT
- *
- */(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
-'use strict';
-
-var DailyMotionApi = {
-       isSDKStarted: false,
-
-       isSDKLoaded: false,
-
-       iframeQueue: [],
-
-       enqueueIframe: function enqueueIframe(settings) {
-
-               if (DailyMotionApi.isLoaded) {
-                       DailyMotionApi.createIframe(settings);
-               } else {
-                       DailyMotionApi.loadIframeApi();
-                       DailyMotionApi.iframeQueue.push(settings);
-               }
-       },
-
-       loadIframeApi: function loadIframeApi() {
-               if (!DailyMotionApi.isSDKStarted) {
-                       mejs.Utils.loadScript('https://api.dmcdn.net/all.js');
-                       DailyMotionApi.isSDKStarted = true;
-               }
-       },
-
-       apiReady: function apiReady() {
-
-               DailyMotionApi.isLoaded = true;
-               DailyMotionApi.isSDKLoaded = true;
-
-               while (DailyMotionApi.iframeQueue.length > 0) {
-                       var settings = DailyMotionApi.iframeQueue.pop();
-
-                       DM.init({
-                               apiKey: settings.apiKey,
-                               status: settings.status,
-                               cookie: settings.cookie
-                       });
-
-                       DailyMotionApi.createIframe(settings);
-               }
-       },
-
-       createIframe: function createIframe(settings) {
-
-               var player = DM.player(settings.container, {
-                       height: settings.height || '100%',
-                       width: settings.width || '100%',
-                       video: settings.videoId,
-                       params: Object.assign({ api: true }, settings.params),
-                       origin: location.host
-               });
-
-               player.addEventListener('apiready', function () {
-                       window['__ready__' + settings.id](player, { paused: true, ended: false });
-               });
-       },
-
-       getDailyMotionId: function getDailyMotionId(url) {
-               var parts = url.split('/'),
-                   lastPart = parts[parts.length - 1],
-                   dashParts = lastPart.split('_');
-
-               return dashParts[0];
-       }
-};
-
-var DailyMotionIframeRenderer = {
-       name: 'dailymotion_iframe',
-       options: {
-               prefix: 'dailymotion_iframe',
-               dailymotion: {
-                       width: '100%',
-                       height: '100%',
-                       params: {
-                               autoplay: false,
-                               chromeless: 1,
-                               info: 0,
-                               logo: 0,
-                               related: 0
-                       },
-                       apiKey: null,
-                       status: true,
-                       cookie: true
-               }
-       },
-
-       canPlayType: function canPlayType(type) {
-               return ~['video/dailymotion', 'video/x-dailymotion'].indexOf(type.toLowerCase());
-       },
-
-       create: function create(mediaElement, options, mediaFiles) {
-
-               var dm = {},
-                   apiStack = [],
-                   readyState = 4;
-
-               var events = void 0,
-                   dmPlayer = null,
-                   dmIframe = null,
-                   muted = mediaElement.originalNode.muted;
-
-               dm.options = options;
-               dm.id = mediaElement.id + '_' + options.prefix;
-               dm.mediaElement = mediaElement;
-
-               var props = mejs.html5media.properties,
-                   assignGettersSetters = function assignGettersSetters(propName) {
-
-                       var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
-
-                       dm['get' + capName] = function () {
-                               if (dmPlayer !== null) {
-                                       var value = null;
-
-                                       switch (propName) {
-                                               case 'currentTime':
-                                                       return dmPlayer.currentTime;
-                                               case 'duration':
-                                                       return isNaN(dmPlayer.duration) ? 0 : dmPlayer.duration;
-                                               case 'volume':
-                                                       return dmPlayer.volume;
-                                               case 'paused':
-                                                       return dmPlayer.paused;
-                                               case 'ended':
-                                                       return dmPlayer.ended;
-                                               case 'muted':
-                                                       muted = dmPlayer.muted;
-                                                       return muted;
-                                               case 'buffered':
-                                                       var percentLoaded = dmPlayer.bufferedTime,
-                                                           duration = dmPlayer.duration;
-                                                       return {
-                                                               start: function start() {
-                                                                       return 0;
-                                                               },
-                                                               end: function end() {
-                                                                       return percentLoaded / duration;
-                                                               },
-                                                               length: 1
-                                                       };
-                                               case 'src':
-                                                       return mediaElement.originalNode.getAttribute('src');
-                                               case 'readyState':
-                                                       return readyState;
-                                       }
-
-                                       return value;
-                               } else {
-                                       return null;
-                               }
-                       };
-
-                       dm['set' + capName] = function (value) {
-                               if (dmPlayer !== null) {
-                                       switch (propName) {
-                                               case 'src':
-                                                       var url = typeof value === 'string' ? value : value[0].src;
-                                                       dmPlayer.load(DailyMotionApi.getDailyMotionId(url));
-                                                       break;
-                                               case 'currentTime':
-                                                       dmPlayer.seek(value);
-                                                       break;
-                                               case 'muted':
-                                                       if (value === true) {
-                                                               dmPlayer.setVolume(0);
-                                                       }
-                                                       dmPlayer.setMuted(value);
-                                                       muted = value;
-                                                       setTimeout(function () {
-                                                               var event = mejs.Utils.createEvent('volumechange', dm);
-                                                               mediaElement.dispatchEvent(event);
-                                                       }, 50);
-                                                       break;
-                                               case 'volume':
-                                                       dmPlayer.setVolume(value);
-                                                       if (value === 0 && !dmPlayer.muted) {
-                                                               dmPlayer.setMuted(true);
-                                                               muted = true;
-                                                       } else if (value > 0 && dmPlayer.muted) {
-                                                               dmPlayer.setMuted(false);
-                                                               muted = false;
-                                                       }
-
-                                                       setTimeout(function () {
-                                                               var event = mejs.Utils.createEvent('volumechange', dm);
-                                                               mediaElement.dispatchEvent(event);
-                                                       }, 50);
-                                                       break;
-                                               case 'readyState':
-                                                       var event = mejs.Utils.createEvent('canplay', dm);
-                                                       mediaElement.dispatchEvent(event);
-                                                       break;
-                                               default:
-                                                       
-                                                       break;
-                                       }
-                               } else {
-                                       apiStack.push({ type: 'set', propName: propName, value: value });
-                               }
-                       };
-               };
-
-               for (var i = 0, total = props.length; i < total; i++) {
-                       assignGettersSetters(props[i]);
-               }
-
-               var methods = mejs.html5media.methods,
-                   assignMethods = function assignMethods(methodName) {
-                       dm[methodName] = function () {
-                               if (dmPlayer !== null) {
-                                       switch (methodName) {
-                                               case 'play':
-                                                       return dmPlayer.play();
-                                               case 'pause':
-                                                       return dmPlayer.pause();
-                                               case 'load':
-                                                       return null;
-                                       }
-                               } else {
-                                       apiStack.push({ type: 'call', methodName: methodName });
-                               }
-                       };
-               };
-
-               for (var _i = 0, _total = methods.length; _i < _total; _i++) {
-                       assignMethods(methods[_i]);
-               }
-
-               window['__ready__' + dm.id] = function (_dmPlayer) {
-
-                       mediaElement.dmPlayer = dmPlayer = _dmPlayer;
-
-                       if (apiStack.length) {
-                               for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
-
-                                       var stackItem = apiStack[_i2];
-
-                                       if (stackItem.type === 'set') {
-                                               var propName = stackItem.propName,
-                                                   capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
-
-                                               dm['set' + capName](stackItem.value);
-                                       } else if (stackItem.type === 'call') {
-                                               dm[stackItem.methodName]();
-                                       }
-                               }
-                       }
-
-                       dmIframe = document.getElementById(dm.id);
-
-                       events = ['mouseover', 'mouseout'];
-                       var assignEvents = function assignEvents(e) {
-                               var event = mejs.Utils.createEvent(e.type, dm);
-                               mediaElement.dispatchEvent(event);
-                       };
-
-                       for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) {
-                               dmIframe.addEventListener(events[_i3], assignEvents, false);
-                       }
-
-                       if (mediaElement.originalNode.muted) {
-                               dmPlayer.setVolume(0);
-                               dmPlayer.setMuted(true);
-                       } else {
-                               dmPlayer.setVolume(dmPlayer.volume);
-                               dmPlayer.setMuted(false);
-                       }
-
-                       events = mejs.html5media.events;
-                       events = events.concat(['click', 'mouseover', 'mouseout']);
-                       var assignNativeEvents = function assignNativeEvents(eventName) {
-                               if (eventName !== 'ended') {
-                                       dmPlayer.addEventListener(eventName, function (e) {
-                                               var event = mejs.Utils.createEvent(e.type, dm);
-                                               mediaElement.dispatchEvent(event);
-                                       });
-                               }
-                       };
-
-                       for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) {
-                               assignNativeEvents(events[_i4]);
-                       }
-
-                       dmPlayer.addEventListener('ad_start', function () {
-                               var event = mejs.Utils.createEvent('play', dm);
-                               mediaElement.dispatchEvent(event);
-
-                               event = mejs.Utils.createEvent('progress', dm);
-                               mediaElement.dispatchEvent(event);
-
-                               event = mejs.Utils.createEvent('timeupdate', dm);
-                               mediaElement.dispatchEvent(event);
-                       });
-                       dmPlayer.addEventListener('ad_timeupdate', function () {
-                               var event = mejs.Utils.createEvent('timeupdate', dm);
-                               mediaElement.dispatchEvent(event);
-                       });
-                       dmPlayer.addEventListener('ad_pause', function () {
-                               var event = mejs.Utils.createEvent('pause', dm);
-                               mediaElement.dispatchEvent(event);
-                       });
-                       dmPlayer.addEventListener('start', function () {
-                               if (dmPlayer.muted) {
-                                       var event = mejs.Utils.createEvent('volumechange', dm);
-                                       mediaElement.dispatchEvent(event);
-                               }
-                       });
-                       dmPlayer.addEventListener('video_start', function () {
-                               var event = mejs.Utils.createEvent('play', dm);
-                               mediaElement.dispatchEvent(event);
-
-                               var playingEvent = mejs.Utils.createEvent('playing', dm);
-                               mediaElement.dispatchEvent(playingEvent);
-                       });
-                       dmPlayer.addEventListener('ad_timeupdate', function () {
-                               var event = mejs.Utils.createEvent('timeupdate', dm);
-                               mediaElement.dispatchEvent(event);
-                       });
-                       dmPlayer.addEventListener('video_end', function () {
-                               var event = mejs.Utils.createEvent('ended', dm);
-                               mediaElement.dispatchEvent(event);
-
-                               if (mediaElement.originalNode.getAttribute('loop')) {
-                                       dmPlayer.play();
-                               }
-                       });
-
-                       var initEvents = ['rendererready', 'loadedmetadata', 'loadeddata', 'canplay'];
-
-                       for (var _i5 = 0, _total5 = initEvents.length; _i5 < _total5; _i5++) {
-                               var event = mejs.Utils.createEvent(initEvents[_i5], dm);
-                               mediaElement.dispatchEvent(event);
-                       }
-               };
-
-               var dmContainer = document.createElement('div');
-               dmContainer.id = dm.id;
-               mediaElement.appendChild(dmContainer);
-               if (mediaElement.originalNode) {
-                       dmContainer.style.width = mediaElement.originalNode.style.width;
-                       dmContainer.style.height = mediaElement.originalNode.style.height;
-               }
-               mediaElement.originalNode.style.display = 'none';
-
-               var videoId = DailyMotionApi.getDailyMotionId(mediaFiles[0].src),
-                   dmSettings = {
-                       id: dm.id,
-                       container: dmContainer,
-                       videoId: videoId
-               };
-
-               dmSettings.params = Object.assign({}, dm.options.dailymotion);
-
-               dmSettings.params.controls = !!mediaElement.originalNode.controls;
-
-               if (mediaElement.originalNode.autoplay) {
-                       dmSettings.params.autoplay = true;
-               }
-               if (mediaElement.originalNode.muted) {
-                       dmSettings.params.mute = true;
-               }
-               dmSettings.params.api = '1';
-
-               DailyMotionApi.enqueueIframe(dmSettings);
-
-               dm.hide = function () {
-                       dm.pause();
-                       if (dmIframe) {
-                               dmIframe.style.display = 'none';
-                       }
-               };
-               dm.show = function () {
-                       if (dmIframe) {
-                               dmIframe.style.display = '';
-                       }
-               };
-               dm.setSize = function (width, height) {
-                       if (dmIframe) {
-                               dmIframe.width = width;
-                               dmIframe.height = height;
-                       }
-               };
-               dm.destroy = function () {
-                       dmPlayer.destroy();
-               };
-
-               return dm;
-       }
-};
-
-mejs.Utils.typeChecks.push(function (url) {
-       return (/\/\/((www\.)?dailymotion\.com|dai\.ly)/i.test(url) ? 'video/x-dailymotion' : null
-       );
-});
-
-window.dmAsyncInit = function () {
-       DailyMotionApi.apiReady();
-};
-
-mejs.Renderers.add(DailyMotionIframeRenderer);
-
-},{}]},{},[1]);
</del></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementrenderersdailymotionminjs"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/renderers/dailymotion.min.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/mediaelement/renderers/dailymotion.min.js        2018-01-16 03:56:01 UTC (rev 42461)
+++ trunk/src/wp-includes/js/mediaelement/renderers/dailymotion.min.js  2018-01-16 06:27:48 UTC (rev 42462)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*!
- * MediaElement.js
- * http://www.mediaelementjs.com/
- *
- * Wrapper that mimics native HTML5 MediaElement (audio and video)
- * using a variety of technologies (pure JavaScript, Flash, iframe)
- *
- * Copyright 2010-2017, John Dyer (http://j.hn/)
- * License: MIT
- *
- */
-!function e(t,a,n){function i(s,o){if(!a[s]){if(!t[s]){var d="function"==typeof require&&require;if(!o&&d)return d(s,!0);if(r)return r(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=a[s]={exports:{}};t[s][0].call(l.exports,function(e){var a=t[s][1][e];return i(a||e)},l,l.exports,e,t,a,n)}return a[s].exports}for(var r="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,a){"use strict";var n={isSDKStarted:!1,isSDKLoaded:!1,iframeQueue:[],enqueueIframe:function(e){n.isLoaded?n.createIframe(e):(n.loadIframeApi(),n.iframeQueue.push(e))},loadIframeApi:function(){n.isSDKStarted||(mejs.Utils.loadScript("https://api.dmcdn.net/all.js"),n.isSDKStarted=!0)},apiReady:function(){for(n.isLoaded=!0,n.isSDKLoaded=!0;n.iframeQueue.length>0;){var e=n.iframeQueue.pop();DM.init({apiKey:e.apiKey,status:e.status,cookie:e.cook
 ie}),n.createIframe(e)}},createIframe:function(e){var t=DM.player(e.container,{height:e.height||"100%",width:e.width||"100%",video:e.videoId,params:Object.assign({api:!0},e.params),origin:location.host});t.addEventListener("apiready",function(){window["__ready__"+e.id](t,{paused:!0,ended:!1})})},getDailyMotionId:function(e){var t=e.split("/");return t[t.length-1].split("_")[0]}},i={name:"dailymotion_iframe",options:{prefix:"dailymotion_iframe",dailymotion:{width:"100%",height:"100%",params:{autoplay:!1,chromeless:1,info:0,logo:0,related:0},apiKey:null,status:!0,cookie:!0}},canPlayType:function(e){return~["video/dailymotion","video/x-dailymotion"].indexOf(e.toLowerCase())},create:function(e,t,a){var i={},r=[],s=void 0,o=null,d=null,u=e.originalNode.muted;i.options=t,i.id=e.id+"_"+t.prefix,i.mediaElement=e;for(var l=mejs.html5media.properties,c=0,m=l.length
 ;c<m;c++)!function(t){var a=""+t.substring(0,1).toUpperCase()+t.substring(1);i["get"+a]=function(){if(null!==o){switch(t){case"currentTime":return o.currentTime;case"duration":return isNaN(o.duration)?0:o.duration;case"volume":return o.volume;case"paused":return o.paused;case"ended":return o.ended;case"muted":return u=o.muted;case"buffered":var a=o.bufferedTime,n=o.duration;return{start:function(){return 0},end:function(){return a/n},length:1};case"src":return e.originalNode.getAttribute("src");case"readyState":return 4}return null}return null},i["set"+a]=function(a){if(null!==o)switch(t){case"src":var s="string"==typeof a?a:a[0].src;o.load(n.getDailyMotionId(s));break;case"currentTime":o.seek(a);break;case"muted":!0===a&&o.setVolume(0),o.setMuted(a),u=a,setTimeout(function(){var t=mejs.Utils.createEvent(
 "volumechange",i);e.dispatchEvent(t)},50);break;case"volume":o.setVolume(a),0!==a||o.muted?a>0&&o.muted&&(o.setMuted(!1),u=!1):(o.setMuted(!0),u=!0),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",i);e.dispatchEvent(t)},50);break;case"readyState":var d=mejs.Utils.createEvent("canplay",i);e.dispatchEvent(d)}else r.push({type:"set",propName:t,value:a})}}(l[c]);for(var p=mejs.html5media.methods,v=0,f=p.length;v<f;v++)!function(e){i[e]=function(){if(null!==o)switch(e){case"play":return o.play();case"pause":return o.pause();case"load":return null}else r.push({type:"call",methodName:e})}}(p[v]);window["__ready__"+i.id]=function(t){if(e.dmPlayer=o=t,r.length)for(var a=0,n=r.length;a<n;a++){var u=r[a];if("set"===u.type){var l=u.propName,c=""+l.substring(0,1).toUpperCase()+l.substring(1);i["set"+c](u.value)}else
 "call"===u.type&&i[u.methodName]()}d=document.getElementById(i.id);for(var m=0,p=(s=["mouseover","mouseout"]).length;m<p;m++)d.addEventListener(s[m],function(t){var a=mejs.Utils.createEvent(t.type,i);e.dispatchEvent(a)},!1);e.originalNode.muted?(o.setVolume(0),o.setMuted(!0)):(o.setVolume(o.volume),o.setMuted(!1)),s=mejs.html5media.events;for(var v=0,f=(s=s.concat(["click","mouseover","mouseout"])).length;v<f;v++)!function(t){"ended"!==t&&o.addEventListener(t,function(t){var a=mejs.Utils.createEvent(t.type,i);e.dispatchEvent(a)})}(s[v]);o.addEventListener("ad_start",function(){var t=mejs.Utils.createEvent("play",i);e.dispatchEvent(t),t=mejs.Utils.createEvent("progress",i),e.dispatchEvent(t),t=mejs.Utils.createEvent("timeupdate",i),e.dispatchEvent(t)}),o.addEventListener("ad_timeupdate",function(){var t=mejs.Utils.createEvent("timeupdate&q
 uot;,i);e.dispatchEvent(t)}),o.addEventListener("ad_pause",function(){var t=mejs.Utils.createEvent("pause",i);e.dispatchEvent(t)}),o.addEventListener("start",function(){if(o.muted){var t=mejs.Utils.createEvent("volumechange",i);e.dispatchEvent(t)}}),o.addEventListener("video_start",function(){var t=mejs.Utils.createEvent("play",i);e.dispatchEvent(t);var a=mejs.Utils.createEvent("playing",i);e.dispatchEvent(a)}),o.addEventListener("ad_timeupdate",function(){var t=mejs.Utils.createEvent("timeupdate",i);e.dispatchEvent(t)}),o.addEventListener("video_end",function(){var t=mejs.Utils.createEvent("ended",i);e.dispatchEvent(t),e.originalNode.getAttribute("loop")&&o.play()});for(var h=["rendererready","loadedmetadata","loadeddata","canplay"],y=0,g=h.length;y<g;y++){var E=mejs.Utils.createEvent(h[y],i);e.dispatchEvent(E)}};
 var h=document.createElement("div");h.id=i.id,e.appendChild(h),e.originalNode&&(h.style.width=e.originalNode.style.width,h.style.height=e.originalNode.style.height),e.originalNode.style.display="none";var y=n.getDailyMotionId(a[0].src),g={id:i.id,container:h,videoId:y};return g.params=Object.assign({},i.options.dailymotion),g.params.controls=!!e.originalNode.controls,e.originalNode.autoplay&&(g.params.autoplay=!0),e.originalNode.muted&&(g.params.mute=!0),g.params.api="1",n.enqueueIframe(g),i.hide=function(){i.pause(),d&&(d.style.display="none")},i.show=function(){d&&(d.style.display="")},i.setSize=function(e,t){d&&(d.width=e,d.height=t)},i.destroy=function(){o.destroy()},i}};mejs.Utils.typeChecks.push(function(e){return/\/\/((www\.)?dailymotion\.com|dai\.ly)/i.test(e)?"video/x-dailymotion":null}),window.dmAsyncInit=function(){n.apiReady()},mejs.Renderers.add(i)},{}]},{},[1]);
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementrenderersfacebookjs"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/renderers/facebook.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/mediaelement/renderers/facebook.js       2018-01-16 03:56:01 UTC (rev 42461)
+++ trunk/src/wp-includes/js/mediaelement/renderers/facebook.js 2018-01-16 06:27:48 UTC (rev 42462)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,361 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*!
- * MediaElement.js
- * http://www.mediaelementjs.com/
- *
- * Wrapper that mimics native HTML5 MediaElement (audio and video)
- * using a variety of technologies (pure JavaScript, Flash, iframe)
- *
- * Copyright 2010-2017, John Dyer (http://j.hn/)
- * License: MIT
- *
- */(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
-'use strict';
-
-var FacebookApi = {
-
-       promise: null,
-
-       load: function load(settings) {
-
-               if (typeof FB !== 'undefined') {
-                       FacebookApi._createPlayer(settings);
-               } else {
-                       FacebookApi.promise = FacebookApi.promise || mejs.Utils.loadScript('https://connect.facebook.net/' + settings.options.lang + '/sdk.js');
-                       FacebookApi.promise.then(function () {
-                               FB.init(settings.options);
-
-                               setTimeout(function () {
-                                       FacebookApi._createPlayer(settings);
-                               }, 50);
-                       });
-               }
-       },
-
-       _createPlayer: function _createPlayer(settings) {
-               window['__ready__' + settings.id]();
-       }
-};
-var FacebookRenderer = {
-       name: 'facebook',
-       options: {
-               prefix: 'facebook',
-               facebook: {
-                       appId: '',
-                       xfbml: true,
-                       version: 'v2.10',
-                       lang: 'en_US'
-               }
-       },
-
-       canPlayType: function canPlayType(type) {
-               return ~['video/facebook', 'video/x-facebook'].indexOf(type.toLowerCase());
-       },
-
-       create: function create(mediaElement, options, mediaFiles) {
-               var apiStack = [],
-                   fb = {},
-                   readyState = 4;
-
-               var hasStartedPlaying = false,
-                   paused = true,
-                   ended = false,
-                   fbPlayer = null,
-                   src = '',
-                   poster = '',
-                   autoplay = mediaElement.originalNode.autoplay;
-
-               fb.options = options;
-               fb.id = mediaElement.id + '_' + options.prefix;
-               fb.mediaElement = mediaElement;
-
-               if (mejs.Features.isiPhone && mediaElement.originalNode.getAttribute('poster')) {
-                       poster = mediaElement.originalNode.getAttribute('poster');
-                       mediaElement.originalNode.removeAttribute('poster');
-               }
-
-               var props = mejs.html5media.properties,
-                   assignGettersSetters = function assignGettersSetters(propName) {
-
-                       var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
-
-                       fb['get' + capName] = function () {
-
-                               if (fbPlayer !== null) {
-                                       var value = null;
-
-                                       switch (propName) {
-                                               case 'currentTime':
-                                                       return fbPlayer.getCurrentPosition();
-                                               case 'duration':
-                                                       return fbPlayer.getDuration();
-                                               case 'volume':
-                                                       return fbPlayer.getVolume();
-                                               case 'paused':
-                                                       return paused;
-                                               case 'ended':
-                                                       return ended;
-                                               case 'muted':
-                                                       return fbPlayer.isMuted();
-                                               case 'buffered':
-                                                       return {
-                                                               start: function start() {
-                                                                       return 0;
-                                                               },
-                                                               end: function end() {
-                                                                       return 0;
-                                                               },
-                                                               length: 1
-                                                       };
-                                               case 'src':
-                                                       return src;
-                                               case 'readyState':
-                                                       return readyState;
-                                       }
-
-                                       return value;
-                               } else {
-                                       return null;
-                               }
-                       };
-
-                       fb['set' + capName] = function (value) {
-
-                               if (fbPlayer !== null) {
-
-                                       switch (propName) {
-                                               case 'src':
-                                                       var url = typeof value === 'string' ? value : value[0].src;
-                                                       src = url;
-
-                                                       fbContainer.remove();
-                                                       fbContainer = document.createElement('div');
-                                                       fbContainer.id = fb.id;
-                                                       fbContainer.className = 'fb-video';
-                                                       fbContainer.setAttribute('data-href', url);
-                                                       fbContainer.setAttribute('data-allowfullscreen', 'true');
-                                                       fbContainer.setAttribute('data-controls', 'false');
-
-                                                       mediaElement.originalNode.parentNode.insertBefore(fbContainer, mediaElement.originalNode);
-                                                       mediaElement.originalNode.style.display = 'none';
-
-                                                       FacebookApi.load({
-                                                               lang: fb.options.lang,
-                                                               id: fb.id
-                                                       });
-
-                                                       FB.XFBML.parse();
-
-                                                       if (autoplay) {
-                                                               fbPlayer.play();
-                                                       }
-                                                       break;
-                                               case 'currentTime':
-                                                       fbPlayer.seek(value);
-                                                       break;
-                                               case 'muted':
-                                                       if (value) {
-                                                               fbPlayer.mute();
-                                                       } else {
-                                                               fbPlayer.unmute();
-                                                       }
-                                                       setTimeout(function () {
-                                                               var event = mejs.Utils.createEvent('volumechange', fb);
-                                                               mediaElement.dispatchEvent(event);
-                                                       }, 50);
-                                                       break;
-                                               case 'volume':
-                                                       fbPlayer.setVolume(value);
-                                                       setTimeout(function () {
-                                                               var event = mejs.Utils.createEvent('volumechange', fb);
-                                                               mediaElement.dispatchEvent(event);
-                                                       }, 50);
-                                                       break;
-                                               case 'readyState':
-                                                       var event = mejs.Utils.createEvent('canplay', fb);
-                                                       mediaElement.dispatchEvent(event);
-                                                       break;
-                                               default:
-                                                       
-                                                       break;
-                                       }
-                               } else {
-                                       apiStack.push({ type: 'set', propName: propName, value: value });
-                               }
-                       };
-               };
-
-               for (var i = 0, total = props.length; i < total; i++) {
-                       assignGettersSetters(props[i]);
-               }
-
-               var methods = mejs.html5media.methods,
-                   assignMethods = function assignMethods(methodName) {
-                       fb[methodName] = function () {
-                               if (fbPlayer !== null) {
-                                       switch (methodName) {
-                                               case 'play':
-                                                       return fbPlayer.play();
-                                               case 'pause':
-                                                       return fbPlayer.pause();
-                                               case 'load':
-                                                       return null;
-                                       }
-                               } else {
-                                       apiStack.push({ type: 'call', methodName: methodName });
-                               }
-                       };
-               };
-
-               for (var _i = 0, _total = methods.length; _i < _total; _i++) {
-                       assignMethods(methods[_i]);
-               }
-
-               function assignEvents(events) {
-                       for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) {
-                               var event = mejs.Utils.createEvent(events[_i2], fb);
-                               mediaElement.dispatchEvent(event);
-                       }
-               }
-
-               window['__ready__' + fb.id] = function () {
-                       FB.Event.subscribe('xfbml.ready', function (msg) {
-                               if (msg.type === 'video' && fb.id === msg.id) {
-                                       mediaElement.fbPlayer = fbPlayer = msg.instance;
-
-                                       var fbIframe = document.getElementById(fb.id),
-                                           width = fbIframe.offsetWidth,
-                                           height = fbIframe.offsetHeight,
-                                           events = ['mouseover', 'mouseout'],
-                                           assignIframeEvents = function assignIframeEvents(e) {
-                                               var event = mejs.Utils.createEvent(e.type, fb);
-                                               mediaElement.dispatchEvent(event);
-                                       };
-
-                                       fb.setSize(width, height);
-                                       if (!mediaElement.originalNode.muted) {
-                                               fbPlayer.unmute();
-                                       }
-
-                                       if (autoplay) {
-                                               fbPlayer.play();
-                                       }
-
-                                       for (var _i3 = 0, _total3 = events.length; _i3 < _total3; _i3++) {
-                                               fbIframe.addEventListener(events[_i3], assignIframeEvents);
-                                       }
-
-                                       fb.eventHandler = {};
-
-                                       var fbEvents = ['startedPlaying', 'paused', 'finishedPlaying', 'startedBuffering', 'finishedBuffering'];
-                                       for (var _i4 = 0, _total4 = fbEvents.length; _i4 < _total4; _i4++) {
-                                               var event = fbEvents[_i4],
-                                                   handler = fb.eventHandler[event];
-                                               if (handler !== undefined && handler !== null && !mejs.Utils.isObjectEmpty(handler) && typeof handler.removeListener === 'function') {
-                                                       handler.removeListener(event);
-                                               }
-                                       }
-
-                                       if (apiStack.length) {
-                                               for (var _i5 = 0, _total5 = apiStack.length; _i5 < _total5; _i5++) {
-                                                       var stackItem = apiStack[_i5];
-
-                                                       if (stackItem.type === 'set') {
-                                                               var propName = stackItem.propName,
-                                                                   capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
-
-                                                               fb['set' + capName](stackItem.value);
-                                                       } else if (stackItem.type === 'call') {
-                                                               fb[stackItem.methodName]();
-                                                       }
-                                               }
-                                       }
-
-                                       assignEvents(['rendererready', 'loadeddata', 'canplay', 'progress', 'loadedmetadata', 'timeupdate']);
-
-                                       var timer = void 0;
-
-                                       fb.eventHandler.startedPlaying = fbPlayer.subscribe('startedPlaying', function () {
-                                               if (!hasStartedPlaying) {
-                                                       hasStartedPlaying = true;
-                                               }
-                                               paused = false;
-                                               ended = false;
-                                               assignEvents(['play', 'playing', 'timeupdate']);
-
-                                               timer = setInterval(function () {
-                                                       fbPlayer.getCurrentPosition();
-                                                       assignEvents(['timeupdate']);
-                                               }, 250);
-                                       });
-                                       fb.eventHandler.paused = fbPlayer.subscribe('paused', function () {
-                                               paused = true;
-                                               ended = false;
-                                               assignEvents(['pause']);
-                                       });
-                                       fb.eventHandler.finishedPlaying = fbPlayer.subscribe('finishedPlaying', function () {
-                                               paused = true;
-                                               ended = true;
-
-                                               assignEvents(['ended']);
-                                               clearInterval(timer);
-                                               timer = null;
-                                       });
-                                       fb.eventHandler.startedBuffering = fbPlayer.subscribe('startedBuffering', function () {
-                                               assignEvents(['progress', 'timeupdate']);
-                                       });
-                                       fb.eventHandler.finishedBuffering = fbPlayer.subscribe('finishedBuffering', function () {
-                                               assignEvents(['progress', 'timeupdate']);
-                                       });
-                               }
-                       });
-               };
-
-               src = mediaFiles[0].src;
-               var fbContainer = document.createElement('div');
-               fbContainer.id = fb.id;
-               fbContainer.className = 'fb-video';
-               fbContainer.setAttribute('data-href', src);
-               fbContainer.setAttribute('data-allowfullscreen', true);
-               fbContainer.setAttribute('data-controls', !!mediaElement.originalNode.controls);
-               mediaElement.originalNode.parentNode.insertBefore(fbContainer, mediaElement.originalNode);
-               mediaElement.originalNode.style.display = 'none';
-
-               FacebookApi.load({
-                       options: fb.options.facebook,
-                       id: fb.id
-               });
-
-               fb.hide = function () {
-                       fb.pause();
-                       if (fbPlayer) {
-                               fbContainer.style.display = 'none';
-                       }
-               };
-               fb.setSize = function (width) {
-                       if (fbPlayer !== null && !isNaN(width)) {
-                               fbContainer.style.width = width;
-                       }
-               };
-               fb.show = function () {
-                       if (fbPlayer) {
-                               fbContainer.style.display = '';
-                       }
-               };
-
-               fb.destroy = function () {
-                       if (poster) {
-                               mediaElement.originalNode.setAttribute('poster', poster);
-                       }
-               };
-
-               return fb;
-       }
-};
-
-mejs.Utils.typeChecks.push(function (url) {
-       return ~url.toLowerCase().indexOf('//www.facebook') ? 'video/x-facebook' : null;
-});
-
-mejs.Renderers.add(FacebookRenderer);
-
-},{}]},{},[1]);
</del></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementrenderersfacebookminjs"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/renderers/facebook.min.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/mediaelement/renderers/facebook.min.js   2018-01-16 03:56:01 UTC (rev 42461)
+++ trunk/src/wp-includes/js/mediaelement/renderers/facebook.min.js     2018-01-16 06:27:48 UTC (rev 42462)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*!
- * MediaElement.js
- * http://www.mediaelementjs.com/
- *
- * Wrapper that mimics native HTML5 MediaElement (audio and video)
- * using a variety of technologies (pure JavaScript, Flash, iframe)
- *
- * Copyright 2010-2017, John Dyer (http://j.hn/)
- * License: MIT
- *
- */
-!function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var u="function"==typeof require&&require;if(!s&&u)return u(o,!0);if(a)return a(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[o]={exports:{}};t[o][0].call(d.exports,function(e){var n=t[o][1][e];return i(n||e)},d,d.exports,e,t,n,r)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){"use strict";var r={promise:null,load:function(e){"undefined"!=typeof FB?r._createPlayer(e):(r.promise=r.promise||mejs.Utils.loadScript("https://connect.facebook.net/"+e.options.lang+"/sdk.js"),r.promise.then(function(){FB.init(e.options),setTimeout(function(){r._createPlayer(e)},50)}))},_createPlayer:function(e){window["__ready__"+e.id]()}},i={name:"facebook",options:{prefix:"facebook",fac
 ebook:{appId:"",xfbml:!0,version:"v2.10",lang:"en_US"}},canPlayType:function(e){return~["video/facebook","video/x-facebook"].indexOf(e.toLowerCase())},create:function(e,t,n){function i(t){for(var n=0,r=t.length;n<r;n++){var i=mejs.Utils.createEvent(t[n],o);e.dispatchEvent(i)}}var a=[],o={},s=!1,u=!0,l=!1,d=null,c="",f="",p=e.originalNode.autoplay;o.options=t,o.id=e.id+"_"+t.prefix,o.mediaElement=e,mejs.Features.isiPhone&&e.originalNode.getAttribute("poster")&&(f=e.originalNode.getAttribute("poster"),e.originalNode.removeAttribute("poster"));for(var m=mejs.html5media.properties,v=0,g=m.length;v<g;v++)!function(t){var n=""+t.substring(0,1).toUpperCase()+t.substring(1);o["get"+n]=function(){if(null!==d){switch(t){case"currentTime":return d.getCurrentPosition();case"duration":return d.getDuration();case"volume&qu
 ot;:return d.getVolume();case"paused":return u;case"ended":return l;case"muted":return d.isMuted();case"buffered":return{start:function(){return 0},end:function(){return 0},length:1};case"src":return c;case"readyState":return 4}return null}return null},o["set"+n]=function(n){if(null!==d)switch(t){case"src":var i="string"==typeof n?n:n[0].src;c=i,N.remove(),(N=document.createElement("div")).id=o.id,N.className="fb-video",N.setAttribute("data-href",i),N.setAttribute("data-allowfullscreen","true"),N.setAttribute("data-controls","false"),e.originalNode.parentNode.insertBefore(N,e.originalNode),e.originalNode.style.display="none",r.load({lang:o.options.lang,id:o.id}),FB.XFBML.parse(),p&&d.play();break;case"currentTime":d.seek(n);break;case"muted":n?d.mute():d.unmute(),setTimeout(function(){var
  t=mejs.Utils.createEvent("volumechange",o);e.dispatchEvent(t)},50);break;case"volume":d.setVolume(n),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",o);e.dispatchEvent(t)},50);break;case"readyState":var s=mejs.Utils.createEvent("canplay",o);e.dispatchEvent(s)}else a.push({type:"set",propName:t,value:n})}}(m[v]);for(var y=mejs.html5media.methods,b=0,h=y.length;b<h;b++)!function(e){o[e]=function(){if(null!==d)switch(e){case"play":return d.play();case"pause":return d.pause();case"load":return null}else a.push({type:"call",methodName:e})}}(y[b]);window["__ready__"+o.id]=function(){FB.Event.subscribe("xfbml.ready",function(t){if("video"===t.type&&o.id===t.id){e.fbPlayer=d=t.instance;var n=document.getElementById(o.id),r=n.offsetWidth,c=n.offsetHeight,f=["mouseover","mouseout"];o.setSize(r,c),e.originalNode.mute
 d||d.unmute(),p&&d.play();for(var m=0,v=f.length;m<v;m++)n.addEventListener(f[m],function(t){var n=mejs.Utils.createEvent(t.type,o);e.dispatchEvent(n)});o.eventHandler={};for(var g=["startedPlaying","paused","finishedPlaying","startedBuffering","finishedBuffering"],y=0,b=g.length;y<b;y++){var h=g[y],N=o.eventHandler[h];void 0===N||null===N||mejs.Utils.isObjectEmpty(N)||"function"!=typeof N.removeListener||N.removeListener(h)}if(a.length)for(var E=0,w=a.length;E<w;E++){var k=a[E];if("set"===k.type){var _=k.propName,j=""+_.substring(0,1).toUpperCase()+_.substring(1);o["set"+j](k.value)}else"call"===k.type&&o[k.methodName]()}i(["rendererready","loadeddata","canplay","progress","loadedmetadata","timeupdate"]);var B=void 0;o.eventHandler.startedPlaying=d.subscribe("startedPlaying",function(){s||(
 s=!0),u=!1,l=!1,i(["play","playing","timeupdate"]),B=setInterval(function(){d.getCurrentPosition(),i(["timeupdate"])},250)}),o.eventHandler.paused=d.subscribe("paused",function(){u=!0,l=!1,i(["pause"])}),o.eventHandler.finishedPlaying=d.subscribe("finishedPlaying",function(){u=!0,l=!0,i(["ended"]),clearInterval(B),B=null}),o.eventHandler.startedBuffering=d.subscribe("startedBuffering",function(){i(["progress","timeupdate"])}),o.eventHandler.finishedBuffering=d.subscribe("finishedBuffering",function(){i(["progress","timeupdate"])})}})},c=n[0].src;var N=document.createElement("div");return N.id=o.id,N.className="fb-video",N.setAttribute("data-href",c),N.setAttribute("data-allowfullscreen",!0),N.setAttribute("data-controls",!!e.originalNode.controls),e.originalNode.parentNode.insertBefore(N,e.origin
 alNode),e.originalNode.style.display="none",r.load({options:o.options.facebook,id:o.id}),o.hide=function(){o.pause(),d&&(N.style.display="none")},o.setSize=function(e){null===d||isNaN(e)||(N.style.width=e)},o.show=function(){d&&(N.style.display="")},o.destroy=function(){f&&e.originalNode.setAttribute("poster",f)},o}};mejs.Utils.typeChecks.push(function(e){return~e.toLowerCase().indexOf("//www.facebook")?"video/x-facebook":null}),mejs.Renderers.add(i)},{}]},{},[1]);
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementrendererssoundcloudjs"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/renderers/soundcloud.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/mediaelement/renderers/soundcloud.js     2018-01-16 03:56:01 UTC (rev 42461)
+++ trunk/src/wp-includes/js/mediaelement/renderers/soundcloud.js       2018-01-16 06:27:48 UTC (rev 42462)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,306 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*!
- * MediaElement.js
- * http://www.mediaelementjs.com/
- *
- * Wrapper that mimics native HTML5 MediaElement (audio and video)
- * using a variety of technologies (pure JavaScript, Flash, iframe)
- *
- * Copyright 2010-2017, John Dyer (http://j.hn/)
- * License: MIT
- *
- */(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
-'use strict';
-
-var SoundCloudApi = {
-
-       promise: null,
-
-       load: function load(settings) {
-
-               if (typeof SC !== 'undefined') {
-                       SoundCloudApi._createPlayer(settings);
-               } else {
-                       SoundCloudApi.promise = SoundCloudApi.promise || mejs.Utils.loadScript('https://w.soundcloud.com/player/api.js');
-                       SoundCloudApi.promise.then(function () {
-                               SoundCloudApi._createPlayer(settings);
-                       });
-               }
-       },
-
-       _createPlayer: function _createPlayer(settings) {
-               var player = SC.Widget(settings.iframe);
-               window['__ready__' + settings.id](player);
-       }
-};
-
-var SoundCloudIframeRenderer = {
-       name: 'soundcloud_iframe',
-       options: {
-               prefix: 'soundcloud_iframe'
-       },
-
-       canPlayType: function canPlayType(type) {
-               return ~['video/soundcloud', 'video/x-soundcloud'].indexOf(type.toLowerCase());
-       },
-
-       create: function create(mediaElement, options, mediaFiles) {
-               var sc = {},
-                   apiStack = [],
-                   readyState = 4,
-                   autoplay = mediaElement.originalNode.autoplay;
-
-               var duration = 0,
-                   currentTime = 0,
-                   bufferedTime = 0,
-                   volume = 1,
-                   muted = false,
-                   paused = true,
-                   ended = false,
-                   scPlayer = null,
-                   scIframe = null;
-
-               sc.options = options;
-               sc.id = mediaElement.id + '_' + options.prefix;
-               sc.mediaElement = mediaElement;
-
-               var props = mejs.html5media.properties,
-                   assignGettersSetters = function assignGettersSetters(propName) {
-                       var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
-
-                       sc['get' + capName] = function () {
-                               if (scPlayer !== null) {
-                                       var value = null;
-
-                                       switch (propName) {
-                                               case 'currentTime':
-                                                       return currentTime;
-                                               case 'duration':
-                                                       return duration;
-                                               case 'volume':
-                                                       return volume;
-                                               case 'paused':
-                                                       return paused;
-                                               case 'ended':
-                                                       return ended;
-                                               case 'muted':
-                                                       return muted;
-                                               case 'buffered':
-                                                       return {
-                                                               start: function start() {
-                                                                       return 0;
-                                                               },
-                                                               end: function end() {
-                                                                       return bufferedTime * duration;
-                                                               },
-                                                               length: 1
-                                                       };
-                                               case 'src':
-                                                       return scIframe ? scIframe.src : '';
-                                               case 'readyState':
-                                                       return readyState;
-                                       }
-                                       return value;
-                               } else {
-                                       return null;
-                               }
-                       };
-
-                       sc['set' + capName] = function (value) {
-                               if (scPlayer !== null) {
-                                       switch (propName) {
-                                               case 'src':
-                                                       var url = typeof value === 'string' ? value : value[0].src;
-                                                       scPlayer.load(url);
-                                                       if (autoplay) {
-                                                               scPlayer.play();
-                                                       }
-                                                       break;
-                                               case 'currentTime':
-                                                       scPlayer.seekTo(value * 1000);
-                                                       break;
-                                               case 'muted':
-                                                       if (value) {
-                                                               scPlayer.setVolume(0);
-                                                       } else {
-                                                               scPlayer.setVolume(1);
-                                                       }
-                                                       setTimeout(function () {
-                                                               var event = mejs.Utils.createEvent('volumechange', sc);
-                                                               mediaElement.dispatchEvent(event);
-                                                       }, 50);
-                                                       break;
-                                               case 'volume':
-                                                       scPlayer.setVolume(value);
-                                                       setTimeout(function () {
-                                                               var event = mejs.Utils.createEvent('volumechange', sc);
-                                                               mediaElement.dispatchEvent(event);
-                                                       }, 50);
-                                                       break;
-                                               case 'readyState':
-                                                       var event = mejs.Utils.createEvent('canplay', sc);
-                                                       mediaElement.dispatchEvent(event);
-                                                       break;
-
-                                               default:
-                                                       
-                                                       break;
-                                       }
-                               } else {
-                                       apiStack.push({ type: 'set', propName: propName, value: value });
-                               }
-                       };
-               };
-
-               for (var i = 0, total = props.length; i < total; i++) {
-                       assignGettersSetters(props[i]);
-               }
-
-               var methods = mejs.html5media.methods,
-                   assignMethods = function assignMethods(methodName) {
-                       sc[methodName] = function () {
-                               if (scPlayer !== null) {
-                                       switch (methodName) {
-                                               case 'play':
-                                                       return scPlayer.play();
-                                               case 'pause':
-                                                       return scPlayer.pause();
-                                               case 'load':
-                                                       return null;
-                                       }
-                               } else {
-                                       apiStack.push({ type: 'call', methodName: methodName });
-                               }
-                       };
-               };
-
-               for (var _i = 0, _total = methods.length; _i < _total; _i++) {
-                       assignMethods(methods[_i]);
-               }
-
-               window['__ready__' + sc.id] = function (_scPlayer) {
-
-                       mediaElement.scPlayer = scPlayer = _scPlayer;
-
-                       if (autoplay) {
-                               scPlayer.play();
-                       }
-
-                       if (apiStack.length) {
-                               for (var _i2 = 0, _total2 = apiStack.length; _i2 < _total2; _i2++) {
-
-                                       var stackItem = apiStack[_i2];
-
-                                       if (stackItem.type === 'set') {
-                                               var propName = stackItem.propName,
-                                                   capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
-
-                                               sc['set' + capName](stackItem.value);
-                                       } else if (stackItem.type === 'call') {
-                                               sc[stackItem.methodName]();
-                                       }
-                               }
-                       }
-
-                       scPlayer.bind(SC.Widget.Events.PLAY_PROGRESS, function () {
-                               paused = false;
-                               ended = false;
-                               scPlayer.getPosition(function (_currentTime) {
-                                       currentTime = _currentTime / 1000;
-                                       var event = mejs.Utils.createEvent('timeupdate', sc);
-                                       mediaElement.dispatchEvent(event);
-                               });
-                       });
-                       scPlayer.bind(SC.Widget.Events.PAUSE, function () {
-                               paused = true;
-                               var event = mejs.Utils.createEvent('pause', sc);
-                               mediaElement.dispatchEvent(event);
-                       });
-                       scPlayer.bind(SC.Widget.Events.PLAY, function () {
-                               paused = false;
-                               ended = false;
-                               var event = mejs.Utils.createEvent('play', sc);
-                               mediaElement.dispatchEvent(event);
-                       });
-                       scPlayer.bind(SC.Widget.Events.FINISHED, function () {
-                               paused = false;
-                               ended = true;
-                               var event = mejs.Utils.createEvent('ended', sc);
-                               mediaElement.dispatchEvent(event);
-                       });
-                       scPlayer.bind(SC.Widget.Events.READY, function () {
-                               scPlayer.getDuration(function (_duration) {
-                                       duration = _duration / 1000;
-                                       var event = mejs.Utils.createEvent('loadedmetadata', sc);
-                                       mediaElement.dispatchEvent(event);
-                               });
-                       });
-                       scPlayer.bind(SC.Widget.Events.LOAD_PROGRESS, function () {
-                               scPlayer.getDuration(function (loadProgress) {
-                                       if (duration > 0) {
-                                               bufferedTime = duration * loadProgress;
-                                               var event = mejs.Utils.createEvent('progress', sc);
-                                               mediaElement.dispatchEvent(event);
-                                       }
-                               });
-                               scPlayer.getDuration(function (_duration) {
-                                       duration = _duration;
-
-                                       var event = mejs.Utils.createEvent('loadedmetadata', sc);
-                                       mediaElement.dispatchEvent(event);
-                               });
-                       });
-
-                       var initEvents = ['rendererready', 'loadeddata', 'loadedmetadata', 'canplay'];
-                       for (var _i3 = 0, _total3 = initEvents.length; _i3 < _total3; _i3++) {
-                               var event = mejs.Utils.createEvent(initEvents[_i3], sc);
-                               mediaElement.dispatchEvent(event);
-                       }
-               };
-
-               scIframe = document.createElement('iframe');
-               scIframe.id = sc.id;
-               scIframe.width = 10;
-               scIframe.height = 10;
-               scIframe.frameBorder = 0;
-               scIframe.style.visibility = 'hidden';
-               scIframe.src = mediaFiles[0].src;
-               scIframe.scrolling = 'no';
-
-               mediaElement.appendChild(scIframe);
-               mediaElement.originalNode.style.display = 'none';
-
-               var scSettings = {
-                       iframe: scIframe,
-                       id: sc.id
-               };
-
-               SoundCloudApi.load(scSettings);
-
-               sc.setSize = function () {};
-               sc.hide = function () {
-                       sc.pause();
-                       if (scIframe) {
-                               scIframe.style.display = 'none';
-                       }
-               };
-               sc.show = function () {
-                       if (scIframe) {
-                               scIframe.style.display = '';
-                       }
-               };
-               sc.destroy = function () {
-                       scPlayer.destroy();
-               };
-
-               return sc;
-       }
-};
-
-mejs.Utils.typeChecks.push(function (url) {
-       return (/\/\/(w\.)?soundcloud.com/i.test(url) ? 'video/x-soundcloud' : null
-       );
-});
-
-mejs.Renderers.add(SoundCloudIframeRenderer);
-
-},{}]},{},[1]);
</del></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementrendererssoundcloudminjs"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/renderers/soundcloud.min.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/mediaelement/renderers/soundcloud.min.js 2018-01-16 03:56:01 UTC (rev 42461)
+++ trunk/src/wp-includes/js/mediaelement/renderers/soundcloud.min.js   2018-01-16 06:27:48 UTC (rev 42462)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*!
- * MediaElement.js
- * http://www.mediaelementjs.com/
- *
- * Wrapper that mimics native HTML5 MediaElement (audio and video)
- * using a variety of technologies (pure JavaScript, Flash, iframe)
- *
- * Copyright 2010-2017, John Dyer (http://j.hn/)
- * License: MIT
- *
- */
-!function e(t,n,r){function a(s,o){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!o&&u)return u(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[s]={exports:{}};t[s][0].call(d.exports,function(e){var n=t[s][1][e];return a(n||e)},d,d.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<r.length;s++)a(r[s]);return a}({1:[function(e,t,n){"use strict";var r={promise:null,load:function(e){"undefined"!=typeof SC?r._createPlayer(e):(r.promise=r.promise||mejs.Utils.loadScript("https://w.soundcloud.com/player/api.js"),r.promise.then(function(){r._createPlayer(e)}))},_createPlayer:function(e){var t=SC.Widget(e.iframe);window["__ready__"+e.id](t)}},a={name:"soundcloud_iframe",options:{prefix:"soundcloud_iframe"},canPlayType:function(e){retur
 n~["video/soundcloud","video/x-soundcloud"].indexOf(e.toLowerCase())},create:function(e,t,n){var a={},i=[],s=e.originalNode.autoplay,o=0,u=0,c=0,d=!0,l=!1,p=null,f=null;a.options=t,a.id=e.id+"_"+t.prefix,a.mediaElement=e;for(var v=mejs.html5media.properties,m=0,h=v.length;m<h;m++)!function(t){var n=""+t.substring(0,1).toUpperCase()+t.substring(1);a["get"+n]=function(){if(null!==p){switch(t){case"currentTime":return u;case"duration":return o;case"volume":return 1;case"paused":return d;case"ended":return l;case"muted":return!1;case"buffered":return{start:function(){return 0},end:function(){return c*o},length:1};case"src":return f?f.src:"";case"readyState":return 4}return null}return null},a["set"+n]=function(n){if(null!==p)switch(t){case"src":var r="string"==typeof n?n:n[0].src;p.load(r),s&&p.play
 ();break;case"currentTime":p.seekTo(1e3*n);break;case"muted":n?p.setVolume(0):p.setVolume(1),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",a);e.dispatchEvent(t)},50);break;case"volume":p.setVolume(n),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",a);e.dispatchEvent(t)},50);break;case"readyState":var o=mejs.Utils.createEvent("canplay",a);e.dispatchEvent(o)}else i.push({type:"set",propName:t,value:n})}}(v[m]);for(var y=mejs.html5media.methods,E=0,g=y.length;E<g;E++)!function(e){a[e]=function(){if(null!==p)switch(e){case"play":return p.play();case"pause":return p.pause();case"load":return null}else i.push({type:"call",methodName:e})}}(y[E]);window["__ready__"+a.id]=function(t){if(e.scPlayer=p=t,s&&p.play(),i.length)for(var n=0,r=i.length;n<r;n++){var f=i[n];if("set"===f.type){var v=f.propName,m=&
 quot;"+v.substring(0,1).toUpperCase()+v.substring(1);a["set"+m](f.value)}else"call"===f.type&&a[f.methodName]()}p.bind(SC.Widget.Events.PLAY_PROGRESS,function(){d=!1,l=!1,p.getPosition(function(t){u=t/1e3;var n=mejs.Utils.createEvent("timeupdate",a);e.dispatchEvent(n)})}),p.bind(SC.Widget.Events.PAUSE,function(){d=!0;var t=mejs.Utils.createEvent("pause",a);e.dispatchEvent(t)}),p.bind(SC.Widget.Events.PLAY,function(){d=!1,l=!1;var t=mejs.Utils.createEvent("play",a);e.dispatchEvent(t)}),p.bind(SC.Widget.Events.FINISHED,function(){d=!1,l=!0;var t=mejs.Utils.createEvent("ended",a);e.dispatchEvent(t)}),p.bind(SC.Widget.Events.READY,function(){p.getDuration(function(t){o=t/1e3;var n=mejs.Utils.createEvent("loadedmetadata",a);e.dispatchEvent(n)})}),p.bind(SC.Widget.Events.LOAD_PROGRESS,function(){p.getDuration(function(t){if(o>0){c=o*t;var n=mejs.Utils.createEvent("progress",a);e.dispatchEvent(n
 )}}),p.getDuration(function(t){o=t;var n=mejs.Utils.createEvent("loadedmetadata",a);e.dispatchEvent(n)})});for(var h=["rendererready","loadeddata","loadedmetadata","canplay"],y=0,E=h.length;y<E;y++){var g=mejs.Utils.createEvent(h[y],a);e.dispatchEvent(g)}},(f=document.createElement("iframe")).id=a.id,f.width=10,f.height=10,f.frameBorder=0,f.style.visibility="hidden",f.src=n[0].src,f.scrolling="no",e.appendChild(f),e.originalNode.style.display="none";var S={iframe:f,id:a.id};return r.load(S),a.setSize=function(){},a.hide=function(){a.pause(),f&&(f.style.display="none")},a.show=function(){f&&(f.style.display="")},a.destroy=function(){p.destroy()},a}};mejs.Utils.typeChecks.push(function(e){return/\/\/(w\.)?soundcloud.com/i.test(e)?"video/x-soundcloud":null}),mejs.Renderers.add(a)},{}]},{},[1]);
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementrendererstwitchjs"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/renderers/twitch.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/mediaelement/renderers/twitch.js 2018-01-16 03:56:01 UTC (rev 42461)
+++ trunk/src/wp-includes/js/mediaelement/renderers/twitch.js   2018-01-16 06:27:48 UTC (rev 42462)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,374 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*!
- * MediaElement.js
- * http://www.mediaelementjs.com/
- *
- * Wrapper that mimics native HTML5 MediaElement (audio and video)
- * using a variety of technologies (pure JavaScript, Flash, iframe)
- *
- * Copyright 2010-2017, John Dyer (http://j.hn/)
- * License: MIT
- *
- */(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
-'use strict';
-
-var TwitchApi = {
-
-       promise: null,
-
-       load: function load(settings) {
-               if (typeof Twitch !== 'undefined') {
-                       TwitchApi.promise = new Promise(function (resolve) {
-                               resolve();
-                       }).then(function () {
-                               TwitchApi._createPlayer(settings);
-                       });
-               } else {
-                       TwitchApi.promise = TwitchApi.promise || mejs.Utils.loadScript('https://player.twitch.tv/js/embed/v1.js');
-                       TwitchApi.promise.then(function () {
-                               TwitchApi._createPlayer(settings);
-                       });
-               }
-       },
-
-       _createPlayer: function _createPlayer(settings) {
-               var player = new Twitch.Player(settings.id, settings);
-               window['__ready__' + settings.id](player);
-       },
-
-       getTwitchId: function getTwitchId(url) {
-               var twitchId = '';
-
-               if (url.indexOf('?') > 0) {
-                       twitchId = TwitchApi.getTwitchIdFromParam(url);
-                       if (twitchId === '') {
-                               twitchId = TwitchApi.getTwitchIdFromUrl(url);
-                       }
-               } else {
-                       twitchId = TwitchApi.getTwitchIdFromUrl(url);
-               }
-
-               return twitchId;
-       },
-
-       getTwitchIdFromParam: function getTwitchIdFromParam(url) {
-               if (url === undefined || url === null || !url.trim().length) {
-                       return null;
-               }
-
-               var parts = url.split('?'),
-                   parameters = parts[1].split('&');
-
-               var twitchId = '';
-
-               for (var i = 0, total = parameters.length; i < total; i++) {
-                       var paramParts = parameters[i].split('=');
-                       if (~paramParts[0].indexOf('channel')) {
-                               twitchId = paramParts[1];
-                               break;
-                       } else if (~paramParts[0].indexOf('video')) {
-                               twitchId = 'v' + paramParts[1];
-                               break;
-                       }
-               }
-
-               return twitchId;
-       },
-
-       getTwitchIdFromUrl: function getTwitchIdFromUrl(url) {
-               if (url === undefined || url === null || !url.trim().length) {
-                       return null;
-               }
-
-               var parts = url.split('?');
-               url = parts[0];
-               var id = url.substring(url.lastIndexOf('/') + 1);
-               return (/^\d+$/i.test(id) ? 'v' + id : id
-               );
-       },
-
-       getTwitchType: function getTwitchType(id) {
-               return (/^v\d+/i.test(id) ? 'video' : 'channel'
-               );
-       }
-};
-
-var TwitchIframeRenderer = {
-       name: 'twitch_iframe',
-       options: {
-               prefix: 'twitch_iframe'
-       },
-
-       canPlayType: function canPlayType(type) {
-               return ~['video/twitch', 'video/x-twitch'].indexOf(type.toLowerCase());
-       },
-
-       create: function create(mediaElement, options, mediaFiles) {
-               var twitch = {},
-                   apiStack = [],
-                   readyState = 4,
-                   twitchId = TwitchApi.getTwitchId(mediaFiles[0].src);
-
-               var twitchPlayer = null,
-                   paused = true,
-                   ended = false,
-                   hasStartedPlaying = false,
-                   volume = 1,
-                   duration = Infinity,
-                   time = 0;
-
-               twitch.options = options;
-               twitch.id = mediaElement.id + '_' + options.prefix;
-               twitch.mediaElement = mediaElement;
-
-               var props = mejs.html5media.properties,
-                   assignGettersSetters = function assignGettersSetters(propName) {
-                       var capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
-
-                       twitch['get' + capName] = function () {
-                               if (twitchPlayer !== null) {
-                                       var value = null;
-
-                                       switch (propName) {
-                                               case 'currentTime':
-                                                       time = twitchPlayer.getCurrentTime();
-                                                       return time;
-                                               case 'duration':
-                                                       duration = twitchPlayer.getDuration();
-                                                       return duration;
-                                               case 'volume':
-                                                       volume = twitchPlayer.getVolume();
-                                                       return volume;
-                                               case 'paused':
-                                                       paused = twitchPlayer.isPaused();
-                                                       return paused;
-                                               case 'ended':
-                                                       ended = twitchPlayer.getEnded();
-                                                       return ended;
-                                               case 'muted':
-                                                       return twitchPlayer.getMuted();
-                                               case 'buffered':
-                                                       return {
-                                                               start: function start() {
-                                                                       return 0;
-                                                               },
-                                                               end: function end() {
-                                                                       return 0;
-                                                               },
-                                                               length: 1
-                                                       };
-                                               case 'src':
-                                                       return TwitchApi.getTwitchType(twitchId) === 'channel' ? twitchPlayer.getChannel() : twitchPlayer.getVideo();
-                                               case 'readyState':
-                                                       return readyState;
-                                       }
-
-                                       return value;
-                               } else {
-                                       return null;
-                               }
-                       };
-
-                       twitch['set' + capName] = function (value) {
-                               if (twitchPlayer !== null) {
-                                       switch (propName) {
-                                               case 'src':
-                                                       var url = typeof value === 'string' ? value : value[0].src,
-                                                           videoId = TwitchApi.getTwitchId(url);
-
-                                                       if (TwitchApi.getTwitchType(twitchId) === 'channel') {
-                                                               twitchPlayer.setChannel(videoId);
-                                                       } else {
-                                                               twitchPlayer.setVideo(videoId);
-                                                       }
-                                                       break;
-                                               case 'currentTime':
-                                                       twitchPlayer.seek(value);
-                                                       setTimeout(function () {
-                                                               var event = mejs.Utils.createEvent('timeupdate', twitch);
-                                                               mediaElement.dispatchEvent(event);
-                                                       }, 50);
-                                                       break;
-                                               case 'muted':
-                                                       twitchPlayer.setMuted(value);
-                                                       setTimeout(function () {
-                                                               var event = mejs.Utils.createEvent('volumechange', twitch);
-                                                               mediaElement.dispatchEvent(event);
-                                                       }, 50);
-                                                       break;
-                                               case 'volume':
-                                                       volume = value;
-                                                       twitchPlayer.setVolume(value);
-                                                       setTimeout(function () {
-                                                               var event = mejs.Utils.createEvent('volumechange', twitch);
-                                                               mediaElement.dispatchEvent(event);
-                                                       }, 50);
-                                                       break;
-                                               case 'readyState':
-                                                       var event = mejs.Utils.createEvent('canplay', twitch);
-                                                       mediaElement.dispatchEvent(event);
-                                                       break;
-                                               default:
-                                                       
-                                                       break;
-                                       }
-                               } else {
-                                       apiStack.push({ type: 'set', propName: propName, value: value });
-                               }
-                       };
-               };
-
-               for (var i = 0, total = props.length; i < total; i++) {
-                       assignGettersSetters(props[i]);
-               }
-
-               var methods = mejs.html5media.methods,
-                   assignMethods = function assignMethods(methodName) {
-                       twitch[methodName] = function () {
-                               if (twitchPlayer !== null) {
-                                       switch (methodName) {
-                                               case 'play':
-                                                       paused = false;
-                                                       return twitchPlayer.play();
-                                               case 'pause':
-                                                       paused = true;
-                                                       return twitchPlayer.pause();
-                                               case 'load':
-                                                       return null;
-                                       }
-                               } else {
-                                       apiStack.push({ type: 'call', methodName: methodName });
-                               }
-                       };
-               };
-
-               for (var _i = 0, _total = methods.length; _i < _total; _i++) {
-                       assignMethods(methods[_i]);
-               }
-
-               function sendEvents(events) {
-                       for (var _i2 = 0, _total2 = events.length; _i2 < _total2; _i2++) {
-                               var event = mejs.Utils.createEvent(events[_i2], twitch);
-                               mediaElement.dispatchEvent(event);
-                       }
-               }
-
-               window['__ready__' + twitch.id] = function (_twitchPlayer) {
-                       mediaElement.twitchPlayer = twitchPlayer = _twitchPlayer;
-
-                       if (apiStack.length) {
-                               for (var _i3 = 0, _total3 = apiStack.length; _i3 < _total3; _i3++) {
-                                       var stackItem = apiStack[_i3];
-
-                                       if (stackItem.type === 'set') {
-                                               var propName = stackItem.propName,
-                                                   capName = '' + propName.substring(0, 1).toUpperCase() + propName.substring(1);
-
-                                               twitch['set' + capName](stackItem.value);
-                                       } else if (stackItem.type === 'call') {
-                                               twitch[stackItem.methodName]();
-                                       }
-                               }
-                       }
-
-                       var twitchIframe = document.getElementById(twitch.id).firstChild;
-                       twitchIframe.style.width = '100%';
-                       twitchIframe.style.height = '100%';
-
-                       var events = ['mouseover', 'mouseout'],
-                           assignEvents = function assignEvents(e) {
-                               var event = mejs.Utils.createEvent(e.type, twitch);
-                               mediaElement.dispatchEvent(event);
-                       };
-
-                       for (var _i4 = 0, _total4 = events.length; _i4 < _total4; _i4++) {
-                               twitchIframe.addEventListener(events[_i4], assignEvents, false);
-                       }
-
-                       var timer = void 0;
-
-                       twitchPlayer.addEventListener(Twitch.Player.READY, function () {
-                               paused = false;
-                               ended = false;
-                               sendEvents(['rendererready', 'loadedmetadata', 'loadeddata', 'canplay']);
-                       });
-                       twitchPlayer.addEventListener(Twitch.Player.PLAY, function () {
-                               if (!hasStartedPlaying) {
-                                       hasStartedPlaying = true;
-                               }
-                               paused = false;
-                               ended = false;
-                               sendEvents(['play', 'playing', 'progress']);
-
-                               timer = setInterval(function () {
-                                       twitchPlayer.getCurrentTime();
-                                       sendEvents(['timeupdate']);
-                               }, 250);
-                       });
-                       twitchPlayer.addEventListener(Twitch.Player.PAUSE, function () {
-                               paused = true;
-                               ended = false;
-                               if (!twitchPlayer.getEnded()) {
-                                       sendEvents(['pause']);
-                               }
-                       });
-                       twitchPlayer.addEventListener(Twitch.Player.ENDED, function () {
-                               paused = true;
-                               ended = true;
-                               sendEvents(['ended']);
-                               clearInterval(timer);
-                               hasStartedPlaying = false;
-                               timer = null;
-                       });
-               };
-
-               var height = mediaElement.originalNode.height,
-                   width = mediaElement.originalNode.width,
-                   twitchContainer = document.createElement('div'),
-                   type = TwitchApi.getTwitchType(twitchId),
-                   twitchSettings = {
-                       id: twitch.id,
-                       width: width,
-                       height: height,
-                       playsinline: false,
-                       autoplay: mediaElement.originalNode.autoplay,
-                       muted: mediaElement.originalNode.muted
-               };
-
-               twitchSettings[type] = twitchId;
-               twitchContainer.id = twitch.id;
-               twitchContainer.style.width = '100%';
-               twitchContainer.style.height = '100%';
-
-               mediaElement.originalNode.parentNode.insertBefore(twitchContainer, mediaElement.originalNode);
-               mediaElement.originalNode.style.display = 'none';
-               mediaElement.originalNode.autoplay = false;
-
-               twitch.setSize = function (width, height) {
-                       if (TwitchApi !== null && !isNaN(width) && !isNaN(height)) {
-                               twitchContainer.setAttribute('width', width);
-                               twitchContainer.setAttribute('height', height);
-                       }
-               };
-               twitch.hide = function () {
-                       twitch.pause();
-                       twitchContainer.style.display = 'none';
-               };
-               twitch.show = function () {
-                       twitchContainer.style.display = '';
-               };
-               twitch.destroy = function () {};
-
-               TwitchApi.load(twitchSettings);
-
-               return twitch;
-       }
-};
-
-mejs.Utils.typeChecks.push(function (url) {
-       return (/\/\/(www|player).twitch.tv/i.test(url) ? 'video/x-twitch' : null
-       );
-});
-
-mejs.Renderers.add(TwitchIframeRenderer);
-
-},{}]},{},[1]);
</del></span></pre></div>
<a id="trunksrcwpincludesjsmediaelementrendererstwitchminjs"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/wp-includes/js/mediaelement/renderers/twitch.min.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/js/mediaelement/renderers/twitch.min.js     2018-01-16 03:56:01 UTC (rev 42461)
+++ trunk/src/wp-includes/js/mediaelement/renderers/twitch.min.js       2018-01-16 06:27:48 UTC (rev 42462)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*!
- * MediaElement.js
- * http://www.mediaelementjs.com/
- *
- * Wrapper that mimics native HTML5 MediaElement (audio and video)
- * using a variety of technologies (pure JavaScript, Flash, iframe)
- *
- * Copyright 2010-2017, John Dyer (http://j.hn/)
- * License: MIT
- *
- */
-!function e(t,n,r){function i(s,o){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!o&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[s]={exports:{}};t[s][0].call(d.exports,function(e){var n=t[s][1][e];return i(n||e)},d,d.exports,e,t,n,r)}return n[s].exports}for(var a="function"==typeof require&&require,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,t,n){"use strict";var r={promise:null,load:function(e){"undefined"!=typeof Twitch?r.promise=new Promise(function(e){e()}).then(function(){r._createPlayer(e)}):(r.promise=r.promise||mejs.Utils.loadScript("https://player.twitch.tv/js/embed/v1.js"),r.promise.then(function(){r._createPlayer(e)}))},_createPlayer:function(e){var t=new Twitch.Player(e.id,e);window["__ready__"+e.id](t)},getTwitchId:function(e){var t="";ret
 urn e.indexOf("?")>0?""===(t=r.getTwitchIdFromParam(e))&&(t=r.getTwitchIdFromUrl(e)):t=r.getTwitchIdFromUrl(e),t},getTwitchIdFromParam:function(e){if(void 0===e||null===e||!e.trim().length)return null;for(var t=e.split("?")[1].split("&"),n="",r=0,i=t.length;r<i;r++){var a=t[r].split("=");if(~a[0].indexOf("channel")){n=a[1];break}if(~a[0].indexOf("video")){n="v"+a[1];break}}return n},getTwitchIdFromUrl:function(e){if(void 0===e||null===e||!e.trim().length)return null;var t=(e=e.split("?")[0]).substring(e.lastIndexOf("/")+1);return/^\d+$/i.test(t)?"v"+t:t},getTwitchType:function(e){return/^v\d+/i.test(e)?"video":"channel"}},i={name:"twitch_iframe",options:{prefix:"twitch_iframe"},canPlayType:function(e){return~["video/twitch","video/x-twitch"].indexOf(e.toLowerCase())},create:function(e,t,n
 ){function i(t){for(var n=0,r=t.length;n<r;n++){var i=mejs.Utils.createEvent(t[n],a);e.dispatchEvent(i)}}var a={},s=[],o=r.getTwitchId(n[0].src),u=null,l=!0,d=!1,c=!1,h=1,f=1/0,p=0;a.options=t,a.id=e.id+"_"+t.prefix,a.mediaElement=e;for(var v=mejs.html5media.properties,m=0,g=v.length;m<g;m++)!function(t){var n=""+t.substring(0,1).toUpperCase()+t.substring(1);a["get"+n]=function(){if(null!==u){switch(t){case"currentTime":return p=u.getCurrentTime();case"duration":return f=u.getDuration();case"volume":return h=u.getVolume();case"paused":return l=u.isPaused();case"ended":return d=u.getEnded();case"muted":return u.getMuted();case"buffered":return{start:function(){return 0},end:function(){return 0},length:1};case"src":return"channel"===r.getTwitchType(o)?u.getChannel():u.getVideo();case"readyState":return 4}return null}return null},a["set"+n]=f
 unction(n){if(null!==u)switch(t){case"src":var i="string"==typeof n?n:n[0].src,l=r.getTwitchId(i);"channel"===r.getTwitchType(o)?u.setChannel(l):u.setVideo(l);break;case"currentTime":u.seek(n),setTimeout(function(){var t=mejs.Utils.createEvent("timeupdate",a);e.dispatchEvent(t)},50);break;case"muted":u.setMuted(n),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",a);e.dispatchEvent(t)},50);break;case"volume":h=n,u.setVolume(n),setTimeout(function(){var t=mejs.Utils.createEvent("volumechange",a);e.dispatchEvent(t)},50);break;case"readyState":var d=mejs.Utils.createEvent("canplay",a);e.dispatchEvent(d)}else s.push({type:"set",propName:t,value:n})}}(v[m]);for(var y=mejs.html5media.methods,w=0,T=y.length;w<T;w++)!function(e){a[e]=function(){if(null!==u)switch(e){case"play":return l=!1,u.play();case"pause":return l=!0,u.pause();cas
 e"load":return null}else s.push({type:"call",methodName:e})}}(y[w]);window["__ready__"+a.id]=function(t){if(e.twitchPlayer=u=t,s.length)for(var n=0,r=s.length;n<r;n++){var o=s[n];if("set"===o.type){var h=o.propName,f=""+h.substring(0,1).toUpperCase()+h.substring(1);a["set"+f](o.value)}else"call"===o.type&&a[o.methodName]()}var p=document.getElementById(a.id).firstChild;p.style.width="100%",p.style.height="100%";for(var v=["mouseover","mouseout"],m=0,g=v.length;m<g;m++)p.addEventListener(v[m],function(t){var n=mejs.Utils.createEvent(t.type,a);e.dispatchEvent(n)},!1);var y=void 0;u.addEventListener(Twitch.Player.READY,function(){l=!1,d=!1,i(["rendererready","loadedmetadata","loadeddata","canplay"])}),u.addEventListener(Twitch.Player.PLAY,function(){c||(c=!0),l=!1,d=!1,i(["play","playing","progress&q
 uot;]),y=setInterval(function(){u.getCurrentTime(),i(["timeupdate"])},250)}),u.addEventListener(Twitch.Player.PAUSE,function(){l=!0,d=!1,u.getEnded()||i(["pause"])}),u.addEventListener(Twitch.Player.ENDED,function(){l=!0,d=!0,i(["ended"]),clearInterval(y),c=!1,y=null})};var E=e.originalNode.height,N=e.originalNode.width,P=document.createElement("div"),U=r.getTwitchType(o),_={id:a.id,width:N,height:E,playsinline:!1,autoplay:e.originalNode.autoplay,muted:e.originalNode.muted};return _[U]=o,P.id=a.id,P.style.width="100%",P.style.height="100%",e.originalNode.parentNode.insertBefore(P,e.originalNode),e.originalNode.style.display="none",e.originalNode.autoplay=!1,a.setSize=function(e,t){null===r||isNaN(e)||isNaN(t)||(P.setAttribute("width",e),P.setAttribute("height",t))},a.hide=function(){a.pause(),P.style.display="none"},a.show=function(){P.style.display=""},a.destroy=function(){
 },r.load(_),a}};mejs.Utils.typeChecks.push(function(e){return/\/\/(www|player).twitch.tv/i.test(e)?"video/x-twitch":null}),mejs.Renderers.add(i)},{}]},{},[1]);
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>