1 /* 2 * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies) 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 11 * documentation and/or other materials provided with the distribution. 12 * 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 20 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 video::-webkit-media-controls-panel { 25 /* The control panel is only play button for full screen */ 26 display: -webkit-box; 27 -webkit-box-align: center; 28 -webkit-box-pack: center; 29 width: 100%; 30 height: 100%; 31 } 32 33 video:-webkit-full-page-media::-webkit-media-controls-panel { 34 display: none; 35 } 36 37 video::-webkit-media-controls-mute-button { 38 display: none; 39 } 40 41 video::-webkit-media-controls-play-button { 42 display: -webkit-box; 43 -webkit-box-align: center; 44 -webkit-box-pack: center; 45 width: 50px; 46 height: 50px; 47 padding: 20px; 48 } 49 50 video::-webkit-media-controls-timeline-container { 51 display: none; 52 } 53 54 video::-webkit-media-controls-current-time-display { 55 -webkit-appearance: media-current-time-display; 56 -webkit-user-select: none; 57 display: none; 58 } 59 60 video::-webkit-media-controls-time-remaining-display { 61 display: none; 62 } 63 64 video::-webkit-media-controls-timeline { 65 display: none; 66 } 67 68 video::-webkit-media-controls-volume-slider-container { 69 -webkit-appearance: media-volume-slider-container; 70 display: none; 71 } 72 73 video::-webkit-media-controls-volume-slider { 74 -webkit-appearance: media-volume-slider; 75 display: none; 76 } 77 78 video::-webkit-media-controls-seek-back-button { 79 display: none; 80 } 81 82 video::-webkit-media-controls-seek-forward-button { 83 display: none; 84 } 85 86 video::-webkit-media-controls-fullscreen-button { 87 display: none; 88 } 89 90 video::-webkit-media-controls-rewind-button { 91 display: none; 92 } 93 94 video::-webkit-media-controls-return-to-realtime-button { 95 display: none; 96 } 97 98 video::-webkit-media-controls-toggle-closed-captions-button { 99 display: none; 100 } 101 102