mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Readded viewers, and removed fullscreenbutton on embed
This commit is contained in:
@@ -26,9 +26,6 @@ $(document).ready(function(){
|
||||
$("head").append('<link type="text/css" rel="stylesheet" href="/static/css/embed.css" />');
|
||||
$("head").append('<link type="text/css" rel="stylesheet" href="/static/css/materialize.min.css" />');
|
||||
|
||||
console.log(document);
|
||||
console.log(window.location.hash)
|
||||
|
||||
add = "https://zoff.no";
|
||||
socket = io.connect(''+add+':8880', connection_options);
|
||||
|
||||
|
||||
@@ -219,6 +219,7 @@ var List = {
|
||||
if(list){
|
||||
song.find(".list-votes").text(video_votes);
|
||||
song.find("#list-song").attr("id", video_id);
|
||||
song.find(".vote-container").attr("title", video_title);
|
||||
|
||||
attr = ".vote-container";
|
||||
del_attr = "del";
|
||||
@@ -233,7 +234,7 @@ var List = {
|
||||
del_attr = "del_suggested";
|
||||
|
||||
song.find(".vote-container").attr("class", "clickable add-suggested");
|
||||
song.find(".add-suggested").attr("title", "Add song!");
|
||||
song.find(".add-suggested").attr("title", video_title);
|
||||
song.find("#del").attr("id", del_attr);
|
||||
song.find(attr).attr("data-video-title", video_title);
|
||||
song.find(attr).attr("data-video-length", song_info.length);
|
||||
|
||||
@@ -178,7 +178,6 @@ var Youtube = {
|
||||
if(embed){
|
||||
setTimeout(function(){
|
||||
Youtube.ytplayer.seekTo(seekTo);
|
||||
console.log("delayed search");
|
||||
}, 1000);
|
||||
}else
|
||||
Youtube.ytplayer.seekTo(seekTo);
|
||||
|
||||
Reference in New Issue
Block a user