mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed embed
This commit is contained in:
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -52,8 +52,8 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
|
||||
Player.setup_youtube_listener(chan);
|
||||
List.channel_listener();
|
||||
setup_youtube_listener();
|
||||
setup_list_listener();
|
||||
|
||||
window.onYouTubeIframeAPIReady = Player.onYouTubeIframeAPIReady;
|
||||
|
||||
@@ -64,6 +64,15 @@ $(document).ready(function(){
|
||||
window.setVolume = setVolume;
|
||||
});
|
||||
|
||||
|
||||
function setup_youtube_listener(){
|
||||
socket.on("np", Player.youtube_listener);
|
||||
}
|
||||
|
||||
function setup_list_listener(){
|
||||
socket.on("channel", List.channel_function);
|
||||
}
|
||||
|
||||
function setVolume(val) {
|
||||
$("#volume").slider('value', val);
|
||||
Playercontrols.setVolume(val);
|
||||
|
||||
Reference in New Issue
Block a user