--- /dev/null
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ version="1.1"
+ id="videoPlayButtonOverlay"
+ preserveAspectRatio="xMinYMin meet"
+ viewBox="0 0 64 64">
+ <defs>
+ <linearGradient id="whiteGradientStops">
+ <stop id="whiteGradientStop01" style="stop-color:#ffffff;stop-opacity:.95" offset="0" />
+ <stop id="whiteGradientStop02" style="stop-color:#ffffff;stop-opacity:.75" offset=".45" />
+ <stop id="whiteGradientStop03" style="stop-color:#ffffff;stop-opacity:.72" offset=".55" />
+ <stop id="whiteGradientStop04" style="stop-color:#ffffff;stop-opacity:.65" offset="1" />
+ </linearGradient>
+ <linearGradient
+ x1="32"
+ y1="0"
+ x2="32"
+ y2="62"
+ id="whiteGradient"
+ xlink:href="#whiteGradientStops"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient id="arrowGradientStops">
+ <stop id="arrowGradientStop01" style="stop-color:#333333;stop-opacity:.5" offset="0" />
+ <stop id="arrowGradientStop02" style="stop-color:#666666;stop-opacity:.5" offset="1" />
+ </linearGradient>
+ <linearGradient
+ x1="32"
+ y1="16"
+ x2="32"
+ y2="48"
+ id="arrowGradient"
+ xlink:href="#arrowGradientStops"
+ gradientUnits="userSpaceOnUse" />
+ <filter
+ x="-0.15"
+ y="-0.15"
+ width="1.25"
+ height="1.25"
+ color-interpolation-filters="sRGB"
+ id="dropShadow">
+ <feGaussianBlur
+ result="blur"
+ stdDeviation="2"
+ in="SourceAlpha"
+ id="dropShadowBlur" />
+ <feColorMatrix
+ values="1 0 0 0 0
+ 0 1 0 0 0
+ 0 0 1 0 0
+ 0 0 0 .5 0"
+ type="matrix"
+ result="bluralpha"
+ id="dropShadowColor" />
+ <feOffset
+ result="offsetBlur"
+ dy="1"
+ dx="0"
+ in="bluralpha"
+ id="dropShadowOffset" />
+ <feMerge>
+ <feMergeNode
+ in="offsetBlur" />
+ <feMergeNode
+ in="SourceGraphic" />
+ </feMerge>
+ </filter>
+ <mask id="dropShadowMask">
+ <path
+ d="M47.285,30.991L23.75,17.24c-0.357-0.208-0.692-0.278-0.969-0.221 C22.32,17.115,22,17.555,22,18.252v27.499c0,1.112,0.797,1.568,1.75,1.011l23.535-13.748C48.238,32.458,48.238,31.547,47.285,30.991 z M0,0v64h64V0H0z M32,60C16.536,60,4,47.464,4,32S16.536,4,32,4s28,12.536,28,28S47.464,60,32,60z"
+ id="dropShadowMaskPath"
+ style="fill:#ffffff;fill-opacity:1;stroke:none" />
+ </mask>
+ </defs>
+ <path
+ d="M32,4C16.536,4,4,16.536,4,32s12.536,28,28,28s28-12.536,28-28S47.464,4,32,4z M47.285,33.014 L23.75,46.762C22.797,47.319,22,46.863,22,45.751v-27.5c0-0.697,0.32-1.137,0.781-1.232c0.277-0.058,0.612,0.012,0.969,0.221 l23.535,13.751C48.238,31.546,48.238,32.458,47.285,33.014z"
+ mask="url(#dropShadowMask)"
+ id="playButtonShadow"
+ style="fill:black;fill-opacity:1;stroke:none;filter:url(#dropShadow)" />
+ <path
+ d="M22.781,17.019C22.32,17.114,22,17.555,22,18.251v27.5c0,1.112,0.797,1.568,1.75,1.011 l23.535-13.748c0.953-0.556,0.953-1.467,0-2.023L23.75,17.24C23.393,17.031,23.058,16.961,22.781,17.019z"
+ id="playButtonArrow"
+ style="fill:url(#arrowGradient);fill-opacity:1;stroke:none" />
+ <path
+ d="M32,4C16.536,4,4,16.536,4,32s12.536,28,28,28s28-12.536,28-28S47.464,4,32,4z M47.285,33.014 L23.75,46.762C22.797,47.319,22,46.863,22,45.751v-27.5c0-0.697,0.32-1.137,0.781-1.232c0.277-0.058,0.612,0.012,0.969,0.221 l23.535,13.751C48.238,31.546,48.238,32.458,47.285,33.014z"
+ id="playButton"
+ style="fill:url(#whiteGradient);fill-opacity:1;stroke:none" />
+ <path
+ d="M32,4C16.536,4,4,16.536,4,32s12.536,28,28,28s28-12.536,28-28S47.464,4,32,4z M32,59C17.112,59,5,46.888,5,32S17.112,5,32,5s27,12.112,27,27S46.888,59,32,59z M47.789,30.127l-23.534-13.75 C23.826,16.126,23.396,16,22.976,16c-0.135,0-0.27,0.014-0.398,0.041C21.62,16.238,21,17.106,21,18.251v27.5 C21,47.075,21.812,48,22.977,48c0.423,0,0.854-0.126,1.279-0.375L47.79,33.877c0.769-0.449,1.21-1.132,1.21-1.875 S48.559,30.576,47.789,30.127z M47.285,33.014L23.75,46.762C23.474,46.924,23.211,47,22.977,47C22.402,47,22,46.541,22,45.751v-27.5 c0-0.697,0.32-1.137,0.781-1.232L22.976,17c0.233,0,0.498,0.079,0.775,0.24l23.535,13.751 C48.238,31.546,48.238,32.458,47.285,33.014z"
+ id="playButtonEdgeHighlights"
+ style="fill:white;fill-opacity:.3;stroke:none" />
+ <path
+ d="M32,4C16.536,4,4,16.536,4,32c0,0.167,0.01,0.333,0.013,0.5 C4.28,17.268,16.704,5,32,5c15.296,0,27.72,12.268,27.987,27.5C59.99,32.333,60,32.167,60,32C60,16.536,47.464,4,32,4z M47.285,33.014L23.75,46.762C22.797,47.319,22,46.863,22,45.751v1c0,1.112,0.797,1.568,1.75,1.011l23.535-13.748 c0.697-0.406,0.879-1.003,0.556-1.512C47.723,32.688,47.541,32.864,47.285,33.014z"
+ id="playButtonTopEdgeHighlights"
+ style="fill:white;fill-opacity:.8;stroke:none" />
+</svg>
background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
}
+/* Overlay Play button */
+.clickToPlay {
+ width: 64px;
+ height: 64px;
+ -moz-box-pack: center;
+ -moz-box-align: center;
+ opacity: 0.7;
+ background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
+ url("chrome://global/skin/media/videoClickToPlayButton.svg");
+ background-repeat: repeat, no-repeat;
+ background-position: center, center;
+ background-size: auto, 64px 64px;
+ background-color: hsla(0,0%,10%,.5);
+}
+.clickToPlay:hover {
+ opacity: 1;
+}
+
/* Statistics formatting */
html|*.statsDiv {
position: relative;
}
/* CSS Transitions */
+.clickToPlay {
+ -moz-transition-property: opacity, background-size;
+ -moz-transition-duration: 400ms, 400ms;
+}
+.clickToPlay[fadeout] {
+ background-size: auto, 192px 192px;
+ opacity: 0;
+}
+.clickToPlay[fadeout][immediate] {
+ -moz-transition-property: opacity, background-size;
+ -moz-transition-duration: 0s, 0s;
+}
.controlBar:not([immediate]) {
-moz-transition-property: opacity;
-moz-transition-duration: 200ms;
--- /dev/null
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ version="1.1"
+ id="videoPlayButtonOverlay"
+ preserveAspectRatio="xMinYMin meet"
+ viewBox="0 0 64 64">
+ <defs>
+ <linearGradient id="whiteGradientStops">
+ <stop id="whiteGradientStop01" style="stop-color:#000000;stop-opacity:.95" offset="0" />
+ <stop id="whiteGradientStop02" style="stop-color:#000000;stop-opacity:.75" offset=".45" />
+ <stop id="whiteGradientStop03" style="stop-color:#000000;stop-opacity:.72" offset=".55" />
+ <stop id="whiteGradientStop04" style="stop-color:#000000;stop-opacity:.65" offset="1" />
+ </linearGradient>
+ <linearGradient
+ x1="32"
+ y1="0"
+ x2="32"
+ y2="62"
+ id="whiteGradient"
+ xlink:href="#whiteGradientStops"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient id="arrowGradientStops">
+ <stop id="arrowGradientStop01" style="stop-color:#FFCF00;stop-opacity:.8" offset="0" />
+ <stop id="arrowGradientStop02" style="stop-color:#FF9F00;stop-opacity:.8" offset="1" />
+ </linearGradient>
+ <linearGradient
+ x1="32"
+ y1="16"
+ x2="32"
+ y2="48"
+ id="arrowGradient"
+ xlink:href="#arrowGradientStops"
+ gradientUnits="userSpaceOnUse" />
+ <filter
+ x="-0.15"
+ y="-0.15"
+ width="1.25"
+ height="1.25"
+ color-interpolation-filters="sRGB"
+ id="dropShadow">
+ <feGaussianBlur
+ result="blur"
+ stdDeviation="2"
+ in="SourceAlpha"
+ id="dropShadowBlur" />
+ <feColorMatrix
+ values="1 0 0 0 0
+ 0 1 0 0 0
+ 0 0 1 0 0
+ 0 0 0 .5 0"
+ type="matrix"
+ result="bluralpha"
+ id="dropShadowColor" />
+ <feOffset
+ result="offsetBlur"
+ dy="1"
+ dx="0"
+ in="bluralpha"
+ id="dropShadowOffset" />
+ <feMerge>
+ <feMergeNode
+ in="offsetBlur" />
+ <feMergeNode
+ in="SourceGraphic" />
+ </feMerge>
+ </filter>
+ <mask id="dropShadowMask">
+ <path
+ d="M47.285,30.991L23.75,17.24c-0.357-0.208-0.692-0.278-0.969-0.221 C22.32,17.115,22,17.555,22,18.252v27.499c0,1.112,0.797,1.568,1.75,1.011l23.535-13.748C48.238,32.458,48.238,31.547,47.285,30.991 z M0,0v64h64V0H0z M32,60C16.536,60,4,47.464,4,32S16.536,4,32,4s28,12.536,28,28S47.464,60,32,60z"
+ id="dropShadowMaskPath"
+ style="fill:#000000;fill-opacity:1;stroke:none" />
+ </mask>
+ </defs>
+ <path
+ d="M32,4C16.536,4,4,16.536,4,32s12.536,28,28,28s28-12.536,28-28S47.464,4,32,4z M47.285,33.014 L23.75,46.762C22.797,47.319,22,46.863,22,45.751v-27.5c0-0.697,0.32-1.137,0.781-1.232c0.277-0.058,0.612,0.012,0.969,0.221 l23.535,13.751C48.238,31.546,48.238,32.458,47.285,33.014z"
+ mask="url(#dropShadowMask)"
+ id="playButtonShadow"
+ style="fill:white;fill-opacity:1;stroke:none;filter:url(#dropShadow)" />
+ <path
+ d="M22.781,17.019C22.32,17.114,22,17.555,22,18.251v27.5c0,1.112,0.797,1.568,1.75,1.011 l23.535-13.748c0.953-0.556,0.953-1.467,0-2.023L23.75,17.24C23.393,17.031,23.058,16.961,22.781,17.019z"
+ id="playButtonArrow"
+ style="fill:url(#arrowGradient);fill-opacity:1;stroke:none" />
+ <path
+ d="M32,4C16.536,4,4,16.536,4,32s12.536,28,28,28s28-12.536,28-28S47.464,4,32,4z M47.285,33.014 L23.75,46.762C22.797,47.319,22,46.863,22,45.751v-27.5c0-0.697,0.32-1.137,0.781-1.232c0.277-0.058,0.612,0.012,0.969,0.221 l23.535,13.751C48.238,31.546,48.238,32.458,47.285,33.014z"
+ id="playButton"
+ style="fill:url(#whiteGradient);fill-opacity:1;stroke:none" />
+ <path
+ d="M32,4C16.536,4,4,16.536,4,32s12.536,28,28,28s28-12.536,28-28S47.464,4,32,4z M32,59C17.112,59,5,46.888,5,32S17.112,5,32,5s27,12.112,27,27S46.888,59,32,59z M47.789,30.127l-23.534-13.75 C23.826,16.126,23.396,16,22.976,16c-0.135,0-0.27,0.014-0.398,0.041C21.62,16.238,21,17.106,21,18.251v27.5 C21,47.075,21.812,48,22.977,48c0.423,0,0.854-0.126,1.279-0.375L47.79,33.877c0.769-0.449,1.21-1.132,1.21-1.875 S48.559,30.576,47.789,30.127z M47.285,33.014L23.75,46.762C23.474,46.924,23.211,47,22.977,47C22.402,47,22,46.541,22,45.751v-27.5 c0-0.697,0.32-1.137,0.781-1.232L22.976,17c0.233,0,0.498,0.079,0.775,0.24l23.535,13.751 C48.238,31.546,48.238,32.458,47.285,33.014z"
+ id="playButtonEdgeHighlights"
+ style="fill:black;fill-opacity:.3;stroke:none" />
+ <path
+ d="M32,4C16.536,4,4,16.536,4,32c0,0.167,0.01,0.333,0.013,0.5 C4.28,17.268,16.704,5,32,5c15.296,0,27.72,12.268,27.987,27.5C59.99,32.333,60,32.167,60,32C60,16.536,47.464,4,32,4z M47.285,33.014L23.75,46.762C22.797,47.319,22,46.863,22,45.751v1c0,1.112,0.797,1.568,1.75,1.011l23.535-13.748 c0.697-0.406,0.879-1.003,0.556-1.512C47.723,32.688,47.541,32.864,47.285,33.014z"
+ id="playButtonTopEdgeHighlights"
+ style="fill:#402800;fill-opacity:.8;stroke:none" />
+</svg>
background: url("chrome://global/skin/icons/alert-error.gif") no-repeat center;
}
+/* Overlay Play button */
+.clickToPlay {
+ width: 64px;
+ height: 64px;
+ -moz-box-pack: center;
+ -moz-box-align: center;
+ opacity: 0.7;
+ background-image: url("chrome://global/skin/media/clicktoplay-bgtexture.png"),
+ url("chrome://global/skin/media/videoClickToPlayButton.svg");
+ background-repeat: repeat, no-repeat;
+ background-position: center, center;
+ background-size: auto, 64px 64px;
+ background-color: hsla(0,0%,10%,.5);
+}
+.clickToPlay:hover {
+ opacity: 1;
+}
+
/* Statistics formatting */
html|*.statsDiv {
position: relative;
}
/* CSS Transitions */
+.clickToPlay {
+ -moz-transition-property: opacity, background-size;
+ -moz-transition-duration: 400ms, 400ms;
+}
+.clickToPlay[fadeout] {
+ background-size: auto, 192px 192px;
+ opacity: 0;
+}
+.clickToPlay[fadeout][immediate] {
+ -moz-transition-property: opacity, background-size;
+ -moz-transition-duration: 0s, 0s;
+}
.controlBar:not([immediate]) {
-moz-transition-property: opacity;
-moz-transition-duration: 200ms;