Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <!-- |
michael@0 | 3 | Copyright 2013 Mozilla Foundation |
michael@0 | 4 | |
michael@0 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
michael@0 | 6 | you may not use this file except in compliance with the License. |
michael@0 | 7 | You may obtain a copy of the License at |
michael@0 | 8 | |
michael@0 | 9 | http://www.apache.org/licenses/LICENSE-2.0 |
michael@0 | 10 | |
michael@0 | 11 | Unless required by applicable law or agreed to in writing, software |
michael@0 | 12 | distributed under the License is distributed on an "AS IS" BASIS, |
michael@0 | 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
michael@0 | 14 | See the License for the specific language governing permissions and |
michael@0 | 15 | limitations under the License. |
michael@0 | 16 | --> |
michael@0 | 17 | <html> |
michael@0 | 18 | <head> |
michael@0 | 19 | <meta charset="utf-8"> |
michael@0 | 20 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
michael@0 | 21 | <base href=""/> |
michael@0 | 22 | |
michael@0 | 23 | <script src="../lib/DataView.js/DataView.js"></script> |
michael@0 | 24 | |
michael@0 | 25 | <!-- Load SWF Dependencies --> |
michael@0 | 26 | <script src="../flash/util.js"></script> |
michael@0 | 27 | <script src="../swf/inflate.js"></script> |
michael@0 | 28 | <script src="../swf/stream.js"></script> |
michael@0 | 29 | |
michael@0 | 30 | <style> |
michael@0 | 31 | body { |
michael@0 | 32 | margin: 0; |
michael@0 | 33 | overflow: hidden; |
michael@0 | 34 | background-color: rgba(128, 128, 128, 0.5); |
michael@0 | 35 | font-family: sans-serif; |
michael@0 | 36 | } |
michael@0 | 37 | #screen { |
michael@0 | 38 | position: fixed; |
michael@0 | 39 | top: 0; left: 0; right: 0; bottom: 0; |
michael@0 | 40 | } |
michael@0 | 41 | #container { |
michael@0 | 42 | position: fixed; |
michael@0 | 43 | top: 50%; left: 0; right: 0; bottom: 50%; |
michael@0 | 44 | } |
michael@0 | 45 | #content { |
michael@0 | 46 | margin-top: -64px; |
michael@0 | 47 | text-align: center; |
michael@0 | 48 | } |
michael@0 | 49 | #playbutton { |
michael@0 | 50 | background-color: transparent; |
michael@0 | 51 | background-image: url(chrome://global/skin/media/videoClickToPlayButton.svg); |
michael@0 | 52 | border: none 0px; |
michael@0 | 53 | width: 64px; |
michael@0 | 54 | height: 64px; |
michael@0 | 55 | display: block; |
michael@0 | 56 | margin-left: auto; |
michael@0 | 57 | margin-right: auto; |
michael@0 | 58 | cursor: pointer; |
michael@0 | 59 | margin-bottom: 10px; |
michael@0 | 60 | } |
michael@0 | 61 | #playbutton > span { |
michael@0 | 62 | overflow: hidden; |
michael@0 | 63 | width: 0px; height: 0px; |
michael@0 | 64 | display: inline-block; |
michael@0 | 65 | } |
michael@0 | 66 | |
michael@0 | 67 | @media screen and (max-width: 160px) , screen and (max-height: 160px) { |
michael@0 | 68 | #playbutton { |
michael@0 | 69 | display: none; |
michael@0 | 70 | } |
michael@0 | 71 | #content { |
michael@0 | 72 | margin-top: -6px; |
michael@0 | 73 | } |
michael@0 | 74 | } |
michael@0 | 75 | |
michael@0 | 76 | #screen { |
michael@0 | 77 | transition: opacity 0.5s linear; |
michael@0 | 78 | -webkit-transition: opacity 0.5s linear; |
michael@0 | 79 | opacity: 0.1; |
michael@0 | 80 | } |
michael@0 | 81 | |
michael@0 | 82 | #screen:hover { |
michael@0 | 83 | opacity: 1.0; |
michael@0 | 84 | } |
michael@0 | 85 | |
michael@0 | 86 | .shumwayButton { |
michael@0 | 87 | background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) ); |
michael@0 | 88 | background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% ); |
michael@0 | 89 | background-color:#f9f9f9; |
michael@0 | 90 | -moz-border-radius:4px; |
michael@0 | 91 | -webkit-border-radius:4px; |
michael@0 | 92 | border-radius:4px; |
michael@0 | 93 | border:1px solid #a0a0a0; |
michael@0 | 94 | display:inline-block; |
michael@0 | 95 | color:#666666; |
michael@0 | 96 | font-family:arial; |
michael@0 | 97 | font-size:11px; |
michael@0 | 98 | font-weight:bold; |
michael@0 | 99 | padding:6px 11px; |
michael@0 | 100 | text-decoration:none; |
michael@0 | 101 | text-shadow:1px 1px 0px #ffffff; |
michael@0 | 102 | width: 70px; |
michael@0 | 103 | cursor: pointer; |
michael@0 | 104 | } |
michael@0 | 105 | .shumwayButton:hover { |
michael@0 | 106 | background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) ); |
michael@0 | 107 | background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% ); |
michael@0 | 108 | background-color:#e9e9e9; |
michael@0 | 109 | } |
michael@0 | 110 | .shumwayButton:active { |
michael@0 | 111 | position:relative; |
michael@0 | 112 | top:1px; |
michael@0 | 113 | } |
michael@0 | 114 | </style> |
michael@0 | 115 | </head> |
michael@0 | 116 | |
michael@0 | 117 | <body> |
michael@0 | 118 | <div id='screen'> |
michael@0 | 119 | <div id='container'> |
michael@0 | 120 | <div id='content'> |
michael@0 | 121 | <button id='playbutton'><span>Play</span></button> |
michael@0 | 122 | <div id='toolbar'> |
michael@0 | 123 | <a class="shumwayButton" id="fullmode">Shumway</a> |
michael@0 | 124 | <a class="shumwayButton" id="fallback">Flash</a> |
michael@0 | 125 | </div> |
michael@0 | 126 | </div> |
michael@0 | 127 | </div> |
michael@0 | 128 | </div> |
michael@0 | 129 | </body> |
michael@0 | 130 | </html> |