<!DOCTYPE html>
<html>
<head>
<script>
function insertBackground() {
  var video = templateData['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;
}

#main {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0%;
}

#inner {
  position: relative;
  top: 50%;
  left: 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="main">
<div id="logo"><img id="youtube" src="youtube.png"/></div>
<div id="inner"><img id="play" src="play.png" onclick="plugin.openYoutubeURL();"/></div>
</div>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
<script>
function insertBackground() {
  var video = templateData['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>

Simplify the css sheets for old-style youtube plugins on android
Simplify the css sheets for old-style youtube plugins on android

This change simplifies the css style for old style youtube plugins on android.
It also fixed a mysterious problem that the youtube placeholder will not be shown.
The problem is caused by having a relative positioned play button image. However, currently I have no idea why this is happening. There could be some layout bugs, or rendering bugs. Need to dig further into this when I have time.
In the mean time, we can cherry-pick this quick fix into m29.

TBR=bauerb
BUG=255469

Review URL: https://chromiumcodereview.appspot.com/19858004

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@213444 0039d316-1c4b-4281-b951-d872f2087c98
