Changeset 41056
- Timestamp:
- 07/14/2017 05:40:51 PM (7 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
-
branches/4.8/src/wp-admin/js/widgets/media-widgets.js
r41051 r41056 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.