mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Workaround for playing if autoplay
This commit is contained in:
@@ -130,7 +130,7 @@ window.addEventListener("load", function() {
|
||||
setup_now_playing_listener();
|
||||
setup_list_listener();
|
||||
|
||||
/*
|
||||
|
||||
if(autoplay) {
|
||||
setTimeout(function() {
|
||||
if(videoSource == "youtube") {
|
||||
@@ -139,7 +139,7 @@ window.addEventListener("load", function() {
|
||||
Player.soundcloud_player.play();
|
||||
}
|
||||
}, 1000);
|
||||
}*/
|
||||
}
|
||||
|
||||
window.onYouTubeIframeAPIReady = Player.onYouTubeIframeAPIReady;
|
||||
socket.on("toast", toast);
|
||||
|
||||
Reference in New Issue
Block a user