Files
ShakaPlayer/lib/util/media_element_event.js
Álvaro Velad Galván 4f62ce8b24 build: Reduce bundle size by deduplicating license headers (#10182)
Ensure generated bundles contain a single license header instead of
repeating the same notice across bundled modules.

Normalize all copyright years to 2016 and remove
duplicate license headers from generated bundles.

This reduces the final bundle size while preserving license information
in the distributed artifacts.
2026-06-05 12:43:28 +02:00

33 lines
712 B
JavaScript

/*! @license
* Shaka Player
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
goog.provide('shaka.util.MediaElementEvent');
/**
* Enum for HTMLMediaElement events
* @enum {string}
*/
shaka.util.MediaElementEvent = {
CAN_PLAY: 'canplay',
CAN_PLAY_THROUGH: 'canplaythrough',
DURATION_CHANGE: 'durationchange',
ENCRYPTED: 'encrypted',
ENDED: 'ended',
LOADED_DATA: 'loadeddata',
LOADED_METADATA: 'loadedmetadata',
PAUSE: 'pause',
PLAY: 'play',
PLAYING: 'playing',
PROGRESS: 'progress',
RATE_CHANGE: 'ratechange',
SEEKED: 'seeked',
SEEKING: 'seeking',
STALLED: 'stalled',
TIME_UPDATE: 'timeupdate',
VOLUME_CHANGE: 'volumechange',
WAITING: 'waiting',
};