mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated resiable and width of overlay
This commit is contained in:
6
public/dist/main.min.js
vendored
6
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -17,7 +17,7 @@ var Crypt = {
|
||||
Crypt.conf_pass = Crypt.decrypt(Crypt.create_cookie(chan.toLowerCase()), chan.toLowerCase());
|
||||
}
|
||||
Hostcontroller.change_enabled(conf_arr.remote);
|
||||
if(conf_arr.width != 100) Player.set_width(conf_arr.width);
|
||||
//if(conf_arr.width != 100) Player.set_width(conf_arr.width);
|
||||
if(conf_arr.name !== undefined && conf_arr.name !== "") Chat.namechange(conf_arr.name);
|
||||
},
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ function init(){
|
||||
not_import_html = $(".not-imported-container").html();
|
||||
$(".not-imported-container").empty();
|
||||
|
||||
$(".video-container").resizable({
|
||||
/*$(".video-container").resizable({
|
||||
start: function(event, ui) {
|
||||
$('iframe').css('pointer-events','none');
|
||||
},
|
||||
@@ -172,7 +172,7 @@ function init(){
|
||||
handles: "e",
|
||||
minWidth: 350,
|
||||
maxWidth: $(window).width()-241
|
||||
});
|
||||
});*/
|
||||
|
||||
if(socket === undefined || Helper.mobilecheck()){
|
||||
no_socket = false;
|
||||
@@ -320,6 +320,7 @@ function hide_native(way){
|
||||
}
|
||||
} else {
|
||||
$("#volume").slider("value", 100);
|
||||
$("#player_overlay").width($("#player").width() + 1);
|
||||
}
|
||||
$("#player_overlay").css("background", "url(https://i.ytimg.com/vi/" + video_id + "/maxresdefault.jpg)");
|
||||
$("#player_overlay").css("background-position", "center");
|
||||
@@ -923,6 +924,7 @@ $(window).resize(function(){
|
||||
List.can_fit = temp_fit;
|
||||
List.element_height = (($("#wrapper").height()) / List.can_fit)-6;
|
||||
$(".list-song").css("height", List.element_height + "px");
|
||||
$("#player_overlay").width($("#player").width()+1);
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user