PLAYBUTTON

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-27 16:43:06 +01:00
parent e6941ff109
commit ac8ee28b44
4 changed files with 21 additions and 1 deletions

View File

@@ -228,6 +228,9 @@
</div>
</div>
</div>
<div id="playbar">
<button id="clickme">Play</button>
</div>
</main>
<?php include("php/footer.php"); ?>

View File

@@ -10,6 +10,10 @@
/* GLOBAL STYLES */
#playbar{
display:none;
}
#toast-container{
left:2% !important;
pointer-events:none;
@@ -1081,6 +1085,15 @@ nav ul li:hover, nav ul li.active {
}
@media only screen and (min-width: 992px){
#playbar{
display:block;
position: fixed;
bottom: 0px;
z-index: 1000;
left: 0;
right: 0;
}
.navbar-fixed {
height: 64px;
}

File diff suppressed because one or more lines are too long

View File

@@ -211,6 +211,10 @@ $('input[class=conf]').change(function()
Admin.save();
});
$("#clickme").click(function(){
ytplayer.playVideo();
});
$('#listImport').on("submit", function(){
Search.importPlaylist(document.getElementById("import").value);
});