add close button to live stream

This commit is contained in:
Silver Kuusik 2017-10-16 11:45:30 +02:00
parent 5bc9c1b9b7
commit 9f56770f09
2 changed files with 9 additions and 1 deletions

View File

@ -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">

View File

@ -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;