| OLD | NEW |
| 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 <script> | 5 <script> |
| 5 function insertBackground() { | 6 function insertBackground() { |
| 6 var video = templateData['video_id']; | 7 var video = templateData['video_id']; |
| 7 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')"; |
| 8 } | 9 } |
| 9 </script> | 10 </script> |
| 10 <style type="text/css"> | 11 <style type="text/css"> |
| 11 body { | 12 body { |
| 12 background-color: black; | 13 background-color: black; |
| 13 background-repeat: no-repeat; | 14 background-repeat: no-repeat; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 36 #youtube { | 37 #youtube { |
| 37 opacity: .7; | 38 opacity: .7; |
| 38 } | 39 } |
| 39 </style> | 40 </style> |
| 40 </head> | 41 </head> |
| 41 <body id="body" onLoad="insertBackground()"> | 42 <body id="body" onLoad="insertBackground()"> |
| 42 <div id="logo"><img id="youtube" src="youtube.png"/></div> | 43 <div id="logo"><img id="youtube" src="youtube.png"/></div> |
| 43 <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> |
| 44 </body> | 45 </body> |
| 45 </html> | 46 </html> |
| OLD | NEW |