forked from marva/sumorobot-web
update, load mixer stream when alt+l is pressed
This commit is contained in:
parent
ee2a292e35
commit
16eeb7daad
@ -436,6 +436,10 @@ window.onload = function() {
|
||||
$("#panel").toggle();
|
||||
break;
|
||||
case 76: // l
|
||||
/* load the Mixer stream */
|
||||
if ($("#stream").is(':empty')) {
|
||||
$("#stream").html('<iframe src="https://mixer.com/embed/player/14551694"></iframe>');
|
||||
}
|
||||
$("#stream").toggle();
|
||||
/* toggle live steam visible */
|
||||
liveStreamVisible = !liveStreamVisible;
|
||||
@ -572,9 +576,6 @@ window.onload = function() {
|
||||
$("#panel").hide();
|
||||
});
|
||||
|
||||
/* load the Mixer stream */
|
||||
$("#stream").html('<iframe width="100%" height="100%" allowfullscreen="true" src="https://mixer.com/embed/player/14551694"></iframe>');
|
||||
|
||||
/* set a click listener on the document */
|
||||
$(document).click(function(e) {
|
||||
var target = e.target;
|
||||
|
Loading…
Reference in New Issue
Block a user