/* * BlackBerry specific overrides for HTML5 media elements. * * Copyright (C) 2009 Apple Inc. All rights reserved. * Copyright (C) 2010, 2011, 2012 Research In Motion Limited. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* BlackBerry fullscreen video controls. */ body:-webkit-full-page-media { background-color: rgb(0, 0, 0); } video:-webkit-full-screen::-webkit-media-controls-embedded-panel { display: none; } video:-webkit-full-screen::-webkit-media-controls-panel { display: -webkit-flex; -webkit-flex-direction: column; -webkit-align-items: stretch; position: absolute; bottom: 0px; width: 100%; height: auto; background-color: rgba(38, 38, 38, 0.8); color: rgb(250, 250, 250); } video:-webkit-full-screen::-webkit-media-controls-button-group-container { -webkit-appearance: media-controls-background; display: -webkit-flex; -webkit-flex-direction: row; -webkit-align-items: center; -webkit-justify-content: space-between; -webkit-flex: 1; background-color: rgb(0, 0, 0); } video:-webkit-full-screen::-webkit-media-controls-fullscreen-time-display-container { -webkit-appearance: media-controls-background; display: -webkit-flex; -webkit-flex-direction: row; -webkit-align-items: center; -webkit-justify-content: space-between; -webkit-flex: 1; } video:-webkit-full-screen::-webkit-media-controls-time-display-container { display: none; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-play-button { -webkit-appearance: media-play-button; display: -webkit-flex; } video:-webkit-full-screen::-webkit-media-controls-play-button { display: none; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-timeline-container { -webkit-appearance: media-controls-background; display: -webkit-flex; -webkit-flex-direction: column; -webkit-align-items: stretch; -webkit-justify-content: center; -webkit-flex: 1; height: auto; width: 100%; } video:-webkit-full-screen::-webkit-media-controls-timeline-container { display: none; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-current-time-display { -webkit-appearance: media-current-time-display; display: -webkit-flex; -webkit-flex-direction: row; -webkit-align-items: center; -webkit-justify-content: flex-end; -webkit-flex: 0; } video:-webkit-full-screen::-webkit-media-controls-current-time-display { display: none; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-time-remaining-display { -webkit-appearance: media-time-remaining-display; display: -webkit-flex; -webkit-flex-direction: row; -webkit-align-items: center; -webkit-justify-content: flex-end; -webkit-flex: 0; color: rgb(125, 125, 125); } video:-webkit-full-screen::-webkit-media-controls-time-remaining-display { display: none; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-timeline { -webkit-appearance: media-slider; display: -webkit-flex; -webkit-flex: 1; } video:-webkit-full-screen::-webkit-media-controls-timeline { display: none; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-fullscreen-button { -webkit-appearance: media-exit-fullscreen-button; display: -webkit-flex; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-button { display: none; } video:-webkit-full-screen::-webkit-media-controls-audio-mute-button { display: none; } video:-webkit-full-screen::-webkit-media-controls-volume-slider-container { display: none; } video:-webkit-full-screen::-webkit-media-controls-volume-slider { display: none; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-button-divider { -webkit-appearance: media-rewind-button; display: -webkit-flex; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-button-container, video:-webkit-full-screen::-webkit-media-controls-play-button-container { -webkit-appearance: media-controls-background; display: -webkit-flex; -webkit-flex-direction: row; -webkit-align-items: center; -webkit-flex: 1; min-width: 100%; } video:-webkit-full-screen::-webkit-media-controls-fullscreen-button-container { -webkit-justify-content: flex-start; } video:-webkit-full-screen::-webkit-media-controls-play-button-container { -webkit-justify-content: center; } video:-webkit-full-screen::-webkit-media-controls-placeholder { -webkit-appearance: media-controls-background; display: -webkit-flex; -webkit-flex: 1; min-width: 100%; }