mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
PLAYBUTTON
This commit is contained in:
@@ -228,6 +228,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="playbar">
|
||||||
|
<button id="clickme">Play</button>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<?php include("php/footer.php"); ?>
|
<?php include("php/footer.php"); ?>
|
||||||
|
|||||||
@@ -10,6 +10,10 @@
|
|||||||
|
|
||||||
/* GLOBAL STYLES */
|
/* GLOBAL STYLES */
|
||||||
|
|
||||||
|
#playbar{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
#toast-container{
|
#toast-container{
|
||||||
left:2% !important;
|
left:2% !important;
|
||||||
pointer-events:none;
|
pointer-events:none;
|
||||||
@@ -1081,6 +1085,15 @@ nav ul li:hover, nav ul li.active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 992px){
|
@media only screen and (min-width: 992px){
|
||||||
|
#playbar{
|
||||||
|
display:block;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0px;
|
||||||
|
z-index: 1000;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-fixed {
|
.navbar-fixed {
|
||||||
height: 64px;
|
height: 64px;
|
||||||
}
|
}
|
||||||
|
|||||||
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -211,6 +211,10 @@ $('input[class=conf]').change(function()
|
|||||||
Admin.save();
|
Admin.save();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#clickme").click(function(){
|
||||||
|
ytplayer.playVideo();
|
||||||
|
});
|
||||||
|
|
||||||
$('#listImport').on("submit", function(){
|
$('#listImport').on("submit", function(){
|
||||||
Search.importPlaylist(document.getElementById("import").value);
|
Search.importPlaylist(document.getElementById("import").value);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user