diff --git a/src/players/Facebook.js b/src/players/Facebook.js index 047079b7..9b1c6d66 100644 --- a/src/players/Facebook.js +++ b/src/players/Facebook.js @@ -3,7 +3,7 @@ import React, { Component } from 'react' import { callPlayer, getSDK, randomString } from '../utils' import createSinglePlayer from '../singlePlayer' -const SDK_URL = '//connect.facebook.net/en_US/sdk.js' +const SDK_URL = 'https://connect.facebook.net/en_US/sdk.js' const SDK_GLOBAL = 'FB' const SDK_GLOBAL_READY = 'fbAsyncInit' const MATCH_URL = /facebook\.com\/([^/?].+\/)?video(s|\.php)[/?].*$/ diff --git a/src/players/Mixcloud.js b/src/players/Mixcloud.js index 271e3539..d4f3af47 100644 --- a/src/players/Mixcloud.js +++ b/src/players/Mixcloud.js @@ -3,7 +3,7 @@ import React, { Component } from 'react' import { callPlayer, getSDK, queryString } from '../utils' import createSinglePlayer from '../singlePlayer' -const SDK_URL = '//widget.mixcloud.com/media/js/widgetApi.js' +const SDK_URL = 'https://widget.mixcloud.com/media/js/widgetApi.js' const SDK_GLOBAL = 'Mixcloud' const MATCH_URL = /mixcloud\.com\/([^/]+\/[^/]+)/ diff --git a/src/players/Streamable.js b/src/players/Streamable.js index 3db0d72f..78a56355 100644 --- a/src/players/Streamable.js +++ b/src/players/Streamable.js @@ -3,7 +3,7 @@ import React, { Component } from 'react' import { callPlayer, getSDK } from '../utils' import createSinglePlayer from '../singlePlayer' -const SDK_URL = '//cdn.embed.ly/player-0.1.0.min.js' +const SDK_URL = 'https://cdn.embed.ly/player-0.1.0.min.js' const SDK_GLOBAL = 'playerjs' const MATCH_URL = /streamable\.com\/([a-z0-9]+)$/ diff --git a/src/players/Wistia.js b/src/players/Wistia.js index 9ddef60f..7f6b10fe 100644 --- a/src/players/Wistia.js +++ b/src/players/Wistia.js @@ -3,7 +3,7 @@ import React, { Component } from 'react' import { callPlayer, getSDK } from '../utils' import createSinglePlayer from '../singlePlayer' -const SDK_URL = '//fast.wistia.com/assets/external/E-v1.js' +const SDK_URL = 'https://fast.wistia.com/assets/external/E-v1.js' const SDK_GLOBAL = 'Wistia' const MATCH_URL = /(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/