Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: chrome/renderer/resources/mobile_youtube_plugin.html

Issue 846513002: Fix Mobile YouTube Plugin replacement content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta name="viewport" content="width=device-width, user-scalable=no"> 4 <meta name="viewport" content="width=device-width, user-scalable=no">
5 <script> 5 <script>
6 function insertBackground() { 6 function insertBackground() {
7 var video = templateData['video_id']; 7 var video = loadTimeData.getValue("video_id");
8 document.body.style.backgroundImage = "url('http://img.youtube.com/vi/" + vide o + "/0.jpg')"; 8 document.body.style.backgroundImage = "url('http://img.youtube.com/vi/" + vide o + "/0.jpg')";
9 } 9 }
10 </script> 10 </script>
11 <style type="text/css"> 11 <style type="text/css">
12 body { 12 body {
13 background-color: black; 13 background-color: black;
14 background-repeat: no-repeat; 14 background-repeat: no-repeat;
15 background-size: cover; 15 background-size: cover;
16 overflow: hidden; 16 overflow: hidden;
17 } 17 }
(...skipping 19 matching lines...) Expand all
37 #youtube { 37 #youtube {
38 opacity: .7; 38 opacity: .7;
39 } 39 }
40 </style> 40 </style>
41 </head> 41 </head>
42 <body id="body" onLoad="insertBackground()"> 42 <body id="body" onLoad="insertBackground()">
43 <div id="logo"><img id="youtube" src="youtube.png"/></div> 43 <div id="logo"><img id="youtube" src="youtube.png"/></div>
44 <div id="inner"><img id="play" src="play.png" onclick="plugin.openYoutubeURL();" /></div> 44 <div id="inner"><img id="play" src="play.png" onclick="plugin.openYoutubeURL();" /></div>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698