mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed viewers for embed
This commit is contained in:
@@ -42,6 +42,14 @@ $(document).ready(function(){
|
||||
setTimeout(function(){socket.emit('list', chan.toLowerCase())},1000);
|
||||
});
|
||||
|
||||
socket.on("viewers", function(view)
|
||||
{
|
||||
viewers = view;
|
||||
|
||||
if(song_title !== undefined)
|
||||
Player.getTitle(song_title, viewers);
|
||||
});
|
||||
|
||||
|
||||
Player.setup_youtube_listener(chan);
|
||||
List.channel_listener();
|
||||
|
||||
Reference in New Issue
Block a user