mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
changed from .no to .me
This commit is contained in:
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
8
public/dist/main.min.js
vendored
8
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -41,7 +41,7 @@ $(document).ready(function(){
|
|||||||
$("head").append('<link type="text/css" rel="stylesheet" href="/public/css/embed.css" />');
|
$("head").append('<link type="text/css" rel="stylesheet" href="/public/css/embed.css" />');
|
||||||
$("head").append('<link type="text/css" rel="stylesheet" href="/public/css/materialize.min.css" />');
|
$("head").append('<link type="text/css" rel="stylesheet" href="/public/css/materialize.min.css" />');
|
||||||
|
|
||||||
add = "https://zoff.no";
|
add = "https://zoff.me";
|
||||||
socket = io.connect(''+add+':8080', connection_options);
|
socket = io.connect(''+add+':8080', connection_options);
|
||||||
|
|
||||||
socket.on("get_list", function(){
|
socket.on("get_list", function(){
|
||||||
@@ -86,7 +86,7 @@ function setVolume(val) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$(document).on( "click", "#zoffbutton", function(e){
|
$(document).on( "click", "#zoffbutton", function(e){
|
||||||
window.open("https://zoff.no/" + chan.toLowerCase() + "/", '_blank');
|
window.open("https://zoff.me/" + chan.toLowerCase() + "/", '_blank');
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).on( "click", ".vote-container", function(e){
|
$(document).on( "click", ".vote-container", function(e){
|
||||||
|
|||||||
@@ -354,12 +354,12 @@ String.prototype.capitalizeFirstLetter = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function share_link_modifier_frontpage(){
|
function share_link_modifier_frontpage(){
|
||||||
$("#facebook-code-link").attr("href", "https://www.facebook.com/sharer/sharer.php?u=https://zoff.no/");
|
$("#facebook-code-link").attr("href", "https://www.facebook.com/sharer/sharer.php?u=https://zoff.me/");
|
||||||
$("#facebook-code-link").attr("onclick", "window.open('https://www.facebook.com/sharer/sharer.php?u=https://zoff.no/', 'Share Zoff','width=600,height=300'); return false;");
|
$("#facebook-code-link").attr("onclick", "window.open('https://www.facebook.com/sharer/sharer.php?u=https://zoff.me/', 'Share Zoff','width=600,height=300'); return false;");
|
||||||
$("#twitter-code-link").attr("href", "https://twitter.com/intent/tweet?url=https://zoff.no/&text=Check%20out%20Zoff!&via=zoffmusic");
|
$("#twitter-code-link").attr("href", "https://twitter.com/intent/tweet?url=https://zoff.me/&text=Check%20out%20Zoff!&via=zoffmusic");
|
||||||
$("#twitter-code-link").attr("onclick", "window.open('https://twitter.com/intent/tweet?url=https://zoff.no/&text=Check%20out%20Zoff!&via=zoffmusic','Share Playlist','width=600,height=300'); return false;");
|
$("#twitter-code-link").attr("onclick", "window.open('https://twitter.com/intent/tweet?url=https://zoff.me/&text=Check%20out%20Zoff!&via=zoffmusic','Share Playlist','width=600,height=300'); return false;");
|
||||||
$("#qr-code-link").attr("href", "//chart.googleapis.com/chart?chs=500x500&cht=qr&chl=https://zoff.no/&choe=UTF-8&chld=L%7C1");
|
$("#qr-code-link").attr("href", "//chart.googleapis.com/chart?chs=500x500&cht=qr&chl=https://zoff.me/&choe=UTF-8&chld=L%7C1");
|
||||||
$("#qr-code-image-link").attr("src", "//chart.googleapis.com/chart?chs=150x150&cht=qr&chl=https://zoff.no/&choe=UTF-8&chld=L%7C1");
|
$("#qr-code-image-link").attr("src", "//chart.googleapis.com/chart?chs=150x150&cht=qr&chl=https://zoff.me/&choe=UTF-8&chld=L%7C1");
|
||||||
}
|
}
|
||||||
|
|
||||||
function initfp(){
|
function initfp(){
|
||||||
@@ -385,7 +385,7 @@ function initfp(){
|
|||||||
|
|
||||||
share_link_modifier_frontpage();
|
share_link_modifier_frontpage();
|
||||||
|
|
||||||
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
|
if(window.location.hostname == "zoff.me") add = "https://zoff.me";
|
||||||
else add = window.location.hostname;
|
else add = window.location.hostname;
|
||||||
if(socket === undefined || Helper.mobilecheck()) socket = io.connect(''+add+':8080', connection_options);
|
if(socket === undefined || Helper.mobilecheck()) socket = io.connect(''+add+':8080', connection_options);
|
||||||
if($("#alreadyfp").length === 0 || Helper.mobilecheck() || !socket._callbacks.$playlists){
|
if($("#alreadyfp").length === 0 || Helper.mobilecheck() || !socket._callbacks.$playlists){
|
||||||
|
|||||||
@@ -229,15 +229,15 @@ var Helper = {
|
|||||||
$("#contact-container").html("Mail has been sent, we'll be back with you shortly.")
|
$("#contact-container").html("Mail has been sent, we'll be back with you shortly.")
|
||||||
}else{
|
}else{
|
||||||
$("#contact-container").empty();
|
$("#contact-container").empty();
|
||||||
$("#contact-container").html("Something went wrong, sorry about that. You could instead try with your own mail-client: <a title='Open in client' href='mailto:contact@zoff.no?Subject=Contact%20Zoff'>contact@zoff.no</a>")
|
$("#contact-container").html("Something went wrong, sorry about that. You could instead try with your own mail-client: <a title='Open in client' href='mailto:contact@zoff.me?Subject=Contact%20Zoff'>contact@zoff.me</a>")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
/*from = $("#contact-form-from").val();
|
/*from = $("#contact-form-from").val();
|
||||||
message = $("#contact-form-message").val();
|
message = $("#contact-form-message").val();
|
||||||
$("#contact-container").empty();
|
$("#contact-container").empty();
|
||||||
newWindow = window.open("mailto:contact@zoff.no?Subject=Contact%20Zoff&Body=" + message, "_blank");
|
newWindow = window.open("mailto:contact@zoff.me?Subject=Contact%20Zoff&Body=" + message, "_blank");
|
||||||
$("#contact-container").html("Something went wrong, sorry about that. You could instead try with your own mail-client: <a title='Open in client' href='mailto:contact@zoff.no?Subject=Contact%20Zoff&Body=" + message + "'>contact@zoff.no</a>");
|
$("#contact-container").html("Something went wrong, sorry about that. You could instead try with your own mail-client: <a title='Open in client' href='mailto:contact@zoff.me?Subject=Contact%20Zoff&Body=" + message + "'>contact@zoff.me</a>");
|
||||||
setTimeout(function(){newWindow.close();},500);*/
|
setTimeout(function(){newWindow.close();},500);*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -807,8 +807,8 @@ var List = {
|
|||||||
showToggle=false;
|
showToggle=false;
|
||||||
$("#toptitle").empty();
|
$("#toptitle").empty();
|
||||||
$("#chan").addClass("bigChan");
|
$("#chan").addClass("bigChan");
|
||||||
//$("#chan").html("zoff.no/"+encodeURI(chan));
|
//$("#chan").html("zoff.me/"+encodeURI(chan));
|
||||||
$("#chan").html("zoff.no/"+chan.toLowerCase());
|
$("#chan").html("zoff.me/"+chan.toLowerCase());
|
||||||
}else{
|
}else{
|
||||||
showToggle=true;
|
showToggle=true;
|
||||||
$("#toptitle").html("Zoff");
|
$("#toptitle").html("Zoff");
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ function init(){
|
|||||||
|
|
||||||
share_link_modifier_channel();
|
share_link_modifier_channel();
|
||||||
|
|
||||||
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
|
if(window.location.hostname == "zoff.me") add = "https://zoff.me";
|
||||||
else add = window.location.hostname;
|
else add = window.location.hostname;
|
||||||
|
|
||||||
if(Player !== undefined) Player.stopInterval= false;
|
if(Player !== undefined) Player.stopInterval= false;
|
||||||
@@ -487,7 +487,7 @@ initializeCastApi = function() {
|
|||||||
switch (event.sessionState) {
|
switch (event.sessionState) {
|
||||||
case cast.framework.SessionState.SESSION_STARTED:
|
case cast.framework.SessionState.SESSION_STARTED:
|
||||||
castSession = cast.framework.CastContext.getInstance().getCurrentSession();
|
castSession = cast.framework.CastContext.getInstance().getCurrentSession();
|
||||||
castSession.addMessageListener("urn:x-cast:zoff.no", chromecastListener)
|
castSession.addMessageListener("urn:x-cast:zoff.me", chromecastListener)
|
||||||
chrome.cast.media.GenericMediaMetadata({title:song_title, image: 'https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg'});
|
chrome.cast.media.GenericMediaMetadata({title:song_title, image: 'https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg'});
|
||||||
chrome.cast.Image('https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg');
|
chrome.cast.Image('https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg');
|
||||||
chromecastAvailable = true;
|
chromecastAvailable = true;
|
||||||
@@ -499,13 +499,13 @@ initializeCastApi = function() {
|
|||||||
} catch(e){
|
} catch(e){
|
||||||
_seekTo = seekTo;
|
_seekTo = seekTo;
|
||||||
}
|
}
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "loadVideo", videoId: video_id, seekTo: _seekTo})
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "loadVideo", videoId: video_id, seekTo: _seekTo})
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "nextVideo", videoId: full_playlist[0].id, title: full_playlist[0].title})
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "nextVideo", videoId: full_playlist[0].id, title: full_playlist[0].title})
|
||||||
hide_native(1);
|
hide_native(1);
|
||||||
break;
|
break;
|
||||||
case cast.framework.SessionState.SESSION_RESUMED:
|
case cast.framework.SessionState.SESSION_RESUMED:
|
||||||
castSession = cast.framework.CastContext.getInstance().getCurrentSession();
|
castSession = cast.framework.CastContext.getInstance().getCurrentSession();
|
||||||
castSession.addMessageListener("urn:x-cast:zoff.no", chromecastListener);
|
castSession.addMessageListener("urn:x-cast:zoff.me", chromecastListener);
|
||||||
chrome.cast.media.GenericMediaMetadata({title:song_title, image: 'https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg'});
|
chrome.cast.media.GenericMediaMetadata({title:song_title, image: 'https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg'});
|
||||||
chrome.cast.Image('https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg');
|
chrome.cast.Image('https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg');
|
||||||
chromecastAvailable = true;
|
chromecastAvailable = true;
|
||||||
@@ -517,8 +517,8 @@ initializeCastApi = function() {
|
|||||||
} catch(e){
|
} catch(e){
|
||||||
_seekTo = seekTo;
|
_seekTo = seekTo;
|
||||||
}
|
}
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "loadVideo", videoId: video_id, seekTo: _seekTo})
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "loadVideo", videoId: video_id, seekTo: _seekTo})
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "nextVideo", videoId: full_playlist[0].id, title: full_playlist[0].title})
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "nextVideo", videoId: full_playlist[0].id, title: full_playlist[0].title})
|
||||||
hide_native(1);
|
hide_native(1);
|
||||||
break;
|
break;
|
||||||
case cast.framework.SessionState.SESSION_ENDED:
|
case cast.framework.SessionState.SESSION_ENDED:
|
||||||
@@ -706,7 +706,7 @@ function disable_debug(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function embed_code(autoplay, width, height, color){
|
function embed_code(autoplay, width, height, color){
|
||||||
return '<embed src="https://zoff.no/_embed#' + chan.toLowerCase() + '&' + color + autoplay + '" width="' + width + 'px" height="' + height + 'px">';
|
return '<embed src="https://zoff.me/_embed#' + chan.toLowerCase() + '&' + color + autoplay + '" width="' + width + 'px" height="' + height + 'px">';
|
||||||
}
|
}
|
||||||
|
|
||||||
function set_title_width(start){
|
function set_title_width(start){
|
||||||
@@ -1572,12 +1572,12 @@ $(document).on("submit", "#find_form", function(e){
|
|||||||
|
|
||||||
|
|
||||||
function share_link_modifier_channel(){
|
function share_link_modifier_channel(){
|
||||||
$("#facebook-code-link").attr("href", "https://www.facebook.com/sharer/sharer.php?u=https://zoff.no/" + chan.toLowerCase());
|
$("#facebook-code-link").attr("href", "https://www.facebook.com/sharer/sharer.php?u=https://zoff.me/" + chan.toLowerCase());
|
||||||
$("#facebook-code-link").attr("onclick", "window.open('https://www.facebook.com/sharer/sharer.php?u=https://zoff.no/" + chan.toLowerCase() + "', 'Share Playlist','width=600,height=300'); return false;");
|
$("#facebook-code-link").attr("onclick", "window.open('https://www.facebook.com/sharer/sharer.php?u=https://zoff.me/" + chan.toLowerCase() + "', 'Share Playlist','width=600,height=300'); return false;");
|
||||||
$("#twitter-code-link").attr("href", "https://twitter.com/intent/tweet?url=https://zoff.no/" + chan.toLowerCase() + "&text=Check%20out%20this%20playlist%20" + chan.toLowerCase() + "%20on%20Zoff!&via=zoffmusic");
|
$("#twitter-code-link").attr("href", "https://twitter.com/intent/tweet?url=https://zoff.me/" + chan.toLowerCase() + "&text=Check%20out%20this%20playlist%20" + chan.toLowerCase() + "%20on%20Zoff!&via=zoffmusic");
|
||||||
$("#twitter-code-link").attr("onclick", "window.open('https://twitter.com/intent/tweet?url=https://zoff.no/" + chan.toLowerCase() + "/&text=Check%20out%20this%20playlist%20" + chan.toLowerCase() + "%20on%20Zoff!&via=zoffmusic','Share Playlist','width=600,height=300'); return false;");
|
$("#twitter-code-link").attr("onclick", "window.open('https://twitter.com/intent/tweet?url=https://zoff.me/" + chan.toLowerCase() + "/&text=Check%20out%20this%20playlist%20" + chan.toLowerCase() + "%20on%20Zoff!&via=zoffmusic','Share Playlist','width=600,height=300'); return false;");
|
||||||
$("#qr-code-link").attr("href", "//chart.googleapis.com/chart?chs=500x500&cht=qr&chl=https://zoff.no/" + chan.toLowerCase() + "&choe=UTF-8&chld=L%7C1");
|
$("#qr-code-link").attr("href", "//chart.googleapis.com/chart?chs=500x500&cht=qr&chl=https://zoff.me/" + chan.toLowerCase() + "&choe=UTF-8&chld=L%7C1");
|
||||||
$("#qr-code-image-link").attr("src", "//chart.googleapis.com/chart?chs=150x150&cht=qr&chl=https://zoff.no/" + chan.toLowerCase() + "&choe=UTF-8&chld=L%7C1");
|
$("#qr-code-image-link").attr("src", "//chart.googleapis.com/chart?chs=150x150&cht=qr&chl=https://zoff.me/" + chan.toLowerCase() + "&choe=UTF-8&chld=L%7C1");
|
||||||
}
|
}
|
||||||
|
|
||||||
function before_toast(){
|
function before_toast(){
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ var Player = {
|
|||||||
|
|
||||||
playVideo: function(){
|
playVideo: function(){
|
||||||
if(chromecastAvailable){
|
if(chromecastAvailable){
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "playVideo"});
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "playVideo"});
|
||||||
//socket.emit('pos', {channel: chan.toLowerCase()});
|
//socket.emit('pos', {channel: chan.toLowerCase()});
|
||||||
chrome.cast.media.GenericMediaMetadata({metadataType: "GENERIC", title:song_title, image: 'https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg'});
|
chrome.cast.media.GenericMediaMetadata({metadataType: "GENERIC", title:song_title, image: 'https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg'});
|
||||||
chrome.cast.Image('https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg');
|
chrome.cast.Image('https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg');
|
||||||
@@ -207,7 +207,7 @@ var Player = {
|
|||||||
|
|
||||||
pauseVideo: function(){
|
pauseVideo: function(){
|
||||||
if(chromecastAvailable){
|
if(chromecastAvailable){
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "pauseVideo"});
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "pauseVideo"});
|
||||||
if($("#play").hasClass("hide")){
|
if($("#play").hasClass("hide")){
|
||||||
$("#play").toggleClass("hide");
|
$("#play").toggleClass("hide");
|
||||||
$("#pause").toggleClass("hide");
|
$("#pause").toggleClass("hide");
|
||||||
@@ -220,7 +220,7 @@ var Player = {
|
|||||||
|
|
||||||
seekTo: function(_seekTo){
|
seekTo: function(_seekTo){
|
||||||
if(chromecastAvailable){
|
if(chromecastAvailable){
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "seekTo", seekTo: _seekTo});
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "seekTo", seekTo: _seekTo});
|
||||||
} else if(!offline){
|
} else if(!offline){
|
||||||
Player.player.seekTo(_seekTo);
|
Player.player.seekTo(_seekTo);
|
||||||
} else {
|
} else {
|
||||||
@@ -230,7 +230,7 @@ var Player = {
|
|||||||
|
|
||||||
loadVideoById: function(id){
|
loadVideoById: function(id){
|
||||||
if(chromecastAvailable){
|
if(chromecastAvailable){
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "loadVideo", videoId: id});
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "loadVideo", videoId: id});
|
||||||
chrome.cast.media.GenericMediaMetadata({metadataType: "GENERIC", title:song_title, image: 'https://img.youtube.com/vi/'+id+'/mqdefault.jpg'});
|
chrome.cast.media.GenericMediaMetadata({metadataType: "GENERIC", title:song_title, image: 'https://img.youtube.com/vi/'+id+'/mqdefault.jpg'});
|
||||||
chrome.cast.Image('https://img.youtube.com/vi/'+id+'/mqdefault.jpg');
|
chrome.cast.Image('https://img.youtube.com/vi/'+id+'/mqdefault.jpg');
|
||||||
} else {
|
} else {
|
||||||
@@ -240,7 +240,7 @@ var Player = {
|
|||||||
|
|
||||||
stopVideo: function(){
|
stopVideo: function(){
|
||||||
if(chromecastAvailable){
|
if(chromecastAvailable){
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "stopVideo"});
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "stopVideo"});
|
||||||
} else {
|
} else {
|
||||||
try{
|
try{
|
||||||
Player.player.stopVideo();
|
Player.player.stopVideo();
|
||||||
@@ -265,7 +265,7 @@ var Player = {
|
|||||||
Player.getTitle(song_title, viewers);
|
Player.getTitle(song_title, viewers);
|
||||||
Player.setBGimage(video_id);
|
Player.setBGimage(video_id);
|
||||||
if(chromecastAvailable){
|
if(chromecastAvailable){
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "loadVideo", videoId: video_id});
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "loadVideo", videoId: video_id});
|
||||||
chrome.cast.media.GenericMediaMetadata({metadataType: "GENERIC", title:song_title, image: 'https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg'});
|
chrome.cast.media.GenericMediaMetadata({metadataType: "GENERIC", title:song_title, image: 'https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg'});
|
||||||
chrome.cast.Image('https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg');
|
chrome.cast.Image('https://img.youtube.com/vi/'+video_id+'/mqdefault.jpg');
|
||||||
} else {
|
} else {
|
||||||
@@ -276,7 +276,7 @@ var Player = {
|
|||||||
|
|
||||||
sendNext: function(obj){
|
sendNext: function(obj){
|
||||||
if(chromecastAvailable){
|
if(chromecastAvailable){
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "nextVideo", title: obj.title, videoId: obj.videoId});
|
castSession.sendMessage("urn:x-cast:zoff.me", {type: "nextVideo", title: obj.title, videoId: obj.videoId});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -394,7 +394,7 @@ var Player = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
img.crossOrigin = 'Anonymous';
|
img.crossOrigin = 'Anonymous';
|
||||||
img.src = 'https://zoff.no:8081/https://img.youtube.com/vi/'+id+'/mqdefault.jpg';
|
img.src = 'https://zoff.me:8081/https://img.youtube.com/vi/'+id+'/mqdefault.jpg';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -118,12 +118,12 @@ var Playercontrols = {
|
|||||||
{
|
{
|
||||||
if(!Player.player.isMuted())
|
if(!Player.player.isMuted())
|
||||||
{
|
{
|
||||||
if(chromecastAvailable) castSession.sendMessage("urn:x-cast:zoff.no", {type: "mute"});
|
if(chromecastAvailable) castSession.sendMessage("urn:x-cast:zoff.me", {type: "mute"});
|
||||||
Playercontrols.choose_button(0, true);
|
Playercontrols.choose_button(0, true);
|
||||||
Player.player.mute();
|
Player.player.mute();
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
if(chromecastAvailable)castSession.sendMessage("urn:x-cast:zoff.no", {type: "unMute"});
|
if(chromecastAvailable)castSession.sendMessage("urn:x-cast:zoff.me", {type: "unMute"});
|
||||||
Player.player.unMute();
|
Player.player.unMute();
|
||||||
Playercontrols.choose_button(Player.player.getVolume(), false);
|
Playercontrols.choose_button(Player.player.getVolume(), false);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ $(document).ready(function (){
|
|||||||
$("#about").modal();
|
$("#about").modal();
|
||||||
$("#contact").modal();
|
$("#contact").modal();
|
||||||
|
|
||||||
if(window.location.hostname == "remote.zoff.no") add = "https://zoff.no";
|
if(window.location.hostname == "remote.zoff.me") add = "https://zoff.me";
|
||||||
else add = "localhost";
|
else add = "localhost";
|
||||||
socket = io.connect(add + ':8080', connection_options);
|
socket = io.connect(add + ':8080', connection_options);
|
||||||
id = window.location.pathname.split("/")[1];
|
id = window.location.pathname.split("/")[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user