mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
7e6a0f38ff
This corrects/normalizes license headers in misc. files, such as config files, docs, build tools, tests, and externs. This does not affect the compiled output, and is only done for consistency. Issue #2638 Change-Id: I9d8da2de55243b08d7df2b743aac73c6f15e858a
57 lines
1.0 KiB
JavaScript
57 lines
1.0 KiB
JavaScript
/*! @license
|
|
* Shaka Player
|
|
* Copyright 2016 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Externs for VideoTrack which are missing from the Closure
|
|
* compiler.
|
|
*
|
|
* @externs
|
|
*/
|
|
|
|
/** @constructor */
|
|
function VideoTrack() {}
|
|
|
|
/** @type {boolean} */
|
|
VideoTrack.prototype.selected;
|
|
|
|
/** @type {string} */
|
|
VideoTrack.prototype.id;
|
|
|
|
/** @type {string} */
|
|
VideoTrack.prototype.kind;
|
|
|
|
/** @type {string} */
|
|
VideoTrack.prototype.label;
|
|
|
|
/** @type {string} */
|
|
VideoTrack.prototype.language;
|
|
|
|
/** @type {SourceBuffer} */
|
|
VideoTrack.prototype.sourceBuffer;
|
|
|
|
|
|
/**
|
|
* @extends {IArrayLike.<VideoTrack>}
|
|
* @extends {EventTarget}
|
|
* @interface
|
|
*/
|
|
function VideoTrackList() {}
|
|
|
|
/** @override */
|
|
VideoTrackList.prototype.addEventListener =
|
|
function(type, listener, useCapture) {};
|
|
|
|
/** @override */
|
|
VideoTrackList.prototype.removeEventListener =
|
|
function(type, listener, useCapture) {};
|
|
|
|
/** @override */
|
|
VideoTrackList.prototype.dispatchEvent = function(event) {};
|
|
|
|
|
|
/** @type {VideoTrackList} */
|
|
HTMLMediaElement.prototype.videoTracks;
|