1 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 // These denote which keyboard controls to disable for a qualified video element.
7 export const KEYBOARD_CONTROLS = {
17 // These are the possible toggle positions along the right side of
18 // a qualified video element.
19 export const TOGGLE_POLICIES = {
29 // These strings are used in the videocontrols.css stylesheet as
30 // toggle policy attribute values for setting rules on the position
32 export const TOGGLE_POLICY_STRINGS = {
33 [TOGGLE_POLICIES.DEFAULT]: "default",
34 [TOGGLE_POLICIES.HIDDEN]: "hidden",
35 [TOGGLE_POLICIES.TOP]: "top",
36 [TOGGLE_POLICIES.ONE_QUARTER]: "one-quarter",
37 [TOGGLE_POLICIES.MIDDLE]: "middle",
38 [TOGGLE_POLICIES.THREE_QUARTERS]: "three-quarters",
39 [TOGGLE_POLICIES.BOTTOM]: "bottom",