From 6fad943d196b52cf5692bbb4e4ae0e495cffbbae Mon Sep 17 00:00:00 2001 From: Leon Clarke Date: Wed, 24 Mar 2010 17:30:32 +0000 Subject: [PATCH] http://b/issue?id=2516676 Correctly scale the play button and youtube logo when embedded youtube videos are displayed at smaller than the suggested size. --- core/res/assets/webkit/youtube.html | 105 ++++++++++++++++++++-------- 1 file changed, 74 insertions(+), 31 deletions(-) diff --git a/core/res/assets/webkit/youtube.html b/core/res/assets/webkit/youtube.html index 45d9c5ee03f7a..289f8cfdb5009 100644 --- a/core/res/assets/webkit/youtube.html +++ b/core/res/assets/webkit/youtube.html @@ -5,18 +5,6 @@ a:hover { text-decoration: none; } a:link { color: black; } a:visited { color: black; } - #bg { - position: fixed; - margin: 0px; - border: 0px; - padding: 0px; - left: 0px; - top: 0px; - width: 100%; - height: 100%; - overflow: hidden; - z-index: 0; - } #main { position: absolute; left: 0%; @@ -28,26 +16,81 @@ } - -
- -
+ +
- - - - - - - -
- - - -
- -
+