forked from marva/sumorobot-web
add close button to live stream
This commit is contained in:
parent
5bc9c1b9b7
commit
9f56770f09
@ -15,7 +15,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="stream">
|
<div id="stream">
|
||||||
<iframe width="100%" height="100%" allowfullscreen="true" src="https://mixer.com/embed/player/14551694"></iframe>
|
<iframe width="100%" height="91%" allowfullscreen="true" src="https://mixer.com/embed/player/14551694"></iframe>
|
||||||
|
<div class="btn-group btn-group-justified">
|
||||||
|
<a href="#" class="btn btn-lg btn-danger btn-close">Close</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="panel">
|
<div id="panel">
|
||||||
<object type="image/svg+xml" data="logo.svg">
|
<object type="image/svg+xml" data="logo.svg">
|
||||||
|
@ -367,6 +367,11 @@ window.onload = function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/* start button listener */
|
||||||
|
$(".btn-close").click(function() {
|
||||||
|
$("#stream").hide();
|
||||||
|
});
|
||||||
|
|
||||||
/* start button listener */
|
/* start button listener */
|
||||||
$(".btn-start").click(function() {
|
$(".btn-start").click(function() {
|
||||||
sumostart = true;
|
sumostart = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user