mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Added possibility of lowering volume from shottimer
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
@@ -60,8 +60,15 @@ $(document).ready(function(){
|
||||
Player.loadPlayer();
|
||||
|
||||
Playercontrols.initSlider();
|
||||
|
||||
window.setVolume = setVolume;
|
||||
});
|
||||
|
||||
function setVolume(val) {
|
||||
$("#volume").slider('value', val);
|
||||
Playercontrols.setVolume(val);
|
||||
}
|
||||
|
||||
$(document).on( "click", "#zoffbutton", function(e){
|
||||
window.open("https://zoff.no/" + chan.toLowerCase() + "/", '_blank');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user