blob: 69e8efa70f256d69c7ed75656470210ac1bcb293 [file] [log] [blame]
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no">
<script>
function insertBackground() {
var video = loadTimeData.getValue("video_id");
document.body.style.backgroundImage = "url('http://img.youtube.com/vi/" + video + "/0.jpg')";
}
</script>
<style type="text/css">
body {
background-color: black;
background-repeat: no-repeat;
background-size: cover;
overflow: hidden;
}
#inner {
position: absolute;
left: 50%;
top: 50%;
margin-left: -33px;
margin-top: -23px;
}
#logo {
position: absolute;
right: 5px;
bottom: 5px;
}
#play {
opacity: .7;
}
#youtube {
opacity: .7;
}
</style>
</head>
<body id="body" onLoad="insertBackground()">
<div id="logo"><img id="youtube" src="youtube.png"/></div>
<div id="inner"><img id="play" src="play.png" onclick="plugin.openYoutubeURL();"/></div>
</body>
</html>