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.
1 parent 37d7f20 commit 39a41d2Copy full SHA for 39a41d2
src/loadYouTubeIframeApi.js
@@ -21,7 +21,7 @@ export default () => {
21
resolve(window.YT);
22
};
23
});
24
- const protocol = window.location.protocol === 'https:' ? 'https:' : 'http:';
+ const protocol = window.location.protocol === 'http:' ? 'http:' : 'https:';
25
26
load(protocol + '//www.youtube.com/iframe_api');
27
0 commit comments