Commit 7be47984 authored by Andreas Gärtner's avatar Andreas Gärtner
Browse files

Fix vimeo "mixed content" error in firefox & chrome.

parent c84a8918
...@@ -987,7 +987,7 @@ Ext.define('ARSnova.proxy.RestProxy', { ...@@ -987,7 +987,7 @@ Ext.define('ARSnova.proxy.RestProxy', {
getVimeoThumbnailUrl: function (videoId, callbacks) { getVimeoThumbnailUrl: function (videoId, callbacks) {
Ext.Ajax.request({ Ext.Ajax.request({
type: 'GET', type: 'GET',
url: 'http://vimeo.com/api/v2/video/' + videoId + '.json', url: '//vimeo.com/api/v2/video/' + videoId + '.json',
useDefaultXhrHeader: false, useDefaultXhrHeader: false,
success: function (response) { success: function (response) {
var json = response.responseText || "{}"; var json = response.responseText || "{}";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment