mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed issues with mobileplayer
This commit is contained in:
@@ -725,7 +725,7 @@ hide mdi-action-visibility mdi-action-visibility-off
|
||||
transition: padding 1s ease;
|
||||
}
|
||||
|
||||
.mdi-navigation-close {
|
||||
.mdi-navigation-close {
|
||||
text-align:right !important;
|
||||
}
|
||||
|
||||
@@ -1462,7 +1462,7 @@ ul #chat-log{
|
||||
|
||||
#player{
|
||||
height:95%;
|
||||
height: calc(100% - 32px);
|
||||
height: calc(100%);
|
||||
position: relative;
|
||||
transform: translate(0%, 0%);
|
||||
z-index: 99;
|
||||
@@ -2235,8 +2235,8 @@ nav ul li:hover, nav ul li.active {
|
||||
display: block !important;
|
||||
width: 106vw !important;
|
||||
height: 200px !important;
|
||||
z-index: 2;
|
||||
bottom: 22px;
|
||||
z-index: 9999;
|
||||
bottom: 55px;
|
||||
}
|
||||
|
||||
.chan {
|
||||
|
||||
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/main.min.js
vendored
2
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -712,7 +712,7 @@ window.enable_debug = enable_debug;
|
||||
window.disable_debug = disable_debug;
|
||||
|
||||
function seekToMove(e){
|
||||
|
||||
if(!Helper.mobilecheck()) {
|
||||
var pos_x = e.clientX - Math.ceil($("#seekToDuration").width() / 2) - 8;
|
||||
if(pos_x < 0) pos_x = 0;
|
||||
else if(pos_x + $("#seekToDuration").width() > $("#controls").width()) {
|
||||
@@ -733,11 +733,13 @@ function seekToMove(e){
|
||||
$("#bar").width(((100 / Player.player.getDuration()) * total) + "%");
|
||||
}
|
||||
} catch(e){}
|
||||
}
|
||||
}
|
||||
|
||||
function seekToClick(e){
|
||||
var acceptable = ["bar", "controls", "duration"];
|
||||
if(acceptable.indexOf($(e.target).attr("id")) >= 0) {
|
||||
|
||||
if(acceptable.indexOf($(e.target).attr("id")) >= 0 && !Helper.mobilecheck()) {
|
||||
var total = full_playlist[full_playlist.length - 1].duration / $("#controls").width();
|
||||
total = total * e.clientX;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user