Changeset 40939
- Timestamp:
- 06/25/2017 07:23:52 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/widgets/media-widgets.js
r40836 r40939 185 185 } 186 186 187 // If video, test for Vimeo and YouTube, otherwise, renderFail(). This should be removed once #34115 is resolved. 188 if ( 'video' === this.controller.options.mimeType && ! /vimeo|youtu\.?be/.test( urlParser.host ) ) { 189 embedLinkView.renderFail(); 190 return; 191 } 192 187 193 embedLinkView.dfd = $.ajax({ 188 194 url: wp.media.view.settings.oEmbedProxyUrl,
Note: See TracChangeset
for help on using the changeset viewer.