mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-25 17:45:03 +03:00
a955d9f189
The latest Closure Compiler is more picky about Event types, and complained about the use of "key" on Event. This updates the Event types so that the compiler has the correct type info. This also stops using "keyCode", which is deprecated, and only uses the current "key" property, which is even supported on IE, and should not create any compatibility issues. Issue #2528 Change-Id: Ic565772b1cc9597e358df015a73c40ac245edd6a
14 lines
284 B
JavaScript
14 lines
284 B
JavaScript
/** @license
|
|
* Copyright 2016 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
|
|
goog.provide('shaka.ui.Constants');
|
|
|
|
/** @const {string} */
|
|
shaka.ui.Constants.ARIA_LABEL = 'aria-label';
|
|
|
|
/** @const {number} */
|
|
shaka.ui.Constants.MIN_SEEK_WINDOW_TO_SHOW_SEEKBAR = 5; // seconds
|