Added new videoplaceholder from own channel

This commit is contained in:
Kasper Rynning-Tønnesen
2015-02-09 20:18:03 +01:00
parent 99b1815146
commit 31e76dc999
3 changed files with 8 additions and 5 deletions

View File

@@ -362,7 +362,10 @@ function readyLooks()
}
function setBGimage(id){
if(window.mozInnerScreenX == null && !window.mobilecheck()){
if(id == "30H2Z8Lr-4c")
{
$("#bgimage").css("background-image", "url(bg4.jpg);");
}else if(window.mozInnerScreenX == null && !window.mobilecheck()){
$("#bgimage").css("background-image", "url(http://img.youtube.com/vi/"+id+"/0.jpg)");
}else if(window.mobilecheck()){
$("#mobile-banner").css("background-image", "url(http://img.youtube.com/vi/"+id+"/hqdefault.jpg)");