|
@@ -101,7 +101,7 @@ export default function YoutubePlayer({ playback, onSongEnd }) {
|
|
|
if (!window.YT) {
|
|
|
setIframeAPILoading(true);
|
|
|
const tag = document.createElement('script');
|
|
|
- // tag.src = 'https://www.youtube.com/iframe_api';
|
|
|
+ tag.src = 'https://www.youtube.com/iframe_api';
|
|
|
const firstScriptTag = document.getElementsByTagName('script')[0];
|
|
|
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
|
|
} else {
|