mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed some bugs with settings panel, heights of buttons in remote, README.md updated
This commit is contained in:
22
README.md
22
README.md
@@ -11,23 +11,27 @@ The team consists of Kasper Rynning-Tønnesen and Nicolas Almagro Tonne, and the
|
|||||||
|
|
||||||
The team can be reached on <a href="mailto:contact@zoff.no?Subject=Contact%20Zoff">contact@zoff.no</a>
|
The team can be reached on <a href="mailto:contact@zoff.no?Subject=Contact%20Zoff">contact@zoff.no</a>
|
||||||
|
|
||||||
###Screenshot of desktop version:
|
###Screenshots of desktop version:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
###Screenshot of the mobile version:
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
###Screenshots of the mobile version:
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
|
|||||||
@@ -80,13 +80,13 @@
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="rc" id="remote-controls">
|
<div class="rc" id="remote-controls">
|
||||||
<a class="chan-link waves-effect btn green" onclick="play();">
|
<a class="remote-button chan-link waves-effect btn green" onclick="play();">
|
||||||
<i id="remote_play" class="mdi-av-play-arrow"></i>
|
<i id="remote_play" class="mdi-av-play-arrow"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="chan-link waves-effect btn gray" onclick="pause();">
|
<a class="remote-button chan-link waves-effect btn gray" onclick="pause();">
|
||||||
<i id="remote_pause" class="mdi-av-pause"></i>
|
<i id="remote_pause" class="mdi-av-pause"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="chan-link waves-effect btn blue" onclick="skip();">
|
<a class="remote-button chan-link waves-effect btn blue" onclick="skip();">
|
||||||
<i id="remote_skip" class="mdi-av-skip-next"></i>
|
<i id="remote_skip" class="mdi-av-skip-next"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -63,6 +63,15 @@ input[type=text]:focus:not([readonly]) + label, input[type=password]:focus:not([
|
|||||||
color: #2D2D2D;
|
color: #2D2D2D;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input-field{
|
||||||
|
margin-left: 25px;
|
||||||
|
color: rgb(68,68,68);
|
||||||
|
}
|
||||||
|
|
||||||
|
#password{
|
||||||
|
margin-left:10px;
|
||||||
|
}
|
||||||
|
|
||||||
span.badge.new,
|
span.badge.new,
|
||||||
.progress .determinate,
|
.progress .determinate,
|
||||||
.progress .indeterminate,
|
.progress .indeterminate,
|
||||||
@@ -567,9 +576,9 @@ ul #chat-log{
|
|||||||
}
|
}
|
||||||
.switch{
|
.switch{
|
||||||
display: inline;
|
display: inline;
|
||||||
/*float: right;*/
|
float: right;
|
||||||
position: absolute;
|
/*position: absolute;*/
|
||||||
right:10px;
|
margin-right:10px;
|
||||||
}
|
}
|
||||||
.switch label .lever {
|
.switch label .lever {
|
||||||
background-color: #00B2FF;
|
background-color: #00B2FF;
|
||||||
@@ -826,6 +835,10 @@ ul #chat-log{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.remote-button{
|
||||||
|
line-height:21px;
|
||||||
|
}
|
||||||
|
|
||||||
#remote-controls {
|
#remote-controls {
|
||||||
font-size:50px !important;
|
font-size:50px !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,12 +45,12 @@ function setup_youtube_listener(channel)
|
|||||||
seekTo = time - conf["startTime"];
|
seekTo = time - conf["startTime"];
|
||||||
song_title = obj[0][0]["title"];
|
song_title = obj[0][0]["title"];
|
||||||
getTitle(song_title, viewers);
|
getTitle(song_title, viewers);
|
||||||
|
setBGimage(video_id);
|
||||||
if(player_ready && !window.mobilecheck())
|
if(player_ready && !window.mobilecheck())
|
||||||
{
|
{
|
||||||
if(ytplayer.getVideoUrl().split('v=')[1] != video_id)
|
if(ytplayer.getVideoUrl().split('v=')[1] != video_id)
|
||||||
{
|
{
|
||||||
ytplayer.loadVideoById(video_id);
|
ytplayer.loadVideoById(video_id);
|
||||||
setBGimage(video_id);
|
|
||||||
notifyUser(video_id, song_title);
|
notifyUser(video_id, song_title);
|
||||||
ytplayer.seekTo(seekTo);
|
ytplayer.seekTo(seekTo);
|
||||||
if(paused)
|
if(paused)
|
||||||
|
|||||||
Reference in New Issue
Block a user