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();
|
$("#panel").toggle();
|
||||||
break;
|
break;
|
||||||
case 76: // l
|
case 76: // l
|
||||||
|
/* load the Mixer stream */
|
||||||
|
if ($("#stream").is(':empty')) {
|
||||||
|
$("#stream").html('<iframe src="https://mixer.com/embed/player/14551694"></iframe>');
|
||||||
|
}
|
||||||
$("#stream").toggle();
|
$("#stream").toggle();
|
||||||
/* toggle live steam visible */
|
/* toggle live steam visible */
|
||||||
liveStreamVisible = !liveStreamVisible;
|
liveStreamVisible = !liveStreamVisible;
|
||||||
@ -572,9 +576,6 @@ window.onload = function() {
|
|||||||
$("#panel").hide();
|
$("#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 */
|
/* set a click listener on the document */
|
||||||
$(document).click(function(e) {
|
$(document).click(function(e) {
|
||||||
var target = e.target;
|
var target = e.target;
|
||||||
|
Loading…
Reference in New Issue
Block a user