We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7bb3f01 + e2e9cfc commit cda2fc8Copy full SHA for cda2fc8
app/code/Magento/ProductVideo/view/adminhtml/web/js/get-video-information.js
@@ -506,8 +506,10 @@ require([
506
}
507
);
508
} else if (type === 'vimeo') {
509
- $.getJSON('http://www.vimeo.com/api/v2/video/' + id + '.json?callback=?',
510
- {
+ $.ajax({
+ url: window.location.protocol + '//www.vimeo.com/api/v2/video/' + id + '.json',
511
+ dataType: 'jsonp',
512
+ data: {
513
format: 'json'
514
},
515
timeout: 5000,
0 commit comments