diff --git a/jarallax/jarallax-video.js b/jarallax/jarallax-video.js
index <HASH>..<HASH> 100644
--- a/jarallax/jarallax-video.js
+++ b/jarallax/jarallax-video.js
@@ -572,23 +572,19 @@
         // load Youtube API
         if(_this.type === 'youtube' && !YoutubeAPIadded) {
             YoutubeAPIadded = 1;
-            src = '//www.youtube.com/iframe_api';
+            src = 'https://www.youtube.com/iframe_api';
         }
 
         // load Vimeo API
         if(_this.type === 'vimeo' && !VimeoAPIadded) {
             VimeoAPIadded = 1;
-            src = '//player.vimeo.com/api/player.js';
+            src = 'https://player.vimeo.com/api/player.js';
         }
 
         if(!src) {
             return;
         }
 
-        if (window.location.origin === 'file://') {
-            src = 'http:' + src;
-        }
-
         // add script in head section
         var tag = document.createElement('script');
         var head = document.getElementsByTagName('head')[0];
Updated jarallax-video to always use HTTPS