From 06f7696c0976c75c13435f84a2101c1203c18b95 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Wed, 17 Jul 2024 19:11:06 +0530 Subject: Initial commit --- priv/static/video.js/types/big-play-button.d.ts | 34 + .../static/video.js/types/big-play-button.d.ts.map | 1 + priv/static/video.js/types/button.d.ts | 28 + priv/static/video.js/types/button.d.ts.map | 1 + .../static/video.js/types/clickable-component.d.ts | 88 + .../video.js/types/clickable-component.d.ts.map | 1 + priv/static/video.js/types/close-button.d.ts | 35 + priv/static/video.js/types/close-button.d.ts.map | 1 + priv/static/video.js/types/component.d.ts | 881 ++++++++++ priv/static/video.js/types/component.d.ts.map | 1 + priv/static/video.js/types/consts/errors.d.ts | 30 + priv/static/video.js/types/consts/errors.d.ts.map | 1 + .../audio-track-controls/audio-track-button.d.ts | 28 + .../audio-track-button.d.ts.map | 1 + .../audio-track-menu-item.d.ts | 33 + .../audio-track-menu-item.d.ts.map | 1 + .../video.js/types/control-bar/control-bar.d.ts | 17 + .../types/control-bar/control-bar.d.ts.map | 1 + .../types/control-bar/fullscreen-toggle.d.ts | 42 + .../types/control-bar/fullscreen-toggle.d.ts.map | 1 + .../video.js/types/control-bar/live-display.d.ts | 39 + .../types/control-bar/live-display.d.ts.map | 1 + .../video.js/types/control-bar/mute-toggle.d.ts | 64 + .../types/control-bar/mute-toggle.d.ts.map | 1 + .../control-bar/picture-in-picture-toggle.d.ts | 61 + .../control-bar/picture-in-picture-toggle.d.ts.map | 1 + .../video.js/types/control-bar/play-toggle.d.ts | 69 + .../types/control-bar/play-toggle.d.ts.map | 1 + .../playback-rate-menu-button.d.ts | 66 + .../playback-rate-menu-button.d.ts.map | 1 + .../playback-rate-menu-item.d.ts | 40 + .../playback-rate-menu-item.d.ts.map | 1 + .../progress-control/load-progress-bar.d.ts | 40 + .../progress-control/load-progress-bar.d.ts.map | 1 + .../progress-control/mouse-time-display.d.ts | 42 + .../progress-control/mouse-time-display.d.ts.map | 1 + .../progress-control/play-progress-bar.d.ts | 40 + .../progress-control/play-progress-bar.d.ts.map | 1 + .../progress-control/progress-control.d.ts | 101 ++ .../progress-control/progress-control.d.ts.map | 1 + .../control-bar/progress-control/seek-bar.d.ts | 100 ++ .../control-bar/progress-control/seek-bar.d.ts.map | 1 + .../control-bar/progress-control/time-tooltip.d.ts | 63 + .../progress-control/time-tooltip.d.ts.map | 1 + .../video.js/types/control-bar/seek-to-live.d.ts | 51 + .../types/control-bar/seek-to-live.d.ts.map | 1 + .../control-bar/skip-buttons/skip-backward.d.ts | 29 + .../skip-buttons/skip-backward.d.ts.map | 1 + .../control-bar/skip-buttons/skip-forward.d.ts | 29 + .../control-bar/skip-buttons/skip-forward.d.ts.map | 1 + .../spacer-controls/custom-control-spacer.d.ts | 17 + .../spacer-controls/custom-control-spacer.d.ts.map | 1 + .../types/control-bar/spacer-controls/spacer.d.ts | 18 + .../control-bar/spacer-controls/spacer.d.ts.map | 1 + .../caption-settings-menu-item.d.ts | 22 + .../caption-settings-menu-item.d.ts.map | 1 + .../text-track-controls/captions-button.d.ts | 53 + .../text-track-controls/captions-button.d.ts.map | 1 + .../text-track-controls/chapters-button.d.ts | 98 ++ .../text-track-controls/chapters-button.d.ts.map | 1 + .../chapters-track-menu-item.d.ts | 24 + .../chapters-track-menu-item.d.ts.map | 1 + .../text-track-controls/descriptions-button.d.ts | 54 + .../descriptions-button.d.ts.map | 1 + .../off-text-track-menu-item.d.ts | 10 + .../off-text-track-menu-item.d.ts.map | 1 + .../text-track-controls/subs-caps-button.d.ts | 35 + .../text-track-controls/subs-caps-button.d.ts.map | 1 + .../text-track-controls/subs-caps-menu-item.d.ts | 12 + .../subs-caps-menu-item.d.ts.map | 1 + .../text-track-controls/subtitles-button.d.ts | 45 + .../text-track-controls/subtitles-button.d.ts.map | 1 + .../text-track-controls/text-track-button.d.ts | 31 + .../text-track-controls/text-track-button.d.ts.map | 1 + .../text-track-controls/text-track-menu-item.d.ts | 22 + .../text-track-menu-item.d.ts.map | 1 + .../time-controls/current-time-display.d.ts | 35 + .../time-controls/current-time-display.d.ts.map | 1 + .../time-controls/duration-display.d.ts | 48 + .../time-controls/duration-display.d.ts.map | 1 + .../time-controls/remaining-time-display.d.ts | 53 + .../time-controls/remaining-time-display.d.ts.map | 1 + .../control-bar/time-controls/time-display.d.ts | 72 + .../time-controls/time-display.d.ts.map | 1 + .../control-bar/time-controls/time-divider.d.ts | 18 + .../time-controls/time-divider.d.ts.map | 1 + .../video.js/types/control-bar/track-button.d.ts | 20 + .../types/control-bar/track-button.d.ts.map | 1 + .../volume-control/check-mute-support.d.ts | 15 + .../volume-control/check-mute-support.d.ts.map | 1 + .../volume-control/check-volume-support.d.ts | 15 + .../volume-control/check-volume-support.d.ts.map | 1 + .../volume-control/mouse-volume-level-display.d.ts | 47 + .../mouse-volume-level-display.d.ts.map | 1 + .../control-bar/volume-control/volume-bar.d.ts | 84 + .../control-bar/volume-control/volume-bar.d.ts.map | 1 + .../control-bar/volume-control/volume-control.d.ts | 59 + .../volume-control/volume-control.d.ts.map | 1 + .../volume-control/volume-level-tooltip.d.ts | 73 + .../volume-control/volume-level-tooltip.d.ts.map | 1 + .../control-bar/volume-control/volume-level.d.ts | 17 + .../volume-control/volume-level.d.ts.map | 1 + .../video.js/types/control-bar/volume-panel.d.ts | 97 ++ .../types/control-bar/volume-panel.d.ts.map | 1 + priv/static/video.js/types/debug.d.ts | 3 + priv/static/video.js/types/debug.d.ts.map | 1 + priv/static/video.js/types/error-display.d.ts | 28 + priv/static/video.js/types/error-display.d.ts.map | 1 + priv/static/video.js/types/event-target.d.ts | 131 ++ priv/static/video.js/types/event-target.d.ts.map | 1 + priv/static/video.js/types/fullscreen-api.d.ts | 10 + priv/static/video.js/types/fullscreen-api.d.ts.map | 1 + priv/static/video.js/types/index.d.ts | 3 + priv/static/video.js/types/index.d.ts.map | 1 + priv/static/video.js/types/live-tracker.d.ts | 170 ++ priv/static/video.js/types/live-tracker.d.ts.map | 1 + priv/static/video.js/types/loading-spinner.d.ts | 17 + .../static/video.js/types/loading-spinner.d.ts.map | 1 + priv/static/video.js/types/media-error.d.ts | 134 ++ priv/static/video.js/types/media-error.d.ts.map | 1 + priv/static/video.js/types/menu/menu-button.d.ts | 177 ++ .../video.js/types/menu/menu-button.d.ts.map | 1 + priv/static/video.js/types/menu/menu-item.d.ts | 44 + priv/static/video.js/types/menu/menu-item.d.ts.map | 1 + priv/static/video.js/types/menu/menu-keys.d.ts | 19 + priv/static/video.js/types/menu/menu-keys.d.ts.map | 1 + priv/static/video.js/types/menu/menu.d.ts | 102 ++ priv/static/video.js/types/menu/menu.d.ts.map | 1 + priv/static/video.js/types/mixins/evented.d.ts | 41 + priv/static/video.js/types/mixins/evented.d.ts.map | 1 + priv/static/video.js/types/mixins/stateful.d.ts | 21 + .../static/video.js/types/mixins/stateful.d.ts.map | 1 + priv/static/video.js/types/modal-dialog.d.ts | 193 +++ priv/static/video.js/types/modal-dialog.d.ts.map | 1 + priv/static/video.js/types/player.d.ts | 1776 ++++++++++++++++++++ priv/static/video.js/types/player.d.ts.map | 1 + priv/static/video.js/types/plugin.d.ts | 184 ++ priv/static/video.js/types/plugin.d.ts.map | 1 + priv/static/video.js/types/poster-image.d.ts | 84 + priv/static/video.js/types/poster-image.d.ts.map | 1 + priv/static/video.js/types/resize-manager.d.ts | 52 + priv/static/video.js/types/resize-manager.d.ts.map | 1 + priv/static/video.js/types/setup.d.ts | 20 + priv/static/video.js/types/setup.d.ts.map | 1 + priv/static/video.js/types/slider/slider.d.ts | 147 ++ priv/static/video.js/types/slider/slider.d.ts.map | 1 + priv/static/video.js/types/tech/html5.d.ts | 350 ++++ priv/static/video.js/types/tech/html5.d.ts.map | 1 + priv/static/video.js/types/tech/loader.d.ts | 24 + priv/static/video.js/types/tech/loader.d.ts.map | 1 + priv/static/video.js/types/tech/middleware.d.ts | 171 ++ .../static/video.js/types/tech/middleware.d.ts.map | 1 + .../video.js/types/tech/setup-sourceset.d.ts | 18 + .../video.js/types/tech/setup-sourceset.d.ts.map | 1 + priv/static/video.js/types/tech/tech.d.ts | 581 +++++++ priv/static/video.js/types/tech/tech.d.ts.map | 1 + priv/static/video.js/types/title-bar.d.ts | 67 + priv/static/video.js/types/title-bar.d.ts.map | 1 + .../video.js/types/tracks/audio-track-list.d.ts | 29 + .../types/tracks/audio-track-list.d.ts.map | 1 + priv/static/video.js/types/tracks/audio-track.d.ts | 37 + .../video.js/types/tracks/audio-track.d.ts.map | 1 + .../types/tracks/html-track-element-list.d.ts | 49 + .../types/tracks/html-track-element-list.d.ts.map | 1 + .../video.js/types/tracks/html-track-element.d.ts | 65 + .../types/tracks/html-track-element.d.ts.map | 1 + .../video.js/types/tracks/text-track-cue-list.d.ts | 79 + .../types/tracks/text-track-cue-list.d.ts.map | 1 + .../video.js/types/tracks/text-track-display.d.ts | 93 + .../types/tracks/text-track-display.d.ts.map | 1 + .../types/tracks/text-track-list-converter.d.ts | 50 + .../tracks/text-track-list-converter.d.ts.map | 1 + .../video.js/types/tracks/text-track-list.d.ts | 23 + .../video.js/types/tracks/text-track-list.d.ts.map | 1 + .../video.js/types/tracks/text-track-settings.d.ts | 124 ++ .../types/tracks/text-track-settings.d.ts.map | 1 + priv/static/video.js/types/tracks/text-track.d.ts | 79 + .../video.js/types/tracks/text-track.d.ts.map | 1 + priv/static/video.js/types/tracks/track-enums.d.ts | 66 + .../video.js/types/tracks/track-enums.d.ts.map | 1 + priv/static/video.js/types/tracks/track-list.d.ts | 66 + .../video.js/types/tracks/track-list.d.ts.map | 1 + priv/static/video.js/types/tracks/track-types.d.ts | 48 + .../video.js/types/tracks/track-types.d.ts.map | 1 + priv/static/video.js/types/tracks/track.d.ts | 41 + priv/static/video.js/types/tracks/track.d.ts.map | 1 + .../video.js/types/tracks/video-track-list.d.ts | 29 + .../types/tracks/video-track-list.d.ts.map | 1 + priv/static/video.js/types/tracks/video-track.d.ts | 40 + .../video.js/types/tracks/video-track.d.ts.map | 1 + priv/static/video.js/types/utils/browser.d.ts | 163 ++ priv/static/video.js/types/utils/browser.d.ts.map | 1 + priv/static/video.js/types/utils/buffer.d.ts | 14 + priv/static/video.js/types/utils/buffer.d.ts.map | 1 + .../static/video.js/types/utils/create-logger.d.ts | 124 ++ .../video.js/types/utils/create-logger.d.ts.map | 1 + priv/static/video.js/types/utils/deprecate.d.ts | 28 + .../static/video.js/types/utils/deprecate.d.ts.map | 1 + priv/static/video.js/types/utils/dom-data.d.ts | 3 + priv/static/video.js/types/utils/dom-data.d.ts.map | 1 + priv/static/video.js/types/utils/dom.d.ts | 448 +++++ priv/static/video.js/types/utils/dom.d.ts.map | 1 + priv/static/video.js/types/utils/events.d.ts | 85 + priv/static/video.js/types/utils/events.d.ts.map | 1 + .../static/video.js/types/utils/filter-source.d.ts | 16 + .../video.js/types/utils/filter-source.d.ts.map | 1 + priv/static/video.js/types/utils/fn.d.ts | 5 + priv/static/video.js/types/utils/fn.d.ts.map | 1 + priv/static/video.js/types/utils/guid.d.ts | 12 + priv/static/video.js/types/utils/guid.d.ts.map | 1 + priv/static/video.js/types/utils/hooks.d.ts | 54 + priv/static/video.js/types/utils/hooks.d.ts.map | 1 + priv/static/video.js/types/utils/log.d.ts | 20 + priv/static/video.js/types/utils/log.d.ts.map | 1 + priv/static/video.js/types/utils/mimetypes.d.ts | 34 + .../static/video.js/types/utils/mimetypes.d.ts.map | 1 + priv/static/video.js/types/utils/num.d.ts | 20 + priv/static/video.js/types/utils/num.d.ts.map | 1 + priv/static/video.js/types/utils/obj.d.ts | 86 + priv/static/video.js/types/utils/obj.d.ts.map | 1 + priv/static/video.js/types/utils/promise.d.ts | 21 + priv/static/video.js/types/utils/promise.d.ts.map | 1 + priv/static/video.js/types/utils/str.d.ts | 4 + priv/static/video.js/types/utils/str.d.ts.map | 1 + priv/static/video.js/types/utils/stylesheet.d.ts | 3 + .../video.js/types/utils/stylesheet.d.ts.map | 1 + priv/static/video.js/types/utils/time.d.ts | 71 + priv/static/video.js/types/utils/time.d.ts.map | 1 + priv/static/video.js/types/utils/url.d.ts | 41 + priv/static/video.js/types/utils/url.d.ts.map | 1 + priv/static/video.js/types/video.d.ts | 242 +++ priv/static/video.js/types/video.d.ts.map | 1 + 232 files changed, 10239 insertions(+) create mode 100644 priv/static/video.js/types/big-play-button.d.ts create mode 100644 priv/static/video.js/types/big-play-button.d.ts.map create mode 100644 priv/static/video.js/types/button.d.ts create mode 100644 priv/static/video.js/types/button.d.ts.map create mode 100644 priv/static/video.js/types/clickable-component.d.ts create mode 100644 priv/static/video.js/types/clickable-component.d.ts.map create mode 100644 priv/static/video.js/types/close-button.d.ts create mode 100644 priv/static/video.js/types/close-button.d.ts.map create mode 100644 priv/static/video.js/types/component.d.ts create mode 100644 priv/static/video.js/types/component.d.ts.map create mode 100644 priv/static/video.js/types/consts/errors.d.ts create mode 100644 priv/static/video.js/types/consts/errors.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/audio-track-controls/audio-track-button.d.ts create mode 100644 priv/static/video.js/types/control-bar/audio-track-controls/audio-track-button.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/audio-track-controls/audio-track-menu-item.d.ts create mode 100644 priv/static/video.js/types/control-bar/audio-track-controls/audio-track-menu-item.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/control-bar.d.ts create mode 100644 priv/static/video.js/types/control-bar/control-bar.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/fullscreen-toggle.d.ts create mode 100644 priv/static/video.js/types/control-bar/fullscreen-toggle.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/live-display.d.ts create mode 100644 priv/static/video.js/types/control-bar/live-display.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/mute-toggle.d.ts create mode 100644 priv/static/video.js/types/control-bar/mute-toggle.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/picture-in-picture-toggle.d.ts create mode 100644 priv/static/video.js/types/control-bar/picture-in-picture-toggle.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/play-toggle.d.ts create mode 100644 priv/static/video.js/types/control-bar/play-toggle.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-button.d.ts create mode 100644 priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-button.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-item.d.ts create mode 100644 priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-item.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/progress-control/load-progress-bar.d.ts create mode 100644 priv/static/video.js/types/control-bar/progress-control/load-progress-bar.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/progress-control/mouse-time-display.d.ts create mode 100644 priv/static/video.js/types/control-bar/progress-control/mouse-time-display.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/progress-control/play-progress-bar.d.ts create mode 100644 priv/static/video.js/types/control-bar/progress-control/play-progress-bar.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/progress-control/progress-control.d.ts create mode 100644 priv/static/video.js/types/control-bar/progress-control/progress-control.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/progress-control/seek-bar.d.ts create mode 100644 priv/static/video.js/types/control-bar/progress-control/seek-bar.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/progress-control/time-tooltip.d.ts create mode 100644 priv/static/video.js/types/control-bar/progress-control/time-tooltip.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/seek-to-live.d.ts create mode 100644 priv/static/video.js/types/control-bar/seek-to-live.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/skip-buttons/skip-backward.d.ts create mode 100644 priv/static/video.js/types/control-bar/skip-buttons/skip-backward.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/skip-buttons/skip-forward.d.ts create mode 100644 priv/static/video.js/types/control-bar/skip-buttons/skip-forward.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/spacer-controls/custom-control-spacer.d.ts create mode 100644 priv/static/video.js/types/control-bar/spacer-controls/custom-control-spacer.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/spacer-controls/spacer.d.ts create mode 100644 priv/static/video.js/types/control-bar/spacer-controls/spacer.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/caption-settings-menu-item.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/caption-settings-menu-item.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/captions-button.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/captions-button.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/chapters-button.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/chapters-button.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/chapters-track-menu-item.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/chapters-track-menu-item.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/descriptions-button.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/descriptions-button.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/off-text-track-menu-item.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/off-text-track-menu-item.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/subs-caps-button.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/subs-caps-button.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/subs-caps-menu-item.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/subs-caps-menu-item.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/subtitles-button.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/subtitles-button.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/text-track-button.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/text-track-button.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/text-track-menu-item.d.ts create mode 100644 priv/static/video.js/types/control-bar/text-track-controls/text-track-menu-item.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/time-controls/current-time-display.d.ts create mode 100644 priv/static/video.js/types/control-bar/time-controls/current-time-display.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/time-controls/duration-display.d.ts create mode 100644 priv/static/video.js/types/control-bar/time-controls/duration-display.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/time-controls/remaining-time-display.d.ts create mode 100644 priv/static/video.js/types/control-bar/time-controls/remaining-time-display.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/time-controls/time-display.d.ts create mode 100644 priv/static/video.js/types/control-bar/time-controls/time-display.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/time-controls/time-divider.d.ts create mode 100644 priv/static/video.js/types/control-bar/time-controls/time-divider.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/track-button.d.ts create mode 100644 priv/static/video.js/types/control-bar/track-button.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/volume-control/check-mute-support.d.ts create mode 100644 priv/static/video.js/types/control-bar/volume-control/check-mute-support.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/volume-control/check-volume-support.d.ts create mode 100644 priv/static/video.js/types/control-bar/volume-control/check-volume-support.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/volume-control/mouse-volume-level-display.d.ts create mode 100644 priv/static/video.js/types/control-bar/volume-control/mouse-volume-level-display.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/volume-control/volume-bar.d.ts create mode 100644 priv/static/video.js/types/control-bar/volume-control/volume-bar.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/volume-control/volume-control.d.ts create mode 100644 priv/static/video.js/types/control-bar/volume-control/volume-control.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/volume-control/volume-level-tooltip.d.ts create mode 100644 priv/static/video.js/types/control-bar/volume-control/volume-level-tooltip.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/volume-control/volume-level.d.ts create mode 100644 priv/static/video.js/types/control-bar/volume-control/volume-level.d.ts.map create mode 100644 priv/static/video.js/types/control-bar/volume-panel.d.ts create mode 100644 priv/static/video.js/types/control-bar/volume-panel.d.ts.map create mode 100644 priv/static/video.js/types/debug.d.ts create mode 100644 priv/static/video.js/types/debug.d.ts.map create mode 100644 priv/static/video.js/types/error-display.d.ts create mode 100644 priv/static/video.js/types/error-display.d.ts.map create mode 100644 priv/static/video.js/types/event-target.d.ts create mode 100644 priv/static/video.js/types/event-target.d.ts.map create mode 100644 priv/static/video.js/types/fullscreen-api.d.ts create mode 100644 priv/static/video.js/types/fullscreen-api.d.ts.map create mode 100644 priv/static/video.js/types/index.d.ts create mode 100644 priv/static/video.js/types/index.d.ts.map create mode 100644 priv/static/video.js/types/live-tracker.d.ts create mode 100644 priv/static/video.js/types/live-tracker.d.ts.map create mode 100644 priv/static/video.js/types/loading-spinner.d.ts create mode 100644 priv/static/video.js/types/loading-spinner.d.ts.map create mode 100644 priv/static/video.js/types/media-error.d.ts create mode 100644 priv/static/video.js/types/media-error.d.ts.map create mode 100644 priv/static/video.js/types/menu/menu-button.d.ts create mode 100644 priv/static/video.js/types/menu/menu-button.d.ts.map create mode 100644 priv/static/video.js/types/menu/menu-item.d.ts create mode 100644 priv/static/video.js/types/menu/menu-item.d.ts.map create mode 100644 priv/static/video.js/types/menu/menu-keys.d.ts create mode 100644 priv/static/video.js/types/menu/menu-keys.d.ts.map create mode 100644 priv/static/video.js/types/menu/menu.d.ts create mode 100644 priv/static/video.js/types/menu/menu.d.ts.map create mode 100644 priv/static/video.js/types/mixins/evented.d.ts create mode 100644 priv/static/video.js/types/mixins/evented.d.ts.map create mode 100644 priv/static/video.js/types/mixins/stateful.d.ts create mode 100644 priv/static/video.js/types/mixins/stateful.d.ts.map create mode 100644 priv/static/video.js/types/modal-dialog.d.ts create mode 100644 priv/static/video.js/types/modal-dialog.d.ts.map create mode 100644 priv/static/video.js/types/player.d.ts create mode 100644 priv/static/video.js/types/player.d.ts.map create mode 100644 priv/static/video.js/types/plugin.d.ts create mode 100644 priv/static/video.js/types/plugin.d.ts.map create mode 100644 priv/static/video.js/types/poster-image.d.ts create mode 100644 priv/static/video.js/types/poster-image.d.ts.map create mode 100644 priv/static/video.js/types/resize-manager.d.ts create mode 100644 priv/static/video.js/types/resize-manager.d.ts.map create mode 100644 priv/static/video.js/types/setup.d.ts create mode 100644 priv/static/video.js/types/setup.d.ts.map create mode 100644 priv/static/video.js/types/slider/slider.d.ts create mode 100644 priv/static/video.js/types/slider/slider.d.ts.map create mode 100644 priv/static/video.js/types/tech/html5.d.ts create mode 100644 priv/static/video.js/types/tech/html5.d.ts.map create mode 100644 priv/static/video.js/types/tech/loader.d.ts create mode 100644 priv/static/video.js/types/tech/loader.d.ts.map create mode 100644 priv/static/video.js/types/tech/middleware.d.ts create mode 100644 priv/static/video.js/types/tech/middleware.d.ts.map create mode 100644 priv/static/video.js/types/tech/setup-sourceset.d.ts create mode 100644 priv/static/video.js/types/tech/setup-sourceset.d.ts.map create mode 100644 priv/static/video.js/types/tech/tech.d.ts create mode 100644 priv/static/video.js/types/tech/tech.d.ts.map create mode 100644 priv/static/video.js/types/title-bar.d.ts create mode 100644 priv/static/video.js/types/title-bar.d.ts.map create mode 100644 priv/static/video.js/types/tracks/audio-track-list.d.ts create mode 100644 priv/static/video.js/types/tracks/audio-track-list.d.ts.map create mode 100644 priv/static/video.js/types/tracks/audio-track.d.ts create mode 100644 priv/static/video.js/types/tracks/audio-track.d.ts.map create mode 100644 priv/static/video.js/types/tracks/html-track-element-list.d.ts create mode 100644 priv/static/video.js/types/tracks/html-track-element-list.d.ts.map create mode 100644 priv/static/video.js/types/tracks/html-track-element.d.ts create mode 100644 priv/static/video.js/types/tracks/html-track-element.d.ts.map create mode 100644 priv/static/video.js/types/tracks/text-track-cue-list.d.ts create mode 100644 priv/static/video.js/types/tracks/text-track-cue-list.d.ts.map create mode 100644 priv/static/video.js/types/tracks/text-track-display.d.ts create mode 100644 priv/static/video.js/types/tracks/text-track-display.d.ts.map create mode 100644 priv/static/video.js/types/tracks/text-track-list-converter.d.ts create mode 100644 priv/static/video.js/types/tracks/text-track-list-converter.d.ts.map create mode 100644 priv/static/video.js/types/tracks/text-track-list.d.ts create mode 100644 priv/static/video.js/types/tracks/text-track-list.d.ts.map create mode 100644 priv/static/video.js/types/tracks/text-track-settings.d.ts create mode 100644 priv/static/video.js/types/tracks/text-track-settings.d.ts.map create mode 100644 priv/static/video.js/types/tracks/text-track.d.ts create mode 100644 priv/static/video.js/types/tracks/text-track.d.ts.map create mode 100644 priv/static/video.js/types/tracks/track-enums.d.ts create mode 100644 priv/static/video.js/types/tracks/track-enums.d.ts.map create mode 100644 priv/static/video.js/types/tracks/track-list.d.ts create mode 100644 priv/static/video.js/types/tracks/track-list.d.ts.map create mode 100644 priv/static/video.js/types/tracks/track-types.d.ts create mode 100644 priv/static/video.js/types/tracks/track-types.d.ts.map create mode 100644 priv/static/video.js/types/tracks/track.d.ts create mode 100644 priv/static/video.js/types/tracks/track.d.ts.map create mode 100644 priv/static/video.js/types/tracks/video-track-list.d.ts create mode 100644 priv/static/video.js/types/tracks/video-track-list.d.ts.map create mode 100644 priv/static/video.js/types/tracks/video-track.d.ts create mode 100644 priv/static/video.js/types/tracks/video-track.d.ts.map create mode 100644 priv/static/video.js/types/utils/browser.d.ts create mode 100644 priv/static/video.js/types/utils/browser.d.ts.map create mode 100644 priv/static/video.js/types/utils/buffer.d.ts create mode 100644 priv/static/video.js/types/utils/buffer.d.ts.map create mode 100644 priv/static/video.js/types/utils/create-logger.d.ts create mode 100644 priv/static/video.js/types/utils/create-logger.d.ts.map create mode 100644 priv/static/video.js/types/utils/deprecate.d.ts create mode 100644 priv/static/video.js/types/utils/deprecate.d.ts.map create mode 100644 priv/static/video.js/types/utils/dom-data.d.ts create mode 100644 priv/static/video.js/types/utils/dom-data.d.ts.map create mode 100644 priv/static/video.js/types/utils/dom.d.ts create mode 100644 priv/static/video.js/types/utils/dom.d.ts.map create mode 100644 priv/static/video.js/types/utils/events.d.ts create mode 100644 priv/static/video.js/types/utils/events.d.ts.map create mode 100644 priv/static/video.js/types/utils/filter-source.d.ts create mode 100644 priv/static/video.js/types/utils/filter-source.d.ts.map create mode 100644 priv/static/video.js/types/utils/fn.d.ts create mode 100644 priv/static/video.js/types/utils/fn.d.ts.map create mode 100644 priv/static/video.js/types/utils/guid.d.ts create mode 100644 priv/static/video.js/types/utils/guid.d.ts.map create mode 100644 priv/static/video.js/types/utils/hooks.d.ts create mode 100644 priv/static/video.js/types/utils/hooks.d.ts.map create mode 100644 priv/static/video.js/types/utils/log.d.ts create mode 100644 priv/static/video.js/types/utils/log.d.ts.map create mode 100644 priv/static/video.js/types/utils/mimetypes.d.ts create mode 100644 priv/static/video.js/types/utils/mimetypes.d.ts.map create mode 100644 priv/static/video.js/types/utils/num.d.ts create mode 100644 priv/static/video.js/types/utils/num.d.ts.map create mode 100644 priv/static/video.js/types/utils/obj.d.ts create mode 100644 priv/static/video.js/types/utils/obj.d.ts.map create mode 100644 priv/static/video.js/types/utils/promise.d.ts create mode 100644 priv/static/video.js/types/utils/promise.d.ts.map create mode 100644 priv/static/video.js/types/utils/str.d.ts create mode 100644 priv/static/video.js/types/utils/str.d.ts.map create mode 100644 priv/static/video.js/types/utils/stylesheet.d.ts create mode 100644 priv/static/video.js/types/utils/stylesheet.d.ts.map create mode 100644 priv/static/video.js/types/utils/time.d.ts create mode 100644 priv/static/video.js/types/utils/time.d.ts.map create mode 100644 priv/static/video.js/types/utils/url.d.ts create mode 100644 priv/static/video.js/types/utils/url.d.ts.map create mode 100644 priv/static/video.js/types/video.d.ts create mode 100644 priv/static/video.js/types/video.d.ts.map (limited to 'priv/static/video.js/types') diff --git a/priv/static/video.js/types/big-play-button.d.ts b/priv/static/video.js/types/big-play-button.d.ts new file mode 100644 index 0000000..45f7ffa --- /dev/null +++ b/priv/static/video.js/types/big-play-button.d.ts @@ -0,0 +1,34 @@ +export default BigPlayButton; +/** + * The initial play button that shows before the video has played. The hiding of the + * `BigPlayButton` get done via CSS and `Player` states. + * + * @extends Button + */ +declare class BigPlayButton extends Button { + constructor(player: any, options: any); + mouseused_: boolean; + /** + * This gets called when a `BigPlayButton` "clicked". See {@link ClickableComponent} + * for more detailed information on what a click can be. + * + * @param {KeyboardEvent|MouseEvent|TouchEvent} event + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event: KeyboardEvent | MouseEvent | TouchEvent): void; + /** + * Handle `mousedown` events on the `BigPlayButton`. + * + * @param {MouseEvent} event + * `mousedown` or `touchstart` event that triggered this function + * + * @listens mousedown + */ + handleMouseDown(event: MouseEvent): void; +} +import Button from "./button.js"; +//# sourceMappingURL=big-play-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/big-play-button.d.ts.map b/priv/static/video.js/types/big-play-button.d.ts.map new file mode 100644 index 0000000..415d89e --- /dev/null +++ b/priv/static/video.js/types/big-play-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"big-play-button.d.ts","sourceRoot":"","sources":["../../src/js/big-play-button.js"],"names":[],"mappings":";AAOA;;;;;GAKG;AACH;IACE,uCAQC;IALC,oBAAuB;IAiBzB;;;;;;;;;;OAUG;IACH,mBAPW,aAAa,GAAC,UAAU,GAAC,UAAU,QAoC7C;IAiBD;;;;;;;OAOG;IACH,uBALW,UAAU,QAOpB;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/button.d.ts b/priv/static/video.js/types/button.d.ts new file mode 100644 index 0000000..c68f2b5 --- /dev/null +++ b/priv/static/video.js/types/button.d.ts @@ -0,0 +1,28 @@ +export default Button; +/** + * Base class for all buttons. + * + * @extends ClickableComponent + */ +declare class Button extends ClickableComponent { + /** + * Add a child `Component` inside of this `Button`. + * + * @param {string|Component} child + * The name or instance of a child to add. + * + * @param {Object} [options={}] + * The key/value store of options that will get passed to children of + * the child. + * + * @return {Component} + * The `Component` that gets added as a child. When using a string the + * `Component` will get created by this process. + * + * @deprecated since version 5 + */ + addChild(child: string | Component, options?: any): Component; +} +import ClickableComponent from "./clickable-component.js"; +import Component from "./component"; +//# sourceMappingURL=button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/button.d.ts.map b/priv/static/video.js/types/button.d.ts.map new file mode 100644 index 0000000..c7161d9 --- /dev/null +++ b/priv/static/video.js/types/button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/js/button.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH;IA+CE;;;;;;;;;;;;;;;OAeG;IACH,gBAbW,MAAM,GAAC,SAAS,kBAOf,SAAS,CAapB;CA4CF"} \ No newline at end of file diff --git a/priv/static/video.js/types/clickable-component.d.ts b/priv/static/video.js/types/clickable-component.d.ts new file mode 100644 index 0000000..e5f56af --- /dev/null +++ b/priv/static/video.js/types/clickable-component.d.ts @@ -0,0 +1,88 @@ +export default ClickableComponent; +/** + * Component which is clickable or keyboard actionable, but is not a + * native HTML button. + * + * @extends Component + */ +declare class ClickableComponent extends Component { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of component options. + * + * @param {function} [options.clickHandler] + * The function to call when the button is clicked / activated + * + * @param {string} [options.controlText] + * The text to set on the button + * + * @param {string} [options.className] + * A class or space separated list of classes to add the component + * + */ + constructor(player: import('./player').default, options?: { + clickHandler?: Function; + controlText?: string; + className?: string; + }); + handleMouseOver_: (e: any) => any; + handleMouseOut_: (e: any) => any; + handleClick_: (e: any) => void; + handleKeyDown_: (e: any) => void; + tabIndex_: any; + dispose(): void; + controlTextEl_: Element; + /** + * Create a control text element on this `ClickableComponent` + * + * @param {Element} [el] + * Parent element for the control text. + * + * @return {Element} + * The control text element that gets created. + */ + createControlTextEl(el?: Element): Element; + /** + * Get or set the localize text to use for the controls on the `ClickableComponent`. + * + * @param {string} [text] + * Control text for element. + * + * @param {Element} [el=this.el()] + * Element to set the title on. + * + * @return {string} + * - The control text when getting + */ + controlText(text?: string, el?: Element): string; + /** @protected */ + protected controlText_: string; + /** + * Enable this `ClickableComponent` + */ + enable(): void; + enabled_: boolean; + /** + * Disable this `ClickableComponent` + */ + disable(): void; + /** + * Event handler that is called when a `ClickableComponent` receives a + * `click` or `tap` event. + * + * @param {Event} event + * The `tap` or `click` event that caused this function to be called. + * + * @listens tap + * @listens click + * @abstract + */ + handleClick(event: Event, ...args: any[]): void; +} +import Component from "./component"; +//# sourceMappingURL=clickable-component.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/clickable-component.d.ts.map b/priv/static/video.js/types/clickable-component.d.ts.map new file mode 100644 index 0000000..1bbd2ef --- /dev/null +++ b/priv/static/video.js/types/clickable-component.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"clickable-component.d.ts","sourceRoot":"","sources":["../../src/js/clickable-component.js"],"names":[],"mappings":";AAQA;;;;;GAKG;AACH;IAEE;;;;;;;;;;;;;;;;;;OAkBG;IACH,oBAhBa,OAAO,UAAU,EAAE,OAAO;QAMR,YAAY;QAGd,WAAW,GAA5B,MAAM;QAGW,SAAS,GAA1B,MAAM;OAoBjB;IARC,kCAAsD;IACtD,iCAAoD;IACpD,+BAA8C;IAC9C,iCAAkD;IAqClD,eAA+B;IAiBjC,gBAKC;IAHC,wBAA0B;IAK5B;;;;;;;;OAQG;IACH,yBANW,OAAO,GAGN,OAAO,CAkBlB;IAED;;;;;;;;;;;OAWG;IACH,mBATW,MAAM,OAGN,OAAO,GAGN,MAAM,CAiBjB;IAPC,iBAAiB;IACjB,+BAAwB;IAkB1B;;OAEG;IACH,eAWC;IATG,kBAAoB;IAWxB;;OAEG;IACH,gBAWC;IAWD;;;;;;;;;;OAUG;IACH,mBAPW,KAAK,wBAWf;CA4BF"} \ No newline at end of file diff --git a/priv/static/video.js/types/close-button.d.ts b/priv/static/video.js/types/close-button.d.ts new file mode 100644 index 0000000..5cb1a09 --- /dev/null +++ b/priv/static/video.js/types/close-button.d.ts @@ -0,0 +1,35 @@ +export default CloseButton; +/** + * The `CloseButton` is a `{@link Button}` that fires a `close` event when + * it gets clicked. + * + * @extends Button + */ +declare class CloseButton extends Button { + /** + * Creates an instance of the this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('./player').default, options?: any); + /** + * This gets called when a `CloseButton` gets clicked. See + * {@link ClickableComponent#handleClick} for more information on when + * this will be triggered + * + * @param {Event} event + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + * @fires CloseButton#close + */ + handleClick(event: Event): void; +} +import Button from "./button"; +//# sourceMappingURL=close-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/close-button.d.ts.map b/priv/static/video.js/types/close-button.d.ts.map new file mode 100644 index 0000000..86d77cb --- /dev/null +++ b/priv/static/video.js/types/close-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"close-button.d.ts","sourceRoot":"","sources":["../../src/js/close-button.js"],"names":[],"mappings":";AAOA;;;;;GAKG;AACH;IAEE;;;;;;;;MAQE;IACF,oBANY,OAAO,UAAU,EAAE,OAAO,iBAUrC;IAYD;;;;;;;;;;;;OAYG;IACH,mBARW,KAAK,QAqBf;CAuBF"} \ No newline at end of file diff --git a/priv/static/video.js/types/component.d.ts b/priv/static/video.js/types/component.d.ts new file mode 100644 index 0000000..9aeb616 --- /dev/null +++ b/priv/static/video.js/types/component.d.ts @@ -0,0 +1,881 @@ +export default Component; +/** + * Base class for all UI Components. + * Components are UI objects which represent both a javascript object and an element + * in the DOM. They can be children of other components, and can have + * children themselves. + * + * Components can also use methods from {@link EventTarget} + */ +declare class Component { + /** + * Register a `Component` with `videojs` given the name and the component. + * + * > NOTE: {@link Tech}s should not be registered as a `Component`. {@link Tech}s + * should be registered using {@link Tech.registerTech} or + * {@link videojs:videojs.registerTech}. + * + * > NOTE: This function can also be seen on videojs as + * {@link videojs:videojs.registerComponent}. + * + * @param {string} name + * The name of the `Component` to register. + * + * @param {Component} ComponentToRegister + * The `Component` class to register. + * + * @return {Component} + * The `Component` that was registered. + */ + static registerComponent(name: string, ComponentToRegister: Component): Component; + /** + * Get a `Component` based on the name it was registered with. + * + * @param {string} name + * The Name of the component to get. + * + * @return {typeof Component} + * The `Component` that got registered under the given name. + */ + static getComponent(name: string): typeof Component; + /** + * A callback that is called when a component is ready. Does not have any + * parameters and any callback value will be ignored. + * + * @callback ReadyCallback + * @this Component + */ + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of component options. + * + * @param {Object[]} [options.children] + * An array of children objects to initialize this component with. Children objects have + * a name property that will be used if more than one component of the same type needs to be + * added. + * + * @param {string} [options.className] + * A class or space separated list of classes to add the component + * + * @param {ReadyCallback} [ready] + * Function that gets called when the `Component` is ready. + */ + constructor(player: import('./player').default, options?: { + children?: any[]; + className?: string; + }, ready?: () => any); + player_: any; + isDisposed_: boolean; + parentComponent_: any; + options_: any; + id_: any; + name_: any; + el_: any; + /** + * Handles language change for the player in components. Should be overridden by sub-components. + * + * @abstract + */ + handleLanguagechange(): void; + children_: any[]; + childIndex_: {}; + childNameIndex_: {}; + setTimeoutIds_: Set; + setIntervalIds_: Set; + rafIds_: Set; + namedRafs_: Map; + clearingTimersOnDispose_: boolean; + /** + * Adds an `event listener` to an instance of an `EventTarget`. An `event listener` is a + * function that will get called when an event with a certain name gets triggered. + * + * @param {string|string[]} type + * An event name or an array of event names. + * + * @param {Function} fn + * The function to call with `EventTarget`s + */ + on(type: string | string[], fn: Function): void; + /** + * Removes an `event listener` for a specific event from an instance of `EventTarget`. + * This makes it so that the `event listener` will no longer get called when the + * named event happens. + * + * @param {string|string[]} type + * An event name or an array of event names. + * + * @param {Function} [fn] + * The function to remove. If not specified, all listeners managed by Video.js will be removed. + */ + off(type: string | string[], fn?: Function): void; + /** + * This function will add an `event listener` that gets triggered only once. After the + * first trigger it will get removed. This is like adding an `event listener` + * with {@link EventTarget#on} that calls {@link EventTarget#off} on itself. + * + * @param {string|string[]} type + * An event name or an array of event names. + * + * @param {Function} fn + * The function to be called once for each event name. + */ + one(type: string | string[], fn: Function): void; + /** + * This function will add an `event listener` that gets triggered only once and is + * removed from all events. This is like adding an array of `event listener`s + * with {@link EventTarget#on} that calls {@link EventTarget#off} on all events the + * first time it is triggered. + * + * @param {string|string[]} type + * An event name or an array of event names. + * + * @param {Function} fn + * The function to be called once for each event name. + */ + any(type: string | string[], fn: Function): void; + /** + * This function causes an event to happen. This will then cause any `event listeners` + * that are waiting for that event, to get called. If there are no `event listeners` + * for an event then nothing will happen. + * + * If the name of the `Event` that is being triggered is in `EventTarget.allowedEvents_`. + * Trigger will also call the `on` + `uppercaseEventName` function. + * + * Example: + * 'click' is in `EventTarget.allowedEvents_`, so, trigger will attempt to call + * `onClick` if it exists. + * + * @param {string|Event|Object} event + * The name of the event, an `Event`, or an object with a key of type set to + * an event name. + * + * @param {Object} [hash] + * Optionally extra argument to pass through to an event listener + */ + trigger(event: string | Event | any, hash?: any): void; + /** + * Dispose of the `Component` and all child components. + * + * @fires Component#dispose + * + * @param {Object} options + * @param {Element} options.originalEl element with which to replace player element + */ + dispose(options?: { + originalEl: Element; + }): void; + /** + * Determine whether or not this component has been disposed. + * + * @return {boolean} + * If the component has been disposed, will be `true`. Otherwise, `false`. + */ + isDisposed(): boolean; + /** + * Return the {@link Player} that the `Component` has attached to. + * + * @return { import('./player').default } + * The player that this `Component` has attached to. + */ + player(): import('./player').default; + /** + * Deep merge of options objects with new options. + * > Note: When both `obj` and `options` contain properties whose values are objects. + * The two properties get merged using {@link module:obj.merge} + * + * @param {Object} obj + * The object that contains new options. + * + * @return {Object} + * A new object of `this.options_` and `obj` merged together. + */ + options(obj: any): any; + /** + * Get the `Component`s DOM element + * + * @return {Element} + * The DOM element for this `Component`. + */ + el(): Element; + /** + * Create the `Component`s DOM element. + * + * @param {string} [tagName] + * Element's DOM node type. e.g. 'div' + * + * @param {Object} [properties] + * An object of properties that should be set. + * + * @param {Object} [attributes] + * An object of attributes that should be set. + * + * @return {Element} + * The element that gets created. + */ + createEl(tagName?: string, properties?: any, attributes?: any): Element; + /** + * Localize a string given the string in english. + * + * If tokens are provided, it'll try and run a simple token replacement on the provided string. + * The tokens it looks for look like `{1}` with the index being 1-indexed into the tokens array. + * + * If a `defaultValue` is provided, it'll use that over `string`, + * if a value isn't found in provided language files. + * This is useful if you want to have a descriptive key for token replacement + * but have a succinct localized string and not require `en.json` to be included. + * + * Currently, it is used for the progress bar timing. + * ```js + * { + * "progress bar timing: currentTime={1} duration={2}": "{1} of {2}" + * } + * ``` + * It is then used like so: + * ```js + * this.localize('progress bar timing: currentTime={1} duration{2}', + * [this.player_.currentTime(), this.player_.duration()], + * '{1} of {2}'); + * ``` + * + * Which outputs something like: `01:23 of 24:56`. + * + * + * @param {string} string + * The string to localize and the key to lookup in the language files. + * @param {string[]} [tokens] + * If the current item has token replacements, provide the tokens here. + * @param {string} [defaultValue] + * Defaults to `string`. Can be a default value to use for token replacement + * if the lookup key is needed to be separate. + * + * @return {string} + * The localized string or if no localization exists the english string. + */ + localize(string: string, tokens?: string[], defaultValue?: string): string; + /** + * Return the `Component`s DOM element. This is where children get inserted. + * This will usually be the the same as the element returned in {@link Component#el}. + * + * @return {Element} + * The content element for this `Component`. + */ + contentEl(): Element; + /** + * Get this `Component`s ID + * + * @return {string} + * The id of this `Component` + */ + id(): string; + /** + * Get the `Component`s name. The name gets used to reference the `Component` + * and is set during registration. + * + * @return {string} + * The name of this `Component`. + */ + name(): string; + /** + * Get an array of all child components + * + * @return {Array} + * The children + */ + children(): any[]; + /** + * Returns the child `Component` with the given `id`. + * + * @param {string} id + * The id of the child `Component` to get. + * + * @return {Component|undefined} + * The child `Component` with the given `id` or undefined. + */ + getChildById(id: string): Component | undefined; + /** + * Returns the child `Component` with the given `name`. + * + * @param {string} name + * The name of the child `Component` to get. + * + * @return {Component|undefined} + * The child `Component` with the given `name` or undefined. + */ + getChild(name: string): Component | undefined; + /** + * Returns the descendant `Component` following the givent + * descendant `names`. For instance ['foo', 'bar', 'baz'] would + * try to get 'foo' on the current component, 'bar' on the 'foo' + * component and 'baz' on the 'bar' component and return undefined + * if any of those don't exist. + * + * @param {...string[]|...string} names + * The name of the child `Component` to get. + * + * @return {Component|undefined} + * The descendant `Component` following the given descendant + * `names` or undefined. + */ + getDescendant(...names: any[]): Component | undefined; + /** + * Adds an SVG icon element to another element or component. + * + * @param {string} iconName + * The name of icon. A list of all the icon names can be found at 'sandbox/svg-icons.html' + * + * @param {Element} [el=this.el()] + * Element to set the title on. Defaults to the current Component's element. + * + * @return {Element} + * The newly created icon element. + */ + setIcon(iconName: string, el?: Element): Element; + iconIsSet_: boolean; + /** + * Add a child `Component` inside the current `Component`. + * + * @param {string|Component} child + * The name or instance of a child to add. + * + * @param {Object} [options={}] + * The key/value store of options that will get passed to children of + * the child. + * + * @param {number} [index=this.children_.length] + * The index to attempt to add a child into. + * + * + * @return {Component} + * The `Component` that gets added as a child. When using a string the + * `Component` will get created by this process. + */ + addChild(child: string | Component, options?: any, index?: number): Component; + /** + * Remove a child `Component` from this `Component`s list of children. Also removes + * the child `Component`s element from this `Component`s element. + * + * @param {Component} component + * The child `Component` to remove. + */ + removeChild(component: Component): void; + /** + * Add and initialize default child `Component`s based upon options. + */ + initChildren(): void; + /** + * Builds the default DOM class name. Should be overridden by sub-components. + * + * @return {string} + * The DOM class name for this object. + * + * @abstract + */ + buildCSSClass(): string; + /** + * Bind a listener to the component's ready state. + * Different from event listeners in that if the ready event has already happened + * it will trigger the function immediately. + * + * @param {ReadyCallback} fn + * Function that gets called when the `Component` is ready. + * + * @return {Component} + * Returns itself; method can be chained. + */ + ready(fn: () => any, sync?: boolean): Component; + readyQueue_: any; + /** + * Trigger all the ready listeners for this `Component`. + * + * @fires Component#ready + */ + triggerReady(): void; + isReady_: boolean; + /** + * Find a single DOM element matching a `selector`. This can be within the `Component`s + * `contentEl()` or another custom context. + * + * @param {string} selector + * A valid CSS selector, which will be passed to `querySelector`. + * + * @param {Element|string} [context=this.contentEl()] + * A DOM element within which to query. Can also be a selector string in + * which case the first matching element will get used as context. If + * missing `this.contentEl()` gets used. If `this.contentEl()` returns + * nothing it falls back to `document`. + * + * @return {Element|null} + * the dom element that was found, or null + * + * @see [Information on CSS Selectors](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_Started/Selectors) + */ + $(selector: string, context?: Element | string): Element | null; + /** + * Finds all DOM element matching a `selector`. This can be within the `Component`s + * `contentEl()` or another custom context. + * + * @param {string} selector + * A valid CSS selector, which will be passed to `querySelectorAll`. + * + * @param {Element|string} [context=this.contentEl()] + * A DOM element within which to query. Can also be a selector string in + * which case the first matching element will get used as context. If + * missing `this.contentEl()` gets used. If `this.contentEl()` returns + * nothing it falls back to `document`. + * + * @return {NodeList} + * a list of dom elements that were found + * + * @see [Information on CSS Selectors](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_Started/Selectors) + */ + $$(selector: string, context?: Element | string): NodeList; + /** + * Check if a component's element has a CSS class name. + * + * @param {string} classToCheck + * CSS class name to check. + * + * @return {boolean} + * - True if the `Component` has the class. + * - False if the `Component` does not have the class` + */ + hasClass(classToCheck: string): boolean; + /** + * Add a CSS class name to the `Component`s element. + * + * @param {...string} classesToAdd + * One or more CSS class name to add. + */ + addClass(...classesToAdd: string[]): void; + /** + * Remove a CSS class name from the `Component`s element. + * + * @param {...string} classesToRemove + * One or more CSS class name to remove. + */ + removeClass(...classesToRemove: string[]): void; + /** + * Add or remove a CSS class name from the component's element. + * - `classToToggle` gets added when {@link Component#hasClass} would return false. + * - `classToToggle` gets removed when {@link Component#hasClass} would return true. + * + * @param {string} classToToggle + * The class to add or remove based on (@link Component#hasClass} + * + * @param {boolean|Dom~predicate} [predicate] + * An {@link Dom~predicate} function or a boolean + */ + toggleClass(classToToggle: string, predicate: any): void; + /** + * Show the `Component`s element if it is hidden by removing the + * 'vjs-hidden' class name from it. + */ + show(): void; + /** + * Hide the `Component`s element if it is currently showing by adding the + * 'vjs-hidden` class name to it. + */ + hide(): void; + /** + * Lock a `Component`s element in its visible state by adding the 'vjs-lock-showing' + * class name to it. Used during fadeIn/fadeOut. + * + * @private + */ + private lockShowing; + /** + * Unlock a `Component`s element from its visible state by removing the 'vjs-lock-showing' + * class name from it. Used during fadeIn/fadeOut. + * + * @private + */ + private unlockShowing; + /** + * Get the value of an attribute on the `Component`s element. + * + * @param {string} attribute + * Name of the attribute to get the value from. + * + * @return {string|null} + * - The value of the attribute that was asked for. + * - Can be an empty string on some browsers if the attribute does not exist + * or has no value + * - Most browsers will return null if the attribute does not exist or has + * no value. + * + * @see [DOM API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute} + */ + getAttribute(attribute: string): string | null; + /** + * Set the value of an attribute on the `Component`'s element + * + * @param {string} attribute + * Name of the attribute to set. + * + * @param {string} value + * Value to set the attribute to. + * + * @see [DOM API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute} + */ + setAttribute(attribute: string, value: string): void; + /** + * Remove an attribute from the `Component`s element. + * + * @param {string} attribute + * Name of the attribute to remove. + * + * @see [DOM API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute} + */ + removeAttribute(attribute: string): void; + /** + * Get or set the width of the component based upon the CSS styles. + * See {@link Component#dimension} for more detailed information. + * + * @param {number|string} [num] + * The width that you want to set postfixed with '%', 'px' or nothing. + * + * @param {boolean} [skipListeners] + * Skip the componentresize event trigger + * + * @return {number|undefined} + * The width when getting, zero if there is no width + */ + width(num?: number | string, skipListeners?: boolean): number | undefined; + /** + * Get or set the height of the component based upon the CSS styles. + * See {@link Component#dimension} for more detailed information. + * + * @param {number|string} [num] + * The height that you want to set postfixed with '%', 'px' or nothing. + * + * @param {boolean} [skipListeners] + * Skip the componentresize event trigger + * + * @return {number|undefined} + * The height when getting, zero if there is no height + */ + height(num?: number | string, skipListeners?: boolean): number | undefined; + /** + * Set both the width and height of the `Component` element at the same time. + * + * @param {number|string} width + * Width to set the `Component`s element to. + * + * @param {number|string} height + * Height to set the `Component`s element to. + */ + dimensions(width: number | string, height: number | string): void; + /** + * Get or set width or height of the `Component` element. This is the shared code + * for the {@link Component#width} and {@link Component#height}. + * + * Things to know: + * - If the width or height in an number this will return the number postfixed with 'px'. + * - If the width/height is a percent this will return the percent postfixed with '%' + * - Hidden elements have a width of 0 with `window.getComputedStyle`. This function + * defaults to the `Component`s `style.width` and falls back to `window.getComputedStyle`. + * See [this]{@link http://www.foliotek.com/devblog/getting-the-width-of-a-hidden-element-with-jquery-using-width/} + * for more information + * - If you want the computed style of the component, use {@link Component#currentWidth} + * and {@link {Component#currentHeight} + * + * @fires Component#componentresize + * + * @param {string} widthOrHeight + 8 'width' or 'height' + * + * @param {number|string} [num] + 8 New dimension + * + * @param {boolean} [skipListeners] + * Skip componentresize event trigger + * + * @return {number|undefined} + * The dimension when getting or 0 if unset + */ + dimension(widthOrHeight: string, num?: number | string, skipListeners?: boolean): number | undefined; + /** + * Get the computed width or the height of the component's element. + * + * Uses `window.getComputedStyle`. + * + * @param {string} widthOrHeight + * A string containing 'width' or 'height'. Whichever one you want to get. + * + * @return {number} + * The dimension that gets asked for or 0 if nothing was set + * for that dimension. + */ + currentDimension(widthOrHeight: string): number; + /** + * An object that contains width and height values of the `Component`s + * computed style. Uses `window.getComputedStyle`. + * + * @typedef {Object} Component~DimensionObject + * + * @property {number} width + * The width of the `Component`s computed style. + * + * @property {number} height + * The height of the `Component`s computed style. + */ + /** + * Get an object that contains computed width and height values of the + * component's element. + * + * Uses `window.getComputedStyle`. + * + * @return {Component~DimensionObject} + * The computed dimensions of the component's element. + */ + currentDimensions(): Component; + /** + * Get the computed width of the component's element. + * + * Uses `window.getComputedStyle`. + * + * @return {number} + * The computed width of the component's element. + */ + currentWidth(): number; + /** + * Get the computed height of the component's element. + * + * Uses `window.getComputedStyle`. + * + * @return {number} + * The computed height of the component's element. + */ + currentHeight(): number; + /** + * Set the focus to this component + */ + focus(): void; + /** + * Remove the focus from this component + */ + blur(): void; + /** + * When this Component receives a `keydown` event which it does not process, + * it passes the event to the Player for handling. + * + * @param {KeyboardEvent} event + * The `keydown` event that caused this function to be called. + */ + handleKeyDown(event: KeyboardEvent): void; + /** + * Many components used to have a `handleKeyPress` method, which was poorly + * named because it listened to a `keydown` event. This method name now + * delegates to `handleKeyDown`. This means anyone calling `handleKeyPress` + * will not see their method calls stop working. + * + * @param {KeyboardEvent} event + * The event that caused this function to be called. + */ + handleKeyPress(event: KeyboardEvent): void; + /** + * Emit a 'tap' events when touch event support gets detected. This gets used to + * support toggling the controls through a tap on the video. They get enabled + * because every sub-component would have extra overhead otherwise. + * + * @protected + * @fires Component#tap + * @listens Component#touchstart + * @listens Component#touchmove + * @listens Component#touchleave + * @listens Component#touchcancel + * @listens Component#touchend + + */ + protected emitTapEvents(): void; + /** + * This function reports user activity whenever touch events happen. This can get + * turned off by any sub-components that wants touch events to act another way. + * + * Report user touch activity when touch events occur. User activity gets used to + * determine when controls should show/hide. It is simple when it comes to mouse + * events, because any mouse event should show the controls. So we capture mouse + * events that bubble up to the player and report activity when that happens. + * With touch events it isn't as easy as `touchstart` and `touchend` toggle player + * controls. So touch events can't help us at the player level either. + * + * User activity gets checked asynchronously. So what could happen is a tap event + * on the video turns the controls off. Then the `touchend` event bubbles up to + * the player. Which, if it reported user activity, would turn the controls right + * back on. We also don't want to completely block touch events from bubbling up. + * Furthermore a `touchmove` event and anything other than a tap, should not turn + * controls back on. + * + * @listens Component#touchstart + * @listens Component#touchmove + * @listens Component#touchend + * @listens Component#touchcancel + */ + enableTouchActivity(): void; + /** + * A callback that has no parameters and is bound into `Component`s context. + * + * @callback Component~GenericCallback + * @this Component + */ + /** + * Creates a function that runs after an `x` millisecond timeout. This function is a + * wrapper around `window.setTimeout`. There are a few reasons to use this one + * instead though: + * 1. It gets cleared via {@link Component#clearTimeout} when + * {@link Component#dispose} gets called. + * 2. The function callback will gets turned into a {@link Component~GenericCallback} + * + * > Note: You can't use `window.clearTimeout` on the id returned by this function. This + * will cause its dispose listener not to get cleaned up! Please use + * {@link Component#clearTimeout} or {@link Component#dispose} instead. + * + * @param {Component~GenericCallback} fn + * The function that will be run after `timeout`. + * + * @param {number} timeout + * Timeout in milliseconds to delay before executing the specified function. + * + * @return {number} + * Returns a timeout ID that gets used to identify the timeout. It can also + * get used in {@link Component#clearTimeout} to clear the timeout that + * was set. + * + * @listens Component#dispose + * @see [Similar to]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setTimeout} + */ + setTimeout(fn: any, timeout: number): number; + /** + * Clears a timeout that gets created via `window.setTimeout` or + * {@link Component#setTimeout}. If you set a timeout via {@link Component#setTimeout} + * use this function instead of `window.clearTimout`. If you don't your dispose + * listener will not get cleaned up until {@link Component#dispose}! + * + * @param {number} timeoutId + * The id of the timeout to clear. The return value of + * {@link Component#setTimeout} or `window.setTimeout`. + * + * @return {number} + * Returns the timeout id that was cleared. + * + * @see [Similar to]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/clearTimeout} + */ + clearTimeout(timeoutId: number): number; + /** + * Creates a function that gets run every `x` milliseconds. This function is a wrapper + * around `window.setInterval`. There are a few reasons to use this one instead though. + * 1. It gets cleared via {@link Component#clearInterval} when + * {@link Component#dispose} gets called. + * 2. The function callback will be a {@link Component~GenericCallback} + * + * @param {Component~GenericCallback} fn + * The function to run every `x` seconds. + * + * @param {number} interval + * Execute the specified function every `x` milliseconds. + * + * @return {number} + * Returns an id that can be used to identify the interval. It can also be be used in + * {@link Component#clearInterval} to clear the interval. + * + * @listens Component#dispose + * @see [Similar to]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setInterval} + */ + setInterval(fn: any, interval: number): number; + /** + * Clears an interval that gets created via `window.setInterval` or + * {@link Component#setInterval}. If you set an interval via {@link Component#setInterval} + * use this function instead of `window.clearInterval`. If you don't your dispose + * listener will not get cleaned up until {@link Component#dispose}! + * + * @param {number} intervalId + * The id of the interval to clear. The return value of + * {@link Component#setInterval} or `window.setInterval`. + * + * @return {number} + * Returns the interval id that was cleared. + * + * @see [Similar to]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/clearInterval} + */ + clearInterval(intervalId: number): number; + /** + * Queues up a callback to be passed to requestAnimationFrame (rAF), but + * with a few extra bonuses: + * + * - Supports browsers that do not support rAF by falling back to + * {@link Component#setTimeout}. + * + * - The callback is turned into a {@link Component~GenericCallback} (i.e. + * bound to the component). + * + * - Automatic cancellation of the rAF callback is handled if the component + * is disposed before it is called. + * + * @param {Component~GenericCallback} fn + * A function that will be bound to this component and executed just + * before the browser's next repaint. + * + * @return {number} + * Returns an rAF ID that gets used to identify the timeout. It can + * also be used in {@link Component#cancelAnimationFrame} to cancel + * the animation frame callback. + * + * @listens Component#dispose + * @see [Similar to]{@link https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame} + */ + requestAnimationFrame(fn: any): number; + /** + * Request an animation frame, but only one named animation + * frame will be queued. Another will never be added until + * the previous one finishes. + * + * @param {string} name + * The name to give this requestAnimationFrame + * + * @param {Component~GenericCallback} fn + * A function that will be bound to this component and executed just + * before the browser's next repaint. + */ + requestNamedAnimationFrame(name: string, fn: any): string; + /** + * Cancels a current named animation frame if it exists. + * + * @param {string} name + * The name of the requestAnimationFrame to cancel. + */ + cancelNamedAnimationFrame(name: string): void; + /** + * Cancels a queued callback passed to {@link Component#requestAnimationFrame} + * (rAF). + * + * If you queue an rAF callback via {@link Component#requestAnimationFrame}, + * use this function instead of `window.cancelAnimationFrame`. If you don't, + * your dispose listener will not get cleaned up until {@link Component#dispose}! + * + * @param {number} id + * The rAF ID to clear. The return value of {@link Component#requestAnimationFrame}. + * + * @return {number} + * Returns the rAF ID that was cleared. + * + * @see [Similar to]{@link https://developer.mozilla.org/en-US/docs/Web/API/window/cancelAnimationFrame} + */ + cancelAnimationFrame(id: number): number; + /** + * A function to setup `requestAnimationFrame`, `setTimeout`, + * and `setInterval`, clearing on dispose. + * + * > Previously each timer added and removed dispose listeners on it's own. + * For better performance it was decided to batch them all, and use `Set`s + * to track outstanding timer ids. + * + * @private + */ + private clearTimersOnDispose_; +} +//# sourceMappingURL=component.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/component.d.ts.map b/priv/static/video.js/types/component.d.ts.map new file mode 100644 index 0000000..571d61d --- /dev/null +++ b/priv/static/video.js/types/component.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/js/component.js"],"names":[],"mappings":";AAgBA;;;;;;;GAOG;AACH;IA+sDE;;;;;;;;;;;;;;;;;;OAkBG;IACH,+BATW,MAAM,uBAGN,SAAS,GAGR,SAAS,CAsDpB;IAED;;;;;;;;OAQG;IACH,0BANW,MAAM,GAGL,gBAAgB,CAS3B;IApyDD;;;;;;OAMG;IAEH;;;;;;;;;;;;;;;;;;;OAmBG;IACH,oBAjBY,OAAO,UAAU,EAAE,OAAO;QAMR,QAAQ,GAA3B,KAAQ;QAKU,SAAS,GAA1B,MAAM;0BAyFjB;IA/EG,aAA4B;IAK9B,qBAAwB;IAGxB,sBAA4B;IAG5B,cAAwC;IAMxC,SAAsD;IAUtD,WAAiC;IAI/B,SAAqB;IA2UzB;;;;OAIG;IACH,6BAAyB;IAvTvB,iBAAmB;IACnB,gBAAqB;IACrB,oBAAyB;IAEzB,yBAA+B;IAC/B,0BAAgC;IAChC,kBAAwB;IACxB,0BAA2B;IAC3B,kCAAqC;IAoBvC;;;;;;;;;OASG;IACH,SANW,MAAM,GAAC,MAAM,EAAE,sBAMX;IAEf;;;;;;;;;;OAUG;IACH,UANW,MAAM,GAAC,MAAM,EAAE,uBAMV;IAEhB;;;;;;;;;;OAUG;IACH,UANW,MAAM,GAAC,MAAM,EAAE,sBAMV;IAEhB;;;;;;;;;;;OAWG;IACH,UANW,MAAM,GAAC,MAAM,EAAE,sBAMV;IAEhB;;;;;;;;;;;;;;;;;;OAkBG;IACH,eAPW,MAAM,GAAC,KAAK,MAAO,oBAOP;IAEvB;;;;;;;OAOG;IACH;QAF4B,UAAU,EAA3B,OAAO;aA0DjB;IAED;;;;;OAKG;IACH,cAHY,OAAO,CAKlB;IAED;;;;;OAKG;IACH,UAHa,OAAO,UAAU,EAAE,OAAO,CAKtC;IAED;;;;;;;;;;OAUG;IACH,uBAOC;IAED;;;;;OAKG;IACH,MAHY,OAAO,CAKlB;IAED;;;;;;;;;;;;;;OAcG;IACH,mBAZW,MAAM,uCASL,OAAO,CAKlB;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,iBAXW,MAAM,WAEN,MAAM,EAAE,iBAER,MAAM,GAIL,MAAM,CAiCjB;IASD;;;;;;OAMG;IACH,aAHY,OAAO,CAKlB;IAED;;;;;OAKG;IACH,MAHY,MAAM,CAKjB;IAED;;;;;;OAMG;IACH,QAHY,MAAM,CAKjB;IAED;;;;;OAKG;IACH,kBAEC;IAED;;;;;;;;OAQG;IACH,iBANW,MAAM,GAGL,SAAS,GAAC,SAAS,CAK9B;IAED;;;;;;;;OAQG;IACH,eANW,MAAM,GAGL,SAAS,GAAC,SAAS,CAS9B;IAED;;;;;;;;;;;;;OAaG;IACH,gCAJY,SAAS,GAAC,SAAS,CAmB9B;IAED;;;;;;;;;;;OAWG;IACH,kBATW,MAAM,OAGN,OAAO,GAGN,OAAO,CAwClB;IAHC,oBAAsB;IAKxB;;;;;;;;;;;;;;;;;OAiBG;IACH,gBAfW,MAAM,GAAC,SAAS,yBAOhB,MAAM,GAIL,SAAS,CA+EpB;IAED;;;;;;OAMG;IACH,uBAHW,SAAS,QAqCnB;IAED;;OAEG;IACH,qBA6FC;IAED;;;;;;;OAOG;IACH,iBALY,MAAM,CASjB;IAED;;;;;;;;;;OAUG;IACH,sCAHY,SAAS,CAoBpB;IAXG,iBAAyC;IAa7C;;;;OAIG;IACH,qBAyBC;IAxBC,kBAAoB;IA0BtB;;;;;;;;;;;;;;;;;OAiBG;IACH,YAdW,MAAM,YAGN,OAAO,GAAC,MAAM,GAMb,OAAO,GAAC,IAAI,CAOvB;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,aAdW,MAAM,YAGN,OAAO,GAAC,MAAM,GAMb,QAAQ,CAOnB;IAED;;;;;;;;;OASG;IACH,uBAPW,MAAM,GAGL,OAAO,CAMlB;IAED;;;;;OAKG;IACH,0BAHc,MAAM,UAKnB;IAED;;;;;OAKG;IACH,gCAHc,MAAM,UAKnB;IAED;;;;;;;;;;OAUG;IACH,2BANY,MAAM,wBAQjB;IAED;;;OAGG;IACH,aAEC;IAED;;;OAGG;IACH,aAEC;IAED;;;;;OAKG;IACH,oBAEC;IAED;;;;;OAKG;IACH,sBAEC;IAED;;;;;;;;;;;;;;OAcG;IACH,wBAZW,MAAM,GAGL,MAAM,GAAC,IAAI,CAWtB;IAED;;;;;;;;;;OAUG;IACH,wBARW,MAAM,SAGN,MAAM,QAOhB;IAED;;;;;;;OAOG;IACH,2BALW,MAAM,QAOhB;IAED;;;;;;;;;;;;OAYG;IACH,YATW,MAAM,GAAC,MAAM,kBAGb,OAAO,GAGN,MAAM,GAAC,SAAS,CAK3B;IAED;;;;;;;;;;;;OAYG;IACH,aATW,MAAM,GAAC,MAAM,kBAGb,OAAO,GAGN,MAAM,GAAC,SAAS,CAK3B;IAED;;;;;;;;OAQG;IACH,kBANY,MAAM,GAAC,MAAM,UAGb,MAAM,GAAC,MAAM,QAOxB;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,yBAZW,MAAM,QAGL,MAAM,GAAC,MAAM,kBAGb,OAAO,GAGP,MAAM,GAAC,SAAS,CAoD3B;IAED;;;;;;;;;;;OAWG;IACH,gCAPW,MAAM,GAGL,MAAM,CA0BjB;IAED;;;;;;;;;;;OAWG;IAEH;;;;;;;;OAQG;IACH,qBAHY,SAAS,CAQpB;IAED;;;;;;;OAOG;IACH,gBAHY,MAAM,CAKjB;IAED;;;;;;;OAOG;IACH,iBAHY,MAAM,CAKjB;IAED;;OAEG;IACH,cAEC;IAED;;OAEG;IACH,aAEC;IAED;;;;;;OAMG;IACH,qBAHW,aAAa,QAavB;IAED;;;;;;;;OAQG;IACH,sBAHW,aAAa,QAKvB;IAED;;;;;;;;;;;;;OAaG;IACH,gCAiFC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,4BA8BC;IAED;;;;;OAKG;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,6BAXW,MAAM,GAGL,MAAM,CA2BjB;IAED;;;;;;;;;;;;;;OAcG;IACH,wBATW,MAAM,GAIL,MAAM,CAYjB;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,+BAVW,MAAM,GAGL,MAAM,CAiBjB;IAED;;;;;;;;;;;;;;OAcG;IACH,0BATW,MAAM,GAIL,MAAM,CAYjB;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,gCARY,MAAM,CAyBjB;IAED;;;;;;;;;;;OAWG;IACH,iCAPW,MAAM,mBAyBhB;IAED;;;;;OAKG;IACH,gCAHW,MAAM,QAUhB;IAED;;;;;;;;;;;;;;;OAeG;IACH,yBARW,MAAM,GAGL,MAAM,CAajB;IAED;;;;;;;;;OASG;IACH,8BAqBC;CA0FF"} \ No newline at end of file diff --git a/priv/static/video.js/types/consts/errors.d.ts b/priv/static/video.js/types/consts/errors.d.ts new file mode 100644 index 0000000..37783ea --- /dev/null +++ b/priv/static/video.js/types/consts/errors.d.ts @@ -0,0 +1,30 @@ +declare namespace _default { + const UnsupportedSidxContainer: string; + const DashManifestSidxParsingError: string; + const HlsPlaylistRequestError: string; + const SegmentUnsupportedMediaFormat: string; + const UnsupportedMediaInitialization: string; + const SegmentSwitchError: string; + const SegmentExceedsSourceBufferQuota: string; + const SegmentAppendError: string; + const VttLoadError: string; + const VttCueParsingError: string; + const AdsBeforePrerollError: string; + const AdsPrerollError: string; + const AdsMidrollError: string; + const AdsPostrollError: string; + const AdsMacroReplacementFailed: string; + const AdsResumeContentFailed: string; + const EMEFailedToRequestMediaKeySystemAccess: string; + const EMEFailedToCreateMediaKeys: string; + const EMEFailedToAttachMediaKeysToVideoElement: string; + const EMEFailedToCreateMediaKeySession: string; + const EMEFailedToSetServerCertificate: string; + const EMEFailedToGenerateLicenseRequest: string; + const EMEFailedToUpdateSessionWithReceivedLicenseKeys: string; + const EMEFailedToCloseSession: string; + const EMEFailedToRemoveKeysFromSession: string; + const EMEFailedToLoadSessionBySessionId: string; +} +export default _default; +//# sourceMappingURL=errors.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/consts/errors.d.ts.map b/priv/static/video.js/types/consts/errors.d.ts.map new file mode 100644 index 0000000..4436506 --- /dev/null +++ b/priv/static/video.js/types/consts/errors.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/js/consts/errors.js"],"names":[],"mappings":""} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-button.d.ts b/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-button.d.ts new file mode 100644 index 0000000..2c362e7 --- /dev/null +++ b/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-button.d.ts @@ -0,0 +1,28 @@ +export default AudioTrackButton; +/** + * The base class for buttons that toggle specific {@link AudioTrack} types. + * + * @extends TrackButton + */ +declare class AudioTrackButton extends TrackButton { + /** + * Create a menu item for each audio track + * + * @param {AudioTrackMenuItem[]} [items=[]] + * An array of existing menu items to use. + * + * @return {AudioTrackMenuItem[]} + * An array of menu items + */ + createItems(items?: AudioTrackMenuItem[]): AudioTrackMenuItem[]; + /** + * The text that should display over the `AudioTrackButton`s controls. Added for localization. + * + * @type {string} + * @protected + */ + protected controlText_: string; +} +import TrackButton from "../track-button.js"; +import AudioTrackMenuItem from "./audio-track-menu-item.js"; +//# sourceMappingURL=audio-track-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-button.d.ts.map b/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-button.d.ts.map new file mode 100644 index 0000000..06cedf9 --- /dev/null +++ b/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"audio-track-button.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/audio-track-controls/audio-track-button.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAiCE;;;;;;;;OAQG;IACH,oBANW,kBAAkB,EAAE,GAGnB,kBAAkB,EAAE,CAsB/B;IAGH;;;;;OAKG;IACH,wBAHU,MAAM,CAGuB;CARtC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-menu-item.d.ts b/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-menu-item.d.ts new file mode 100644 index 0000000..ba08274 --- /dev/null +++ b/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-menu-item.d.ts @@ -0,0 +1,33 @@ +export default AudioTrackMenuItem; +/** + * An {@link AudioTrack} {@link MenuItem} + * + * @extends MenuItem + */ +declare class AudioTrackMenuItem extends MenuItem { + track: any; + createEl(type: any, props: any, attrs: any): Element; + /** + * This gets called when an `AudioTrackMenuItem is "clicked". See {@link ClickableComponent} + * for more detailed information on what a click can be. + * + * @param {Event} [event] + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event?: Event): void; + /** + * Handle any {@link AudioTrack} change. + * + * @param {Event} [event] + * The {@link AudioTrackList#change} event that caused this to run. + * + * @listens AudioTrackList#change + */ + handleTracksChange(event?: Event): void; +} +import MenuItem from "../../menu/menu-item.js"; +//# sourceMappingURL=audio-track-menu-item.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-menu-item.d.ts.map b/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-menu-item.d.ts.map new file mode 100644 index 0000000..f1526cc --- /dev/null +++ b/priv/static/video.js/types/control-bar/audio-track-controls/audio-track-menu-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"audio-track-menu-item.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/audio-track-controls/audio-track-menu-item.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAqBI,WAAkB;IAcpB,qDAiBC;IAED;;;;;;;;;;OAUG;IACH,oBAPW,KAAK,QA6Bf;IAED;;;;;;;OAOG;IACH,2BALW,KAAK,QAOf;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/control-bar.d.ts b/priv/static/video.js/types/control-bar/control-bar.d.ts new file mode 100644 index 0000000..8d5f7a1 --- /dev/null +++ b/priv/static/video.js/types/control-bar/control-bar.d.ts @@ -0,0 +1,17 @@ +export default ControlBar; +/** + * Container of main controls. + * + * @extends Component + */ +declare class ControlBar extends Component { + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; +} +import Component from "../component.js"; +//# sourceMappingURL=control-bar.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/control-bar.d.ts.map b/priv/static/video.js/types/control-bar/control-bar.d.ts.map new file mode 100644 index 0000000..c72c327 --- /dev/null +++ b/priv/static/video.js/types/control-bar/control-bar.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"control-bar.d.ts","sourceRoot":"","sources":["../../../src/js/control-bar/control-bar.js"],"names":[],"mappings":";AA4BA;;;;GAIG;AACH;IAEE;;;;;OAKG;IACH,YAHY,OAAO,CAQlB;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/fullscreen-toggle.d.ts b/priv/static/video.js/types/control-bar/fullscreen-toggle.d.ts new file mode 100644 index 0000000..063fe21 --- /dev/null +++ b/priv/static/video.js/types/control-bar/fullscreen-toggle.d.ts @@ -0,0 +1,42 @@ +export default FullscreenToggle; +/** + * Toggle fullscreen video + * + * @extends Button + */ +declare class FullscreenToggle extends Button { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: any, options?: any); + /** + * Handles fullscreenchange on the player and change control text accordingly. + * + * @param {Event} [event] + * The {@link Player#fullscreenchange} event that caused this function to be + * called. + * + * @listens Player#fullscreenchange + */ + handleFullscreenChange(event?: Event): void; + /** + * This gets called when an `FullscreenToggle` is "clicked". See + * {@link ClickableComponent} for more detailed information on what a click can be. + * + * @param {Event} [event] + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event?: Event): void; +} +import Button from "../button.js"; +//# sourceMappingURL=fullscreen-toggle.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/fullscreen-toggle.d.ts.map b/priv/static/video.js/types/control-bar/fullscreen-toggle.d.ts.map new file mode 100644 index 0000000..7210bf2 --- /dev/null +++ b/priv/static/video.js/types/control-bar/fullscreen-toggle.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"fullscreen-toggle.d.ts","sourceRoot":"","sources":["../../../src/js/control-bar/fullscreen-toggle.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,wCAQC;IAYD;;;;;;;;OAQG;IACH,+BANW,KAAK,QAcf;IAED;;;;;;;;;;OAUG;IACH,oBAPW,KAAK,QAaf;CAEF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/live-display.d.ts b/priv/static/video.js/types/control-bar/live-display.d.ts new file mode 100644 index 0000000..b001278 --- /dev/null +++ b/priv/static/video.js/types/control-bar/live-display.d.ts @@ -0,0 +1,39 @@ +export default LiveDisplay; +/** + * Displays the live indicator when duration is Infinity. + * + * @extends Component + */ +declare class LiveDisplay extends Component { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: any, options?: any); + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + contentEl_: Element; + dispose(): void; + /** + * Check the duration to see if the LiveDisplay should be showing or not. Then show/hide + * it accordingly + * + * @param {Event} [event] + * The {@link Player#durationchange} event that caused this function to run. + * + * @listens Player#durationchange + */ + updateShowing(event?: Event): void; +} +import Component from "../component"; +//# sourceMappingURL=live-display.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/live-display.d.ts.map b/priv/static/video.js/types/control-bar/live-display.d.ts.map new file mode 100644 index 0000000..685e741 --- /dev/null +++ b/priv/static/video.js/types/control-bar/live-display.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"live-display.d.ts","sourceRoot":"","sources":["../../../src/js/control-bar/live-display.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,wCAKC;IAED;;;;;OAKG;IACH,YAHY,OAAO,CAsBlB;IAdC,oBAIE;IAYJ,gBAIC;IAED;;;;;;;;OAQG;IACH,sBALW,KAAK,QAWf;CAEF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/mute-toggle.d.ts b/priv/static/video.js/types/control-bar/mute-toggle.d.ts new file mode 100644 index 0000000..f07b5e7 --- /dev/null +++ b/priv/static/video.js/types/control-bar/mute-toggle.d.ts @@ -0,0 +1,64 @@ +export default MuteToggle; +/** + * A button component for muting the audio. + * + * @extends Button + */ +declare class MuteToggle extends Button { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: any, options?: any); + /** + * This gets called when an `MuteToggle` is "clicked". See + * {@link ClickableComponent} for more detailed information on what a click can be. + * + * @param {Event} [event] + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event?: Event): void; + /** + * Update the `MuteToggle` button based on the state of `volume` and `muted` + * on the player. + * + * @param {Event} [event] + * The {@link Player#loadstart} event if this function was called + * through an event. + * + * @listens Player#loadstart + * @listens Player#volumechange + */ + update(event?: Event): void; + /** + * Update the appearance of the `MuteToggle` icon. + * + * Possible states (given `level` variable below): + * - 0: crossed out + * - 1: zero bars of volume + * - 2: one bar of volume + * - 3: two bars of volume + * + * @private + */ + private updateIcon_; + /** + * If `muted` has changed on the player, update the control text + * (`title` attribute on `vjs-mute-control` element and content of + * `vjs-control-text` element). + * + * @private + */ + private updateControlText_; +} +import Button from "../button"; +//# sourceMappingURL=mute-toggle.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/mute-toggle.d.ts.map b/priv/static/video.js/types/control-bar/mute-toggle.d.ts.map new file mode 100644 index 0000000..f224add --- /dev/null +++ b/priv/static/video.js/types/control-bar/mute-toggle.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mute-toggle.d.ts","sourceRoot":"","sources":["../../../src/js/control-bar/mute-toggle.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,wCAOC;IAYD;;;;;;;;;;OAUG;IACH,oBAPW,KAAK,QAmBf;IAED;;;;;;;;;;OAUG;IACH,eAPW,KAAK,QAUf;IAED;;;;;;;;;;OAUG;IACH,oBA0BC;IAED;;;;;;OAMG;IACH,2BAOC;CAEF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/picture-in-picture-toggle.d.ts b/priv/static/video.js/types/control-bar/picture-in-picture-toggle.d.ts new file mode 100644 index 0000000..28c7c12 --- /dev/null +++ b/priv/static/video.js/types/control-bar/picture-in-picture-toggle.d.ts @@ -0,0 +1,61 @@ +export default PictureInPictureToggle; +/** + * Toggle Picture-in-Picture mode + * + * @extends Button + */ +declare class PictureInPictureToggle extends Button { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + * + * @listens Player#enterpictureinpicture + * @listens Player#leavepictureinpicture + */ + constructor(player: any, options?: any); + /** + * Displays or hides the button depending on the audio mode detection. + * Exits picture-in-picture if it is enabled when switching to audio mode. + */ + handlePictureInPictureAudioModeChange(): void; + /** + * Enables or disables button based on availability of a Picture-In-Picture mode. + * + * Enabled if + * - `player.options().enableDocumentPictureInPicture` is true and + * window.documentPictureInPicture is available; or + * - `player.disablePictureInPicture()` is false and + * element.requestPictureInPicture is available + */ + handlePictureInPictureEnabledChange(): void; + /** + * Handles enterpictureinpicture and leavepictureinpicture on the player and change control text accordingly. + * + * @param {Event} [event] + * The {@link Player#enterpictureinpicture} or {@link Player#leavepictureinpicture} event that caused this function to be + * called. + * + * @listens Player#enterpictureinpicture + * @listens Player#leavepictureinpicture + */ + handlePictureInPictureChange(event?: Event): void; + /** + * This gets called when an `PictureInPictureToggle` is "clicked". See + * {@link ClickableComponent} for more detailed information on what a click can be. + * + * @param {Event} [event] + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event?: Event): void; +} +import Button from "../button.js"; +//# sourceMappingURL=picture-in-picture-toggle.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/picture-in-picture-toggle.d.ts.map b/priv/static/video.js/types/control-bar/picture-in-picture-toggle.d.ts.map new file mode 100644 index 0000000..885bb8a --- /dev/null +++ b/priv/static/video.js/types/control-bar/picture-in-picture-toggle.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"picture-in-picture-toggle.d.ts","sourceRoot":"","sources":["../../../src/js/control-bar/picture-in-picture-toggle.js"],"names":[],"mappings":";AAQA;;;;GAIG;AACH;IAEE;;;;;;;;;;;OAWG;IACH,wCAWC;IAYD;;;OAGG;IACH,8CAiBC;IAED;;;;;;;;OAQG;IACH,4CASC;IAED;;;;;;;;;OASG;IACH,qCAPW,KAAK,QAgBf;IAED;;;;;;;;;;OAUG;IACH,oBAPW,KAAK,QAaf;CAcF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/play-toggle.d.ts b/priv/static/video.js/types/control-bar/play-toggle.d.ts new file mode 100644 index 0000000..0262f10 --- /dev/null +++ b/priv/static/video.js/types/control-bar/play-toggle.d.ts @@ -0,0 +1,69 @@ +export default PlayToggle; +/** + * Button to toggle between play and pause. + * + * @extends Button + */ +declare class PlayToggle extends Button { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options={}] + * The key/value store of player options. + */ + constructor(player: any, options?: any); + /** + * This gets called when an `PlayToggle` is "clicked". See + * {@link ClickableComponent} for more detailed information on what a click can be. + * + * @param {Event} [event] + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event?: Event): void; + /** + * This gets called once after the video has ended and the user seeks so that + * we can change the replay button back to a play button. + * + * @param {Event} [event] + * The event that caused this function to run. + * + * @listens Player#seeked + */ + handleSeeked(event?: Event): void; + /** + * Add the vjs-playing class to the element so it can change appearance. + * + * @param {Event} [event] + * The event that caused this function to run. + * + * @listens Player#play + */ + handlePlay(event?: Event): void; + /** + * Add the vjs-paused class to the element so it can change appearance. + * + * @param {Event} [event] + * The event that caused this function to run. + * + * @listens Player#pause + */ + handlePause(event?: Event): void; + /** + * Add the vjs-ended class to the element so it can change appearance + * + * @param {Event} [event] + * The event that caused this function to run. + * + * @listens Player#ended + */ + handleEnded(event?: Event): void; +} +import Button from "../button.js"; +//# sourceMappingURL=play-toggle.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/play-toggle.d.ts.map b/priv/static/video.js/types/control-bar/play-toggle.d.ts.map new file mode 100644 index 0000000..36dd7f2 --- /dev/null +++ b/priv/static/video.js/types/control-bar/play-toggle.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"play-toggle.d.ts","sourceRoot":"","sources":["../../../src/js/control-bar/play-toggle.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,wCAcC;IAYD;;;;;;;;;;OAUG;IACH,oBAPW,KAAK,QAaf;IAED;;;;;;;;OAQG;IACH,qBALW,KAAK,QAaf;IAED;;;;;;;OAOG;IACH,mBALW,KAAK,QAWf;IAED;;;;;;;OAOG;IACH,oBALW,KAAK,QAWf;IAED;;;;;;;OAOG;IACH,oBALW,KAAK,QAcf;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-button.d.ts b/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-button.d.ts new file mode 100644 index 0000000..f14e778 --- /dev/null +++ b/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-button.d.ts @@ -0,0 +1,66 @@ +export default PlaybackRateMenuButton; +/** + * The component for controlling the playback rate. + * + * @extends MenuButton + */ +declare class PlaybackRateMenuButton extends MenuButton { + labelElId_: string; + labelEl_: Element; + /** + * Create the list of menu items. Specific to each subclass. + * + */ + createItems(): PlaybackRateMenuItem[]; + /** + * On playbackrateschange, update the menu to account for the new items. + * + * @listens Player#playbackrateschange + */ + handlePlaybackRateschange(event: any): void; + /** + * Get possible playback rates + * + * @return {Array} + * All possible playback rates + */ + playbackRates(): any[]; + /** + * Get whether playback rates is supported by the tech + * and an array of playback rates exists + * + * @return {boolean} + * Whether changing playback rate is supported + */ + playbackRateSupported(): boolean; + /** + * Hide playback rate controls when they're no playback rate options to select + * + * @param {Event} [event] + * The event that caused this function to run. + * + * @listens Player#loadstart + */ + updateVisibility(event?: Event): void; + /** + * Update button label when rate changed + * + * @param {Event} [event] + * The event that caused this function to run. + * + * @listens Player#ratechange + */ + updateLabel(event?: Event): void; + /** + * The text that should display over the `PlaybackRateMenuButton`s controls. + * + * Added for localization. + * + * @type {string} + * @protected + */ + protected controlText_: string; +} +import MenuButton from "../../menu/menu-button.js"; +import PlaybackRateMenuItem from "./playback-rate-menu-item.js"; +//# sourceMappingURL=playback-rate-menu-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-button.d.ts.map b/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-button.d.ts.map new file mode 100644 index 0000000..15030a1 --- /dev/null +++ b/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"playback-rate-menu-button.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/playback-rate-menu/playback-rate-menu-button.js"],"names":[],"mappings":";AAQA;;;;GAIG;AACH;IAiCI,mBAA6D;IAE7D,kBAIE;IA2BJ;;;OAGG;IACH,sCASC;IAED;;;;OAIG;IACH,4CAEC;IAED;;;;;OAKG;IACH,uBAIC;IAED;;;;;;OAMG;IACH,yBAHY,OAAO,CASlB;IAED;;;;;;;OAOG;IACH,yBALW,KAAK,QAWf;IAED;;;;;;;OAOG;IACH,oBALW,KAAK,QASf;IAIH;;;;;;;OAOG;IACH,wBAHU,MAAM,CAG6B;CAV5C"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-item.d.ts b/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-item.d.ts new file mode 100644 index 0000000..144c506 --- /dev/null +++ b/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-item.d.ts @@ -0,0 +1,40 @@ +export default PlaybackRateMenuItem; +/** + * The specific menu item type for selecting a playback rate. + * + * @extends MenuItem + */ +declare class PlaybackRateMenuItem extends MenuItem { + label: any; + rate: number; + /** + * This gets called when an `PlaybackRateMenuItem` is "clicked". See + * {@link ClickableComponent} for more detailed information on what a click can be. + * + * @param {Event} [event] + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event?: Event): void; + /** + * Update the PlaybackRateMenuItem when the playbackrate changes. + * + * @param {Event} [event] + * The `ratechange` event that caused this function to run. + * + * @listens Player#ratechange + */ + update(event?: Event): void; + /** + * The text that should display over the `PlaybackRateMenuItem`s controls. Added for localization. + * + * @type {string} + * @private + */ + private contentElType; +} +import MenuItem from "../../menu/menu-item.js"; +//# sourceMappingURL=playback-rate-menu-item.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-item.d.ts.map b/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-item.d.ts.map new file mode 100644 index 0000000..c21b0ff --- /dev/null +++ b/priv/static/video.js/types/control-bar/playback-rate-menu/playback-rate-menu-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"playback-rate-menu-item.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/playback-rate-menu/playback-rate-menu-item.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAuBI,WAAkB;IAClB,aAAgB;IAKlB;;;;;;;;;;OAUG;IACH,oBAPW,KAAK,QAUf;IAED;;;;;;;OAOG;IACH,eALW,KAAK,QAOf;IAIH;;;;;OAKG;IACH,sBAA4C;CAR3C"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/load-progress-bar.d.ts b/priv/static/video.js/types/control-bar/progress-control/load-progress-bar.d.ts new file mode 100644 index 0000000..ede43bd --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/load-progress-bar.d.ts @@ -0,0 +1,40 @@ +export default LoadProgressBar; +/** + * Shows loading progress + * + * @extends Component + */ +declare class LoadProgressBar extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + partEls_: any[]; + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + percentageEl_: Element; + dispose(): void; + /** + * Update progress bar + * + * @param {Event} [event] + * The `progress` event that caused this function to run. + * + * @listens Player#progress + */ + update(event?: Event): void; + percent_: any; +} +import Component from "../../component.js"; +//# sourceMappingURL=load-progress-bar.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/load-progress-bar.d.ts.map b/priv/static/video.js/types/control-bar/progress-control/load-progress-bar.d.ts.map new file mode 100644 index 0000000..e789b31 --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/load-progress-bar.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"load-progress-bar.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/progress-control/load-progress-bar.js"],"names":[],"mappings":";AAWA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBAUzC;IAFC,gBAAkB;IAIpB;;;;;OAKG;IACH,YAHY,OAAO,CAoBlB;IAXC,uBAGE;IAUJ,gBAKC;IAED;;;;;;;OAOG;IACH,eALW,KAAK,QAoDf;IAjCK,cAAuB;CAkC9B"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/mouse-time-display.d.ts b/priv/static/video.js/types/control-bar/progress-control/mouse-time-display.d.ts new file mode 100644 index 0000000..0da4559 --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/mouse-time-display.d.ts @@ -0,0 +1,42 @@ +export default MouseTimeDisplay; +/** + * The {@link MouseTimeDisplay} component tracks mouse movement over the + * {@link ProgressControl}. It displays an indicator and a {@link TimeTooltip} + * indicating the time which is represented by a given point in the + * {@link ProgressControl}. + * + * @extends Component + */ +declare class MouseTimeDisplay extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The {@link Player} that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * Enqueues updates to its own DOM as well as the DOM of its + * {@link TimeTooltip} child. + * + * @param {Object} seekBarRect + * The `ClientRect` for the {@link SeekBar} element. + * + * @param {number} seekBarPoint + * A number from 0 to 1, representing a horizontal reference point + * from the left edge of the {@link SeekBar} + */ + update(seekBarRect: any, seekBarPoint: number): void; + /** + * Create the DOM element for this class. + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; +} +import Component from "../../component.js"; +//# sourceMappingURL=mouse-time-display.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/mouse-time-display.d.ts.map b/priv/static/video.js/types/control-bar/progress-control/mouse-time-display.d.ts.map new file mode 100644 index 0000000..7269a2d --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/mouse-time-display.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mouse-time-display.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/progress-control/mouse-time-display.js"],"names":[],"mappings":";AAQA;;;;;;;GAOG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBASzC;IAcD;;;;;;;;;;OAUG;IACH,uCAJW,MAAM,QAUhB;IA7BD;;;;;OAKG;IACH,YAHY,OAAO,CAOlB;CAoBF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/play-progress-bar.d.ts b/priv/static/video.js/types/control-bar/progress-control/play-progress-bar.d.ts new file mode 100644 index 0000000..2ee48e3 --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/play-progress-bar.d.ts @@ -0,0 +1,40 @@ +export default PlayProgressBar; +/** + * Used by {@link SeekBar} to display media playback progress as part of the + * {@link ProgressControl}. + * + * @extends Component + */ +declare class PlayProgressBar extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The {@link Player} that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * Enqueues updates to its own DOM as well as the DOM of its + * {@link TimeTooltip} child. + * + * @param {Object} seekBarRect + * The `ClientRect` for the {@link SeekBar} element. + * + * @param {number} seekBarPoint + * A number from 0 to 1, representing a horizontal reference point + * from the left edge of the {@link SeekBar} + */ + update(seekBarRect: any, seekBarPoint: number): void; + /** + * Create the the DOM element for this class. + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; +} +import Component from "../../component.js"; +//# sourceMappingURL=play-progress-bar.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/play-progress-bar.d.ts.map b/priv/static/video.js/types/control-bar/progress-control/play-progress-bar.d.ts.map new file mode 100644 index 0000000..f054d6d --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/play-progress-bar.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"play-progress-bar.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/progress-control/play-progress-bar.js"],"names":[],"mappings":";AASA;;;;;GAKG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBAUzC;IAgBD;;;;;;;;;;OAUG;IACH,uCAJW,MAAM,QAgBhB;IArCD;;;;;OAKG;IACH,YAHY,OAAO,CASlB;CA0BF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/progress-control.d.ts b/priv/static/video.js/types/control-bar/progress-control/progress-control.d.ts new file mode 100644 index 0000000..d4a4dae --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/progress-control.d.ts @@ -0,0 +1,101 @@ +export default ProgressControl; +/** + * The Progress Control component contains the seek bar, load progress, + * and play progress. + * + * @extends Component + */ +declare class ProgressControl extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * When the mouse moves over the `ProgressControl`, the pointer position + * gets passed down to the `MouseTimeDisplay` component. + * + * @param {Event} event + * The `mousemove` event that caused this function to run. + * + * @listen mousemove + */ + handleMouseMove(event: Event): void; + throttledHandleMouseSeek: Function; + handleMouseUpHandler_: (e: any) => void; + handleMouseDownHandler_: (e: any) => void; + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + /** + * A throttled version of the {@link ProgressControl#handleMouseSeek} listener. + * + * @method ProgressControl#throttledHandleMouseSeek + * @param {Event} event + * The `mousemove` event that caused this function to run. + * + * @listen mousemove + * @listen touchmove + */ + /** + * Handle `mousemove` or `touchmove` events on the `ProgressControl`. + * + * @param {Event} event + * `mousedown` or `touchstart` event that triggered this function + * + * @listens mousemove + * @listens touchmove + */ + handleMouseSeek(event: Event): void; + /** + * Are controls are currently enabled for this progress control. + * + * @return {boolean} + * true if controls are enabled, false otherwise + */ + enabled(): boolean; + /** + * Disable all controls on the progress control and its children + */ + disable(): void; + enabled_: boolean; + /** + * Enable all controls on the progress control and its children + */ + enable(): void; + /** + * Cleanup listeners after the user finishes interacting with the progress controls + */ + removeListenersAddedOnMousedownAndTouchstart(): void; + /** + * Handle `mousedown` or `touchstart` events on the `ProgressControl`. + * + * @param {Event} event + * `mousedown` or `touchstart` event that triggered this function + * + * @listens mousedown + * @listens touchstart + */ + handleMouseDown(event: Event): void; + /** + * Handle `mouseup` or `touchend` events on the `ProgressControl`. + * + * @param {Event} event + * `mouseup` or `touchend` event that triggered this function. + * + * @listens touchend + * @listens mouseup + */ + handleMouseUp(event: Event): void; +} +import Component from "../../component.js"; +//# sourceMappingURL=progress-control.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/progress-control.d.ts.map b/priv/static/video.js/types/control-bar/progress-control/progress-control.d.ts.map new file mode 100644 index 0000000..91402bb --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/progress-control.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"progress-control.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/progress-control/progress-control.js"],"names":[],"mappings":";AAWA;;;;;GAKG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBAczC;IAcD;;;;;;;;OAQG;IACH,uBALW,KAAK,QAoCf;IA3DC,mCAAoG;IACpG,wCAAyD;IACzD,0CAA6D;IAK/D;;;;;OAKG;IACH,YAHY,OAAO,CAOlB;IA4CD;;;;;;;;;OASG;IAEH;;;;;;;;OAQG;IACH,uBANW,KAAK,QAYf;IAED;;;;;OAKG;IACH,WAHY,OAAO,CAKlB;IAED;;OAEG;IACH,gBA0BC;IAZC,kBAAqB;IAcvB;;OAEG;IACH,eAYC;IAED;;OAEG;IACH,qDAOC;IAED;;;;;;;;OAQG;IACH,uBANW,KAAK,QAkBf;IAED;;;;;;;;OAQG;IACH,qBANW,KAAK,QAcf;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/seek-bar.d.ts b/priv/static/video.js/types/control-bar/progress-control/seek-bar.d.ts new file mode 100644 index 0000000..e1f9ec8 --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/seek-bar.d.ts @@ -0,0 +1,100 @@ +export default SeekBar; +/** + * Seek bar and container for the progress bars. Uses {@link PlayProgressBar} + * as its `bar`. + * + * @extends Slider + */ +declare class SeekBar extends Slider { + /** + * Sets the event handlers + * + * @private + */ + private setEventHandlers_; + /** + * This function updates the play progress bar and accessibility + * attributes to whatever is passed in. + * + * @param {Event} [event] + * The `timeupdate` or `ended` event that caused this to run. + * + * @listens Player#timeupdate + * + * @return {number} + * The current percent at a number from 0-1 + */ + update(event?: Event): number; + updateInterval: number; + enableIntervalHandler_: (e: any) => void; + disableIntervalHandler_: (e: any) => void; + toggleVisibility_(e: any): void; + enableInterval_(): void; + disableInterval_(e: any): void; + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + percent_: any; + currentTime_: any; + duration_: any; + /** + * Prevent liveThreshold from causing seeks to seem like they + * are not happening from a user perspective. + * + * @param {number} ct + * current time to seek to + */ + userSeek_(ct: number): void; + /** + * Get the value of current time but allows for smooth scrubbing, + * when player can't keep up. + * + * @return {number} + * The current time value to display + * + * @private + */ + private getCurrentTime_; + /** + * Get the percentage of media played so far. + * + * @return {number} + * The percentage of media played so far (0 to 1). + */ + getPercent(): number; + videoWasPlaying: boolean; + /** + * Handle mouse move on seek bar + * + * @param {MouseEvent} event + * The `mousemove` event that caused this to run. + * @param {boolean} mouseDown this is a flag that should be set to true if `handleMouseMove` is called directly. It allows us to skip things that should not happen if coming from mouse down but should happen on regular mouse move handler. Defaults to false + * + * @listens mousemove + */ + handleMouseMove(event: MouseEvent, mouseDown?: boolean): void; + /** + * Move more quickly fast forward for keyboard-only users + */ + stepForward(): void; + /** + * Move more quickly rewind for keyboard-only users + */ + stepBack(): void; + /** + * Toggles the playback state of the player + * This gets called when enter or space is used on the seekbar + * + * @param {KeyboardEvent} event + * The `keydown` event that caused this function to be called + * + */ + handleAction(event: KeyboardEvent): void; + dispose(): void; +} +import Slider from "../../slider/slider.js"; +//# sourceMappingURL=seek-bar.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/seek-bar.d.ts.map b/priv/static/video.js/types/control-bar/progress-control/seek-bar.d.ts.map new file mode 100644 index 0000000..5472e5a --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/seek-bar.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"seek-bar.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/progress-control/seek-bar.js"],"names":[],"mappings":";AAuBA;;;;;GAKG;AACH;IAgBE;;;;OAIG;IACH,0BAyBC;IAoDD;;;;;;;;;;;OAWG;IACH,eARW,KAAK,GAKJ,MAAM,CAkDjB;IA7HC,uBAA0B;IAE1B,yCAA4D;IAC5D,0CAA8D;IAahE,gCAaC;IAED,wBAMC;IAED,+BAWC;IAED;;;;;OAKG;IACH,YAHY,OAAO,CASlB;IAmCK,cAAuB;IAevB,kBAA+B;IAC/B,eAAyB;IAY/B;;;;;;OAMG;IACH,cAHW,MAAM,QAShB;IAED;;;;;;;;OAQG;IACH,wBAIC;IAED;;;;;OAKG;IACH,cAHY,MAAM,CAoBjB;IAkBC,yBAA6C;IAM/C;;;;;;;;OAQG;IACH,uBANW,UAAU,cAEV,OAAO,QA4DjB;IA0DD;;OAEG;IACH,oBAEC;IAED;;OAEG;IACH,iBAEC;IAED;;;;;;;OAOG;IACH,oBAJW,aAAa,QAUvB;IA6DD,gBAkBC;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/time-tooltip.d.ts b/priv/static/video.js/types/control-bar/progress-control/time-tooltip.d.ts new file mode 100644 index 0000000..a51deab --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/time-tooltip.d.ts @@ -0,0 +1,63 @@ +export default TimeTooltip; +/** + * Time tooltips display a time above the progress bar. + * + * @extends Component + */ +declare class TimeTooltip extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The {@link Player} that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * Updates the position of the time tooltip relative to the `SeekBar`. + * + * @param {Object} seekBarRect + * The `ClientRect` for the {@link SeekBar} element. + * + * @param {number} seekBarPoint + * A number from 0 to 1, representing a horizontal reference point + * from the left edge of the {@link SeekBar} + */ + update(seekBarRect: any, seekBarPoint: number, content: any): void; + /** + * Create the time tooltip DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + /** + * Write the time to the tooltip DOM element. + * + * @param {string} content + * The formatted time for the tooltip. + */ + write(content: string): void; + /** + * Updates the position of the time tooltip relative to the `SeekBar`. + * + * @param {Object} seekBarRect + * The `ClientRect` for the {@link SeekBar} element. + * + * @param {number} seekBarPoint + * A number from 0 to 1, representing a horizontal reference point + * from the left edge of the {@link SeekBar} + * + * @param {number} time + * The time to update the tooltip to, not used during live playback + * + * @param {Function} cb + * A function that will be called during the request animation frame + * for tooltips that need to do additional animations from the default + */ + updateTime(seekBarRect: any, seekBarPoint: number, time: number, cb: Function): void; +} +import Component from "../../component"; +//# sourceMappingURL=time-tooltip.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/progress-control/time-tooltip.d.ts.map b/priv/static/video.js/types/control-bar/progress-control/time-tooltip.d.ts.map new file mode 100644 index 0000000..a3b13da --- /dev/null +++ b/priv/static/video.js/types/control-bar/progress-control/time-tooltip.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"time-tooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/progress-control/time-tooltip.js"],"names":[],"mappings":";AAQA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBASzC;IAgBD;;;;;;;;;OASG;IACH,uCAJW,MAAM,sBAkEhB;IAtFD;;;;;OAKG;IACH,YAHY,OAAO,CASlB;IA4ED;;;;;OAKG;IACH,eAHW,MAAM,QAKhB;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,2CAXW,MAAM,QAIN,MAAM,sBA0BhB;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/seek-to-live.d.ts b/priv/static/video.js/types/control-bar/seek-to-live.d.ts new file mode 100644 index 0000000..b816cc8 --- /dev/null +++ b/priv/static/video.js/types/control-bar/seek-to-live.d.ts @@ -0,0 +1,51 @@ +export default SeekToLive; +/** + * Displays the live indicator when duration is Infinity. + * + * @extends Component + */ +declare class SeekToLive extends Component { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: any, options?: any); + updateLiveEdgeStatusHandler_: (e: any) => void; + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + textEl_: Element; + /** + * Update the state of this button if we are at the live edge + * or not + */ + updateLiveEdgeStatus(): void; + /** + * On click bring us as near to the live point as possible. + * This requires that we wait for the next `live-seekable-change` + * event which will happen every segment length seconds. + */ + handleClick(): void; + /** + * Dispose of the element and stop tracking + */ + dispose(): void; + /** + * The text that should display over the `SeekToLive`s control. Added for localization. + * + * @type {string} + * @protected + */ + protected controlText_: string; +} +import Component from "../component"; +//# sourceMappingURL=seek-to-live.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/seek-to-live.d.ts.map b/priv/static/video.js/types/control-bar/seek-to-live.d.ts.map new file mode 100644 index 0000000..f6c1056 --- /dev/null +++ b/priv/static/video.js/types/control-bar/seek-to-live.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"seek-to-live.d.ts","sourceRoot":"","sources":["../../../src/js/control-bar/seek-to-live.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,wCASC;IAHG,+CAAuE;IAK3E;;;;;OAKG;IACH,YAHY,OAAO,CAmBlB;IATC,iBAKE;IAMJ;;;OAGG;IACH,6BAWC;IAED;;;;OAIG;IACH,oBAEC;IAED;;OAEG;IACH,gBAOC;IAEH;;;;;OAKG;IACH,wBAHU,MAAM,CAGiB;CAPhC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/skip-buttons/skip-backward.d.ts b/priv/static/video.js/types/control-bar/skip-buttons/skip-backward.d.ts new file mode 100644 index 0000000..2bad1c0 --- /dev/null +++ b/priv/static/video.js/types/control-bar/skip-buttons/skip-backward.d.ts @@ -0,0 +1,29 @@ +export default SkipBackward; +/** + * Button to skip backward a configurable amount of time + * through a video. Renders in the control bar. + * + * * e.g. options: {controlBar: {skipButtons: backward: 5}} + * + * @extends Button + */ +declare class SkipBackward extends Button { + constructor(player: any, options: any); + validOptions: number[]; + skipTime: any; + getSkipBackwardTime(): any; + /** + * On click, skips backward in the video by a configurable amount of seconds. + * If the current time in the video is less than the configured 'skip backward' time, + * skips to beginning of video or seekable range. + * + * Handle a click on a `SkipBackward` button + * + * @param {EventTarget~Event} event + * The `click` event that caused this function + * to be called + */ + handleClick(event: any): void; +} +import Button from "../../button"; +//# sourceMappingURL=skip-backward.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/skip-buttons/skip-backward.d.ts.map b/priv/static/video.js/types/control-bar/skip-buttons/skip-backward.d.ts.map new file mode 100644 index 0000000..d353961 --- /dev/null +++ b/priv/static/video.js/types/control-bar/skip-buttons/skip-backward.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"skip-backward.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/skip-buttons/skip-backward.js"],"names":[],"mappings":";AAGA;;;;;;;GAOG;AACH;IACE,uCAaC;IAVC,uBAA+B;IAC/B,cAA0C;IAW5C,2BAIC;IAMD;;;;;;;;;;OAUG;IACH,8BAcC;CAQF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/skip-buttons/skip-forward.d.ts b/priv/static/video.js/types/control-bar/skip-buttons/skip-forward.d.ts new file mode 100644 index 0000000..4603784 --- /dev/null +++ b/priv/static/video.js/types/control-bar/skip-buttons/skip-forward.d.ts @@ -0,0 +1,29 @@ +export default SkipForward; +/** + * Button to skip forward a configurable amount of time + * through a video. Renders in the control bar. + * + * e.g. options: {controlBar: {skipButtons: forward: 5}} + * + * @extends Button + */ +declare class SkipForward extends Button { + constructor(player: any, options: any); + validOptions: number[]; + skipTime: any; + getSkipForwardTime(): any; + /** + * On click, skips forward in the duration/seekable range by a configurable amount of seconds. + * If the time left in the duration/seekable range is less than the configured 'skip forward' time, + * skips to end of duration/seekable range. + * + * Handle a click on a `SkipForward` button + * + * @param {EventTarget~Event} event + * The `click` event that caused this function + * to be called + */ + handleClick(event: any): void; +} +import Button from "../../button"; +//# sourceMappingURL=skip-forward.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/skip-buttons/skip-forward.d.ts.map b/priv/static/video.js/types/control-bar/skip-buttons/skip-forward.d.ts.map new file mode 100644 index 0000000..11f44eb --- /dev/null +++ b/priv/static/video.js/types/control-bar/skip-buttons/skip-forward.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"skip-forward.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/skip-buttons/skip-forward.js"],"names":[],"mappings":";AAGA;;;;;;;GAOG;AACH;IACE,uCAaC;IAVC,uBAA+B;IAC/B,cAAyC;IAW3C,0BAIC;IAMD;;;;;;;;;;OAUG;IACH,8BAiBC;CAQF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/spacer-controls/custom-control-spacer.d.ts b/priv/static/video.js/types/control-bar/spacer-controls/custom-control-spacer.d.ts new file mode 100644 index 0000000..0d5ed67 --- /dev/null +++ b/priv/static/video.js/types/control-bar/spacer-controls/custom-control-spacer.d.ts @@ -0,0 +1,17 @@ +export default CustomControlSpacer; +/** + * Spacer specifically meant to be used as an insertion point for new plugins, etc. + * + * @extends Spacer + */ +declare class CustomControlSpacer extends Spacer { + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; +} +import Spacer from "./spacer.js"; +//# sourceMappingURL=custom-control-spacer.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/spacer-controls/custom-control-spacer.d.ts.map b/priv/static/video.js/types/control-bar/spacer-controls/custom-control-spacer.d.ts.map new file mode 100644 index 0000000..0215cfd --- /dev/null +++ b/priv/static/video.js/types/control-bar/spacer-controls/custom-control-spacer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"custom-control-spacer.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/spacer-controls/custom-control-spacer.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAYE;;;;;OAKG;IACH,YAHY,OAAO,CAUlB;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/spacer-controls/spacer.d.ts b/priv/static/video.js/types/control-bar/spacer-controls/spacer.d.ts new file mode 100644 index 0000000..93e21e0 --- /dev/null +++ b/priv/static/video.js/types/control-bar/spacer-controls/spacer.d.ts @@ -0,0 +1,18 @@ +export default Spacer; +/** + * Just an empty spacer element that can be used as an append point for plugins, etc. + * Also can be used to create space between elements when necessary. + * + * @extends Component + */ +declare class Spacer extends Component { + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(tag?: string, props?: {}, attributes?: {}): Element; +} +import Component from "../../component.js"; +//# sourceMappingURL=spacer.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/spacer-controls/spacer.d.ts.map b/priv/static/video.js/types/control-bar/spacer-controls/spacer.d.ts.map new file mode 100644 index 0000000..5b1d1f9 --- /dev/null +++ b/priv/static/video.js/types/control-bar/spacer-controls/spacer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"spacer.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/spacer-controls/spacer.js"],"names":[],"mappings":";AAKA;;;;;GAKG;AACH;IAYE;;;;;OAKG;IACH,qDAHY,OAAO,CASlB;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/caption-settings-menu-item.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/caption-settings-menu-item.d.ts new file mode 100644 index 0000000..c352027 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/caption-settings-menu-item.d.ts @@ -0,0 +1,22 @@ +export default CaptionSettingsMenuItem; +/** + * The menu item for caption track settings menu + * + * @extends TextTrackMenuItem + */ +declare class CaptionSettingsMenuItem extends TextTrackMenuItem { + /** + * This gets called when an `CaptionSettingsMenuItem` is "clicked". See + * {@link ClickableComponent} for more detailed information on what a click can be. + * + * @param {Event} [event] + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event?: Event): void; +} +import TextTrackMenuItem from "./text-track-menu-item.js"; +//# sourceMappingURL=caption-settings-menu-item.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/caption-settings-menu-item.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/caption-settings-menu-item.d.ts.map new file mode 100644 index 0000000..0b5dee0 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/caption-settings-menu-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"caption-settings-menu-item.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/caption-settings-menu-item.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IA+BE;;;;;;;;;;OAUG;IACH,oBAPW,KAAK,QASf;CAUF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/captions-button.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/captions-button.d.ts new file mode 100644 index 0000000..abbd644 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/captions-button.d.ts @@ -0,0 +1,53 @@ +export default CaptionsButton; +/** + * The button component for toggling and selecting captions + * + * @extends TextTrackButton + */ +declare class CaptionsButton extends TextTrackButton { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + * + * @param {Function} [ready] + * The function to call when this component is ready. + */ + constructor(player: import('../../player').default, options?: any, ready?: Function); + /** + * Builds the default DOM `className`. + * + * @return {string} + * The DOM `className` for this object. + */ + buildCSSClass(): string; + buildWrapperCSSClass(): string; + /** + * Create caption menu items + * + * @return {CaptionSettingsMenuItem[]} + * The array of current menu items. + */ + createItems(): CaptionSettingsMenuItem[]; + /** + * `kind` of TextTrack to look for to associate it with this menu. + * + * @type {string} + * @private + */ + private kind_; + /** + * The text that should display over the `CaptionsButton`s controls. Added for localization. + * + * @type {string} + * @protected + */ + protected controlText_: string; +} +import TextTrackButton from "./text-track-button.js"; +import CaptionSettingsMenuItem from "./caption-settings-menu-item.js"; +//# sourceMappingURL=captions-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/captions-button.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/captions-button.d.ts.map new file mode 100644 index 0000000..dfa4818 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/captions-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"captions-button.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/captions-button.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAEE;;;;;;;;;;;OAWG;IACH,oBATY,OAAO,cAAc,EAAE,OAAO,mCAazC;IAED;;;;;OAKG;IACH,iBAHY,MAAM,CAKjB;IAED,+BAEC;IAED;;;;;OAKG;IACH,eAHY,uBAAuB,EAAE,CAcpC;IAIH;;;;;OAKG;IACH,cAA8B;IAE9B;;;;;OAKG;IACH,wBAHU,MAAM,CAGqB;CAhBpC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/chapters-button.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/chapters-button.d.ts new file mode 100644 index 0000000..6db1762 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/chapters-button.d.ts @@ -0,0 +1,98 @@ +export default ChaptersButton; +/** + * The button component for toggling and selecting chapters + * Chapters act much differently than other text tracks + * Cues are navigation vs. other tracks of alternative languages + * + * @extends TextTrackButton + */ +declare class ChaptersButton extends TextTrackButton { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + * + * @param {Function} [ready] + * The function to call when this function is ready. + */ + constructor(player: import('../../player').default, options?: any, ready?: Function); + selectCurrentItem_: () => void; + /** + * Builds the default DOM `className`. + * + * @return {string} + * The DOM `className` for this object. + */ + buildCSSClass(): string; + buildWrapperCSSClass(): string; + /** + * Update the menu based on the current state of its items. + * + * @param {Event} [event] + * An event that triggered this function to run. + * + * @listens TextTrackList#addtrack + * @listens TextTrackList#removetrack + * @listens TextTrackList#change + */ + update(event?: Event): void; + /** + * Set the currently selected track for the chapters button. + * + * @param {TextTrack} track + * The new track to select. Nothing will change if this is the currently selected + * track. + */ + setTrack(track: TextTrack): void; + updateHandler_: any; + track_: any; + /** + * Find the track object that is currently in use by this ChaptersButton + * + * @return {TextTrack|undefined} + * The current track or undefined if none was found. + */ + findChaptersTrack(): TextTrack | undefined; + /** + * Get the caption for the ChaptersButton based on the track label. This will also + * use the current tracks localized kind as a fallback if a label does not exist. + * + * @return {string} + * The tracks current label or the localized track kind. + */ + getMenuCaption(): string; + /** + * Create menu from chapter track + * + * @return { import('../../menu/menu').default } + * New menu for the chapter buttons + */ + createMenu(): import('../../menu/menu').default; + /** + * Create a menu item for each text track + * + * @return { import('./text-track-menu-item').default[] } + * Array of menu items + */ + createItems(): import('./text-track-menu-item').default[]; + /** + * `kind` of TextTrack to look for to associate it with this menu. + * + * @type {string} + * @private + */ + private kind_; + /** + * The text that should display over the `ChaptersButton`s controls. Added for localization. + * + * @type {string} + * @protected + */ + protected controlText_: string; +} +import TextTrackButton from "./text-track-button.js"; +//# sourceMappingURL=chapters-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/chapters-button.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/chapters-button.d.ts.map new file mode 100644 index 0000000..e03edfb --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/chapters-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"chapters-button.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/chapters-button.js"],"names":[],"mappings":";AAQA;;;;;;GAMG;AACH;IAEE;;;;;;;;;;;OAWG;IACH,oBATY,OAAO,cAAc,EAAE,OAAO,mCAmBzC;IALC,+BAIC;IAGH;;;;;OAKG;IACH,iBAHY,MAAM,CAKjB;IAED,+BAEC;IAED;;;;;;;;;OASG;IACH,eAPW,KAAK,QAqBf;IAED;;;;;;OAMG;IACH,gBAJW,SAAS,QAwCnB;IA9BG,oBAA4C;IAa5C,YAAkB;IAmBtB;;;;;OAKG;IACH,qBAHY,SAAS,GAAC,SAAS,CAc9B;IAED;;;;;;OAMG;IACH,kBAHY,MAAM,CAQjB;IAED;;;;;OAKG;IACH,cAHa,OAAO,iBAAiB,EAAE,OAAO,CAM7C;IAED;;;;;OAKG;IACH,eAHc,OAAO,wBAAwB,EAAE,OAAO,EAAE,CAwBvD;IAIH;;;;;OAKG;IACH,cAA8B;IAE9B;;;;;OAKG;IACH,wBAHU,MAAM,CAGqB;CAhBpC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/chapters-track-menu-item.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/chapters-track-menu-item.d.ts new file mode 100644 index 0000000..a4d5f89 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/chapters-track-menu-item.d.ts @@ -0,0 +1,24 @@ +export default ChaptersTrackMenuItem; +/** + * The chapter track menu item + * + * @extends MenuItem + */ +declare class ChaptersTrackMenuItem extends MenuItem { + track: any; + cue: any; + /** + * This gets called when an `ChaptersTrackMenuItem` is "clicked". See + * {@link ClickableComponent} for more detailed information on what a click can be. + * + * @param {Event} [event] + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event?: Event): void; +} +import MenuItem from "../../menu/menu-item.js"; +//# sourceMappingURL=chapters-track-menu-item.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/chapters-track-menu-item.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/chapters-track-menu-item.d.ts.map new file mode 100644 index 0000000..9d5eefd --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/chapters-track-menu-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"chapters-track-menu-item.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/chapters-track-menu-item.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAuBI,WAAkB;IAClB,SAAc;IAGhB;;;;;;;;;;OAUG;IACH,oBAPW,KAAK,QAUf;CAEF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/descriptions-button.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/descriptions-button.d.ts new file mode 100644 index 0000000..45e3818 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/descriptions-button.d.ts @@ -0,0 +1,54 @@ +export default DescriptionsButton; +/** + * The button component for toggling and selecting descriptions + * + * @extends TextTrackButton + */ +declare class DescriptionsButton extends TextTrackButton { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + * + * @param {Function} [ready] + * The function to call when this component is ready. + */ + constructor(player: import('../../player').default, options?: any, ready?: Function); + /** + * Handle text track change + * + * @param {Event} event + * The event that caused this function to run + * + * @listens TextTrackList#change + */ + handleTracksChange(event: Event): void; + /** + * Builds the default DOM `className`. + * + * @return {string} + * The DOM `className` for this object. + */ + buildCSSClass(): string; + buildWrapperCSSClass(): string; + /** + * `kind` of TextTrack to look for to associate it with this menu. + * + * @type {string} + * @private + */ + private kind_; + /** + * The text that should display over the `DescriptionsButton`s controls. Added for localization. + * + * @type {string} + * @protected + */ + protected controlText_: string; +} +import TextTrackButton from "./text-track-button.js"; +//# sourceMappingURL=descriptions-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/descriptions-button.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/descriptions-button.d.ts.map new file mode 100644 index 0000000..25a6f7a --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/descriptions-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"descriptions-button.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/descriptions-button.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAEE;;;;;;;;;;;OAWG;IACH,oBATY,OAAO,cAAc,EAAE,OAAO,mCAqBzC;IAED;;;;;;;OAOG;IACH,0BALW,KAAK,QAyBf;IAED;;;;;OAKG;IACH,iBAHY,MAAM,CAKjB;IAED,+BAEC;IAGH;;;;;OAKG;IACH,cAAkC;IAElC;;;;;OAKG;IACH,wBAHU,MAAM,CAGyB;CAhBxC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/off-text-track-menu-item.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/off-text-track-menu-item.d.ts new file mode 100644 index 0000000..d8fb96e --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/off-text-track-menu-item.d.ts @@ -0,0 +1,10 @@ +export default OffTextTrackMenuItem; +/** + * A special menu item for turning off a specific type of text track + * + * @extends TextTrackMenuItem + */ +declare class OffTextTrackMenuItem extends TextTrackMenuItem { +} +import TextTrackMenuItem from "./text-track-menu-item.js"; +//# sourceMappingURL=off-text-track-menu-item.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/off-text-track-menu-item.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/off-text-track-menu-item.d.ts.map new file mode 100644 index 0000000..6ee2105 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/off-text-track-menu-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"off-text-track-menu-item.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/off-text-track-menu-item.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;CAkGC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-button.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-button.d.ts new file mode 100644 index 0000000..4562c61 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-button.d.ts @@ -0,0 +1,35 @@ +export default SubsCapsButton; +/** + * The button component for toggling and selecting captions and/or subtitles + * + * @extends TextTrackButton + */ +declare class SubsCapsButton extends TextTrackButton { + label_: string; + /** + * Builds the default DOM `className`. + * + * @return {string} + * The DOM `className` for this object. + */ + buildCSSClass(): string; + buildWrapperCSSClass(): string; + /** + * Create caption/subtitles menu items + * + * @return {CaptionSettingsMenuItem[]} + * The array of current menu items. + */ + createItems(): CaptionSettingsMenuItem[]; + /** + * The text that should display over the `SubsCapsButton`s controls. + * + * + * @type {string} + * @protected + */ + protected controlText_: string; +} +import TextTrackButton from "./text-track-button.js"; +import CaptionSettingsMenuItem from "./caption-settings-menu-item.js"; +//# sourceMappingURL=subs-caps-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-button.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-button.d.ts.map new file mode 100644 index 0000000..e70e112 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"subs-caps-button.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/subs-caps-button.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH;IAmBI,eAAyB;IAS3B;;;;;OAKG;IACH,iBAHY,MAAM,CAKjB;IAED,+BAEC;IAED;;;;;OAKG;IACH,eAHY,uBAAuB,EAAE,CAepC;IAYH;;;;;;OAMG;IACH,wBAHU,MAAM,CAGqB;CAjBpC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-menu-item.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-menu-item.d.ts new file mode 100644 index 0000000..25aade9 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-menu-item.d.ts @@ -0,0 +1,12 @@ +export default SubsCapsMenuItem; +/** + * SubsCapsMenuItem has an [cc] icon to distinguish captions from subtitles + * in the SubsCapsMenu. + * + * @extends TextTrackMenuItem + */ +declare class SubsCapsMenuItem extends TextTrackMenuItem { + createEl(type: any, props: any, attrs: any): Element; +} +import TextTrackMenuItem from "./text-track-menu-item.js"; +//# sourceMappingURL=subs-caps-menu-item.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-menu-item.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-menu-item.d.ts.map new file mode 100644 index 0000000..98ae51b --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/subs-caps-menu-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"subs-caps-menu-item.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/subs-caps-menu-item.js"],"names":[],"mappings":";AAOA;;;;;GAKG;AACH;IAEE,qDAuBC;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/subtitles-button.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/subtitles-button.d.ts new file mode 100644 index 0000000..8800b12 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/subtitles-button.d.ts @@ -0,0 +1,45 @@ +export default SubtitlesButton; +/** + * The button component for toggling and selecting subtitles + * + * @extends TextTrackButton + */ +declare class SubtitlesButton extends TextTrackButton { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + * + * @param {Function} [ready] + * The function to call when this component is ready. + */ + constructor(player: import('../../player').default, options?: any, ready?: Function); + /** + * Builds the default DOM `className`. + * + * @return {string} + * The DOM `className` for this object. + */ + buildCSSClass(): string; + buildWrapperCSSClass(): string; + /** + * `kind` of TextTrack to look for to associate it with this menu. + * + * @type {string} + * @private + */ + private kind_; + /** + * The text that should display over the `SubtitlesButton`s controls. Added for localization. + * + * @type {string} + * @protected + */ + protected controlText_: string; +} +import TextTrackButton from "./text-track-button.js"; +//# sourceMappingURL=subtitles-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/subtitles-button.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/subtitles-button.d.ts.map new file mode 100644 index 0000000..252502f --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/subtitles-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"subtitles-button.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/subtitles-button.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAEE;;;;;;;;;;;OAWG;IACH,oBATY,OAAO,cAAc,EAAE,OAAO,mCAazC;IAED;;;;;OAKG;IACH,iBAHY,MAAM,CAKjB;IAED,+BAEC;IAGH;;;;;OAKG;IACH,cAA+B;IAE/B;;;;;OAKG;IACH,wBAHU,MAAM,CAGsB;CAhBrC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/text-track-button.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/text-track-button.d.ts new file mode 100644 index 0000000..7cb6de8 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/text-track-button.d.ts @@ -0,0 +1,31 @@ +export default TextTrackButton; +/** + * The base class for buttons that toggle specific text track types (e.g. subtitles) + * + * @extends MenuButton + */ +declare class TextTrackButton { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options={}] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * Create a menu item for each text track + * + * @param {TextTrackMenuItem[]} [items=[]] + * Existing array of items to use during creation + * + * @return {TextTrackMenuItem[]} + * Array of menu items that were created + */ + createItems(items?: TextTrackMenuItem[], TrackMenuItem?: typeof TextTrackMenuItem): TextTrackMenuItem[]; + kinds_: any[]; +} +import TextTrackMenuItem from "./text-track-menu-item.js"; +//# sourceMappingURL=text-track-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/text-track-button.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/text-track-button.d.ts.map new file mode 100644 index 0000000..e2e9163 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/text-track-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"text-track-button.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/text-track-button.js"],"names":[],"mappings":";AAQA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBAUzC;IAED;;;;;;;;OAQG;IACH,oBANW,iBAAiB,EAAE,6CAGlB,iBAAiB,EAAE,CAiD9B;IAzBG,cAA0B;CA2B/B"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/text-track-menu-item.d.ts b/priv/static/video.js/types/control-bar/text-track-controls/text-track-menu-item.d.ts new file mode 100644 index 0000000..ed93745 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/text-track-menu-item.d.ts @@ -0,0 +1,22 @@ +export default TextTrackMenuItem; +/** + * The specific menu item type for selecting a language within a text track kind + * + * @extends MenuItem + */ +declare class TextTrackMenuItem extends MenuItem { + track: any; + kinds: any; + /** + * Handle text track list change + * + * @param {Event} event + * The `change` event that caused this function to be called. + * + * @listens TextTrackList#change + */ + handleTracksChange(event: Event): void; + handleSelectedLanguageChange(event: any): void; +} +import MenuItem from "../../menu/menu-item.js"; +//# sourceMappingURL=text-track-menu-item.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/text-track-controls/text-track-menu-item.d.ts.map b/priv/static/video.js/types/control-bar/text-track-controls/text-track-menu-item.d.ts.map new file mode 100644 index 0000000..7530ed2 --- /dev/null +++ b/priv/static/video.js/types/control-bar/text-track-controls/text-track-menu-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"text-track-menu-item.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/text-track-controls/text-track-menu-item.js"],"names":[],"mappings":";AAQA;;;;GAIG;AACH;IAqBI,WAAkB;IAGlB,WAAiF;IA+FnF;;;;;;;OAOG;IACH,0BALW,KAAK,QAaf;IAED,+CAiBC;CASF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/current-time-display.d.ts b/priv/static/video.js/types/control-bar/time-controls/current-time-display.d.ts new file mode 100644 index 0000000..3d87a73 --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/current-time-display.d.ts @@ -0,0 +1,35 @@ +export default CurrentTimeDisplay; +/** + * Displays the current time + * + * @extends Component + */ +declare class CurrentTimeDisplay extends Component { + /** + * Update current time display + * + * @param {Event} [event] + * The `timeupdate` event that caused this function to run. + * + * @listens Player#timeupdate + */ + updateContent(event?: Event): void; + /** + * The text that is added to the `CurrentTimeDisplay` for screen reader users. + * + * @type {string} + * @private + */ + private labelText_; + /** + * The text that should display over the `CurrentTimeDisplay`s controls. Added to for localization. + * + * @type {string} + * @protected + * + * @deprecated in v7; controlText_ is not used in non-active display Components + */ + protected controlText_: string; +} +import Component from "../../component.js"; +//# sourceMappingURL=current-time-display.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/current-time-display.d.ts.map b/priv/static/video.js/types/control-bar/time-controls/current-time-display.d.ts.map new file mode 100644 index 0000000..d382f26 --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/current-time-display.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"current-time-display.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/time-controls/current-time-display.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAYE;;;;;;;OAOG;IACH,sBALW,KAAK,QAgBf;IAGH;;;;;OAKG;IACH,mBAAuC;IAEvC;;;;;;;OAOG;IACH,wBALU,MAAM,CAKyB;CAlBxC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/duration-display.d.ts b/priv/static/video.js/types/control-bar/time-controls/duration-display.d.ts new file mode 100644 index 0000000..b949d03 --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/duration-display.d.ts @@ -0,0 +1,48 @@ +export default DurationDisplay; +/** + * Displays the duration + * + * @extends Component + */ +declare class DurationDisplay extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * Update duration time display. + * + * @param {Event} [event] + * The `durationchange`, `timeupdate`, or `loadedmetadata` event that caused + * this function to be called. + * + * @listens Player#durationchange + * @listens Player#timeupdate + * @listens Player#loadedmetadata + */ + updateContent(event?: Event): void; + /** + * The text that is added to the `DurationDisplay` for screen reader users. + * + * @type {string} + * @private + */ + private labelText_; + /** + * The text that should display over the `DurationDisplay`s controls. Added to for localization. + * + * @type {string} + * @protected + * + * @deprecated in v7; controlText_ is not used in non-active display Components + */ + protected controlText_: string; +} +import Component from "../../component.js"; +//# sourceMappingURL=duration-display.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/duration-display.d.ts.map b/priv/static/video.js/types/control-bar/time-controls/duration-display.d.ts.map new file mode 100644 index 0000000..49edf6e --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/duration-display.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"duration-display.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/time-controls/duration-display.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBAyBzC;IAYD;;;;;;;;;;OAUG;IACH,sBARW,KAAK,QAYf;IAGH;;;;;OAKG;IACH,mBAAoC;IAEpC;;;;;;;OAOG;IACH,wBALU,MAAM,CAKsB;CAlBrC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/remaining-time-display.d.ts b/priv/static/video.js/types/control-bar/time-controls/remaining-time-display.d.ts new file mode 100644 index 0000000..ed2a3ca --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/remaining-time-display.d.ts @@ -0,0 +1,53 @@ +export default RemainingTimeDisplay; +/** + * Displays the time left in the video + * + * @extends Component + */ +declare class RemainingTimeDisplay extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * Create the `Component`'s DOM element with the "minus" character prepend to the time + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + /** + * Update remaining time display. + * + * @param {Event} [event] + * The `timeupdate` or `durationchange` event that caused this to run. + * + * @listens Player#timeupdate + * @listens Player#durationchange + */ + updateContent(event?: Event): void; + /** + * The text that is added to the `RemainingTimeDisplay` for screen reader users. + * + * @type {string} + * @private + */ + private labelText_; + /** + * The text that should display over the `RemainingTimeDisplay`s controls. Added to for localization. + * + * @type {string} + * @protected + * + * @deprecated in v7; controlText_ is not used in non-active display Components + */ + protected controlText_: string; +} +import Component from "../../component.js"; +//# sourceMappingURL=remaining-time-display.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/remaining-time-display.d.ts.map b/priv/static/video.js/types/control-bar/time-controls/remaining-time-display.d.ts.map new file mode 100644 index 0000000..ee8465b --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/remaining-time-display.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"remaining-time-display.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/time-controls/remaining-time-display.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBASzC;IAYD;;;;;OAKG;IACH,YAHY,OAAO,CAUlB;IAED;;;;;;;;OAQG;IACH,sBANW,KAAK,QAwBf;IAGH;;;;;OAKG;IACH,mBAAyC;IAEzC;;;;;;;OAOG;IACH,wBALU,MAAM,CAK2B;CAlB1C"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/time-display.d.ts b/priv/static/video.js/types/control-bar/time-controls/time-display.d.ts new file mode 100644 index 0000000..decacdd --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/time-display.d.ts @@ -0,0 +1,72 @@ +export default TimeDisplay; +/** + * Displays time information about the video + * + * @extends Component + */ +declare class TimeDisplay extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + contentEl_: Element; + dispose(): void; + textNode_: any; + /** + * Updates the displayed time according to the `updateContent` function which is defined in the child class. + * + * @param {Event} [event] + * The `timeupdate`, `ended` or `seeking` (if enableSmoothSeeking is true) event that caused this function to be called. + */ + update(event?: Event): void; + /** + * Updates the time display text node with a new time + * + * @param {number} [time=0] the time to update to + * + * @private + */ + private updateTextNode_; + formattedTime_: any; + /** + * To be filled out in the child class, should update the displayed time + * in accordance with the fact that the current time has changed. + * + * @param {Event} [event] + * The `timeupdate` event that caused this to run. + * + * @listens Player#timeupdate + */ + updateContent(event?: Event): void; + /** + * The text that is added to the `TimeDisplay` for screen reader users. + * + * @type {string} + * @private + */ + private labelText_; + /** + * The text that should display over the `TimeDisplay`s controls. Added to for localization. + * + * @type {string} + * @protected + * + * @deprecated in v7; controlText_ is not used in non-active display Components + */ + protected controlText_: string; +} +import Component from "../../component.js"; +//# sourceMappingURL=time-display.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/time-display.d.ts.map b/priv/static/video.js/types/control-bar/time-controls/time-display.d.ts.map new file mode 100644 index 0000000..5273ec2 --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/time-display.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"time-display.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/time-controls/time-display.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBAWzC;IAED;;;;;OAKG;IACH,YAHY,OAAO,CA6BlB;IAZC,oBAQE;IAMJ,gBAKC;IAHC,eAAqB;IAKvB;;;;;OAKG;IACH,eAHW,KAAK,QASf;IAED;;;;;;OAMG;IACH,wBAkCC;IA3BC,oBAA0B;IA6B5B;;;;;;;;OAQG;IACH,sBALW,KAAK,QAKO;IAGzB;;;;;OAKG;IACH,mBAAgC;IAEhC;;;;;;;OAOG;IACH,wBALU,MAAM,CAKkB;CAlBjC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/time-divider.d.ts b/priv/static/video.js/types/control-bar/time-controls/time-divider.d.ts new file mode 100644 index 0000000..26eda6d --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/time-divider.d.ts @@ -0,0 +1,18 @@ +export default TimeDivider; +/** + * The separator between the current time and duration. + * Can be hidden if it's not needed in the design. + * + * @extends Component + */ +declare class TimeDivider extends Component { + /** + * Create the component's DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; +} +import Component from "../../component.js"; +//# sourceMappingURL=time-divider.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/time-controls/time-divider.d.ts.map b/priv/static/video.js/types/control-bar/time-controls/time-divider.d.ts.map new file mode 100644 index 0000000..33d39cb --- /dev/null +++ b/priv/static/video.js/types/control-bar/time-controls/time-divider.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"time-divider.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/time-controls/time-divider.js"],"names":[],"mappings":";AAKA;;;;;GAKG;AACH;IAEE;;;;;OAKG;IACH,YAHY,OAAO,CAsBlB;CAEF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/track-button.d.ts b/priv/static/video.js/types/control-bar/track-button.d.ts new file mode 100644 index 0000000..5894587 --- /dev/null +++ b/priv/static/video.js/types/control-bar/track-button.d.ts @@ -0,0 +1,20 @@ +export default TrackButton; +/** + * The base class for buttons that toggle specific track types (e.g. subtitles). + * + * @extends MenuButton + */ +declare class TrackButton extends MenuButton { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: any, options?: any); +} +import MenuButton from "../menu/menu-button.js"; +//# sourceMappingURL=track-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/track-button.d.ts.map b/priv/static/video.js/types/control-bar/track-button.d.ts.map new file mode 100644 index 0000000..fe723b3 --- /dev/null +++ b/priv/static/video.js/types/control-bar/track-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"track-button.d.ts","sourceRoot":"","sources":["../../../src/js/control-bar/track-button.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,wCAyBC;CAEF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/check-mute-support.d.ts b/priv/static/video.js/types/control-bar/volume-control/check-mute-support.d.ts new file mode 100644 index 0000000..b3469af --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/check-mute-support.d.ts @@ -0,0 +1,15 @@ +export default checkMuteSupport; +/** + * Check if muting volume is supported and if it isn't hide the mute toggle + * button. + * + * @param { import('../../component').default } self + * A reference to the mute toggle button + * + * @param { import('../../player').default } player + * A reference to the player + * + * @private + */ +declare function checkMuteSupport(self: import('../../component').default, player: import('../../player').default): void; +//# sourceMappingURL=check-mute-support.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/check-mute-support.d.ts.map b/priv/static/video.js/types/control-bar/volume-control/check-mute-support.d.ts.map new file mode 100644 index 0000000..05df133 --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/check-mute-support.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"check-mute-support.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/volume-control/check-mute-support.js"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;AACH,wCARY,OAAO,iBAAiB,EAAE,OAAO,UAGjC,OAAO,cAAc,EAAE,OAAO,QAkBzC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/check-volume-support.d.ts b/priv/static/video.js/types/control-bar/volume-control/check-volume-support.d.ts new file mode 100644 index 0000000..4989e4c --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/check-volume-support.d.ts @@ -0,0 +1,15 @@ +export default checkVolumeSupport; +/** + * Check if volume control is supported and if it isn't hide the + * `Component` that was passed using the `vjs-hidden` class. + * + * @param { import('../../component').default } self + * The component that should be hidden if volume is unsupported + * + * @param { import('../../player').default } player + * A reference to the player + * + * @private + */ +declare function checkVolumeSupport(self: import('../../component').default, player: import('../../player').default): void; +//# sourceMappingURL=check-volume-support.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/check-volume-support.d.ts.map b/priv/static/video.js/types/control-bar/volume-control/check-volume-support.d.ts.map new file mode 100644 index 0000000..09f941d --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/check-volume-support.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"check-volume-support.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/volume-control/check-volume-support.js"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;AACH,0CARY,OAAO,iBAAiB,EAAE,OAAO,UAGjC,OAAO,cAAc,EAAE,OAAO,QAkBzC"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/mouse-volume-level-display.d.ts b/priv/static/video.js/types/control-bar/volume-control/mouse-volume-level-display.d.ts new file mode 100644 index 0000000..0d9bee4 --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/mouse-volume-level-display.d.ts @@ -0,0 +1,47 @@ +export default MouseVolumeLevelDisplay; +/** + * The {@link MouseVolumeLevelDisplay} component tracks mouse movement over the + * {@link VolumeControl}. It displays an indicator and a {@link VolumeLevelTooltip} + * indicating the volume level which is represented by a given point in the + * {@link VolumeBar}. + * + * @extends Component + */ +declare class MouseVolumeLevelDisplay extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The {@link Player} that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * Enquires updates to its own DOM as well as the DOM of its + * {@link VolumeLevelTooltip} child. + * + * @param {Object} rangeBarRect + * The `ClientRect` for the {@link VolumeBar} element. + * + * @param {number} rangeBarPoint + * A number from 0 to 1, representing a horizontal/vertical reference point + * from the left edge of the {@link VolumeBar} + * + * @param {boolean} vertical + * Referees to the Volume control position + * in the control bar{@link VolumeControl} + * + */ + update(rangeBarRect: any, rangeBarPoint: number, vertical: boolean): void; + /** + * Create the DOM element for this class. + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; +} +import Component from "../../component.js"; +//# sourceMappingURL=mouse-volume-level-display.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/mouse-volume-level-display.d.ts.map b/priv/static/video.js/types/control-bar/volume-control/mouse-volume-level-display.d.ts.map new file mode 100644 index 0000000..13dd6f9 --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/mouse-volume-level-display.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mouse-volume-level-display.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/volume-control/mouse-volume-level-display.js"],"names":[],"mappings":";AAQA;;;;;;;GAOG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBASzC;IAcD;;;;;;;;;;;;;;;OAeG;IACH,yCATW,MAAM,YAIN,OAAO,QAejB;IAtCD;;;;;OAKG;IACH,YAHY,OAAO,CAOlB;CA6BF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/volume-bar.d.ts b/priv/static/video.js/types/control-bar/volume-control/volume-bar.d.ts new file mode 100644 index 0000000..93686ce --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/volume-bar.d.ts @@ -0,0 +1,84 @@ +export default VolumeBar; +/** + * The bar that contains the volume level and can be clicked on to adjust the level + * + * @extends Slider + */ +declare class VolumeBar extends Slider { + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + /** + * Handle mouse down on volume bar + * + * @param {Event} event + * The `mousedown` event that caused this to run. + * + * @listens mousedown + */ + handleMouseDown(event: Event): void; + /** + * Handle movement events on the {@link VolumeMenuButton}. + * + * @param {Event} event + * The event that caused this function to run. + * + * @listens mousemove + */ + handleMouseMove(event: Event): void; + /** + * If the player is muted unmute it. + */ + checkMuted(): void; + /** + * Get percent of volume level + * + * @return {number} + * Volume level percent as a decimal number. + */ + getPercent(): number; + /** + * Increase volume level for keyboard users + */ + stepForward(): void; + /** + * Decrease volume level for keyboard users + */ + stepBack(): void; + /** + * Update ARIA accessibility attributes + * + * @param {Event} [event] + * The `volumechange` event that caused this function to run. + * + * @listens Player#volumechange + */ + updateARIAAttributes(event?: Event): void; + /** + * Returns the current value of the player volume as a percentage + * + * @private + */ + private volumeAsPercentage_; + /** + * When user starts dragging the VolumeBar, store the volume and listen for + * the end of the drag. When the drag ends, if the volume was set to zero, + * set lastVolume to the stored volume. + * + * @listens slideractive + * @private + */ + private updateLastVolume_; + /** + * Call the update event for this Slider when this event happens on the player. + * + * @type {string} + */ + playerEvent: string; +} +import Slider from "../../slider/slider.js"; +//# sourceMappingURL=volume-bar.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/volume-bar.d.ts.map b/priv/static/video.js/types/control-bar/volume-control/volume-bar.d.ts.map new file mode 100644 index 0000000..31161f1 --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/volume-bar.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"volume-bar.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/volume-control/volume-bar.js"],"names":[],"mappings":";AAaA;;;;GAIG;AACH;IAkBE;;;;;OAKG;IACH,YAHY,OAAO,CAUlB;IAED;;;;;;;OAOG;IACH,uBALW,KAAK,QAWf;IAED;;;;;;;OAOG;IACH,uBALW,KAAK,QA6Bf;IAED;;OAEG;IACH,mBAIC;IAED;;;;;OAKG;IACH,cAHY,MAAM,CAQjB;IAED;;OAEG;IACH,oBAGC;IAED;;OAEG;IACH,iBAGC;IAED;;;;;;;OAOG;IACH,6BALW,KAAK,QAUf;IAED;;;;OAIG;IACH,4BAEC;IAED;;;;;;;OAOG;IACH,0BAQC;IAsBH;;;;OAIG;IACH,aAFU,MAAM,CAEe;CAzB9B"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/volume-control.d.ts b/priv/static/video.js/types/control-bar/volume-control/volume-control.d.ts new file mode 100644 index 0000000..f5bae0c --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/volume-control.d.ts @@ -0,0 +1,59 @@ +export default VolumeControl; +/** + * The component for controlling the volume level + * + * @extends Component + */ +declare class VolumeControl extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options={}] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + throttledHandleMouseMove: Function; + handleMouseUpHandler_: (e: any) => void; + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + /** + * Handle `mousedown` or `touchstart` events on the `VolumeControl`. + * + * @param {Event} event + * `mousedown` or `touchstart` event that triggered this function + * + * @listens mousedown + * @listens touchstart + */ + handleMouseDown(event: Event): void; + /** + * Handle `mouseup` or `touchend` events on the `VolumeControl`. + * + * @param {Event} event + * `mouseup` or `touchend` event that triggered this function. + * + * @listens touchend + * @listens mouseup + */ + handleMouseUp(event: Event): void; + /** + * Handle `mousedown` or `touchstart` events on the `VolumeControl`. + * + * @param {Event} event + * `mousedown` or `touchstart` event that triggered this function + * + * @listens mousedown + * @listens touchstart + */ + handleMouseMove(event: Event): void; +} +import Component from "../../component.js"; +//# sourceMappingURL=volume-control.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/volume-control.d.ts.map b/priv/static/video.js/types/control-bar/volume-control/volume-control.d.ts.map new file mode 100644 index 0000000..3344a78 --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/volume-control.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"volume-control.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/volume-control/volume-control.js"],"names":[],"mappings":";AAWA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBAyCzC;IApBC,mCAAoG;IACpG,wCAAyD;IAqB3D;;;;;OAKG;IACH,YAHY,OAAO,CAalB;IAED;;;;;;;;OAQG;IACH,uBANW,KAAK,QAaf;IAED;;;;;;;;OAQG;IACH,qBANW,KAAK,QAaf;IAED;;;;;;;;OAQG;IACH,uBANW,KAAK,QAQf;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/volume-level-tooltip.d.ts b/priv/static/video.js/types/control-bar/volume-control/volume-level-tooltip.d.ts new file mode 100644 index 0000000..fc2dc9f --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/volume-level-tooltip.d.ts @@ -0,0 +1,73 @@ +export default VolumeLevelTooltip; +/** + * Volume level tooltips display a volume above or side by side the volume bar. + * + * @extends Component + */ +declare class VolumeLevelTooltip extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../../player').default } player + * The {@link Player} that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('../../player').default, options?: any); + /** + * Updates the position of the tooltip relative to the `VolumeBar` and + * its content text. + * + * @param {Object} rangeBarRect + * The `ClientRect` for the {@link VolumeBar} element. + * + * @param {number} rangeBarPoint + * A number from 0 to 1, representing a horizontal/vertical reference point + * from the left edge of the {@link VolumeBar} + * + * @param {boolean} vertical + * Referees to the Volume control position + * in the control bar{@link VolumeControl} + * + */ + update(rangeBarRect: any, rangeBarPoint: number, vertical: boolean, content: any): void; + /** + * Create the volume tooltip DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + /** + * Write the volume to the tooltip DOM element. + * + * @param {string} content + * The formatted volume for the tooltip. + */ + write(content: string): void; + /** + * Updates the position of the volume tooltip relative to the `VolumeBar`. + * + * @param {Object} rangeBarRect + * The `ClientRect` for the {@link VolumeBar} element. + * + * @param {number} rangeBarPoint + * A number from 0 to 1, representing a horizontal/vertical reference point + * from the left edge of the {@link VolumeBar} + * + * @param {boolean} vertical + * Referees to the Volume control position + * in the control bar{@link VolumeControl} + * + * @param {number} volume + * The volume level to update the tooltip to + * + * @param {Function} cb + * A function that will be called during the request animation frame + * for tooltips that need to do additional animations from the default + */ + updateVolume(rangeBarRect: any, rangeBarPoint: number, vertical: boolean, volume: number, cb: Function): void; +} +import Component from "../../component"; +//# sourceMappingURL=volume-level-tooltip.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/volume-level-tooltip.d.ts.map b/priv/static/video.js/types/control-bar/volume-control/volume-level-tooltip.d.ts.map new file mode 100644 index 0000000..517782d --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/volume-level-tooltip.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"volume-level-tooltip.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/volume-control/volume-level-tooltip.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,cAAc,EAAE,OAAO,iBASzC;IAgBD;;;;;;;;;;;;;;;OAeG;IACH,yCATW,MAAM,YAIN,OAAO,sBAmCjB;IA5DD;;;;;OAKG;IACH,YAHY,OAAO,CASlB;IAkDD;;;;;OAKG;IACH,eAHW,MAAM,QAKhB;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,+CAfW,MAAM,YAIN,OAAO,UAIP,MAAM,sBAchB;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/volume-level.d.ts b/priv/static/video.js/types/control-bar/volume-control/volume-level.d.ts new file mode 100644 index 0000000..c881813 --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/volume-level.d.ts @@ -0,0 +1,17 @@ +export default VolumeLevel; +/** + * Shows volume level + * + * @extends Component + */ +declare class VolumeLevel extends Component { + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; +} +import Component from "../../component.js"; +//# sourceMappingURL=volume-level.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-control/volume-level.d.ts.map b/priv/static/video.js/types/control-bar/volume-control/volume-level.d.ts.map new file mode 100644 index 0000000..a6b4995 --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-control/volume-level.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"volume-level.d.ts","sourceRoot":"","sources":["../../../../src/js/control-bar/volume-control/volume-level.js"],"names":[],"mappings":";AAKA;;;;GAIG;AACH;IAEE;;;;;OAKG;IACH,YAHY,OAAO,CAelB;CAEF"} \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-panel.d.ts b/priv/static/video.js/types/control-bar/volume-panel.d.ts new file mode 100644 index 0000000..3ea22b8 --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-panel.d.ts @@ -0,0 +1,97 @@ +export default VolumePanel; +/** + * A Component to contain the MuteToggle and VolumeControl so that + * they can work together. + * + * @extends Component + */ +declare class VolumePanel extends Component { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options={}] + * The key/value store of player options. + */ + constructor(player: any, options?: any); + handleKeyPressHandler_: (e: any) => void; + /** + * Add vjs-slider-active class to the VolumePanel + * + * @listens VolumeControl#slideractive + * @private + */ + private sliderActive_; + /** + * Removes vjs-slider-active class to the VolumePanel + * + * @listens VolumeControl#sliderinactive + * @private + */ + private sliderInactive_; + /** + * Adds vjs-hidden or vjs-mute-toggle-only to the VolumePanel + * depending on MuteToggle and VolumeControl state + * + * @listens Player#loadstart + * @private + */ + private volumePanelState_; + /** + * Create the `Component`'s DOM element + * + * @return {Element} + * The element that was created. + */ + createEl(): Element; + /** + * Dispose of the `volume-panel` and all child components. + */ + dispose(): void; + /** + * Handles `keyup` events on the `VolumeControl`, looking for ESC, which closes + * the volume panel and sets focus on `MuteToggle`. + * + * @param {Event} event + * The `keyup` event that caused this function to be called. + * + * @listens keyup + */ + handleVolumeControlKeyUp(event: Event): void; + /** + * This gets called when a `VolumePanel` gains hover via a `mouseover` event. + * Turns on listening for `mouseover` event. When they happen it + * calls `this.handleMouseOver`. + * + * @param {Event} event + * The `mouseover` event that caused this function to be called. + * + * @listens mouseover + */ + handleMouseOver(event: Event): void; + /** + * This gets called when a `VolumePanel` gains hover via a `mouseout` event. + * Turns on listening for `mouseout` event. When they happen it + * calls `this.handleMouseOut`. + * + * @param {Event} event + * The `mouseout` event that caused this function to be called. + * + * @listens mouseout + */ + handleMouseOut(event: Event): void; + /** + * Handles `keyup` event on the document or `keydown` event on the `VolumePanel`, + * looking for ESC, which hides the `VolumeControl`. + * + * @param {Event} event + * The keypress that triggered this event. + * + * @listens keydown | keyup + */ + handleKeyPress(event: Event): void; +} +import Component from "../component.js"; +//# sourceMappingURL=volume-panel.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/control-bar/volume-panel.d.ts.map b/priv/static/video.js/types/control-bar/volume-panel.d.ts.map new file mode 100644 index 0000000..0c8e0c5 --- /dev/null +++ b/priv/static/video.js/types/control-bar/volume-panel.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"volume-panel.d.ts","sourceRoot":"","sources":["../../../src/js/control-bar/volume-panel.js"],"names":[],"mappings":";AAaA;;;;;GAKG;AACH;IAEE;;;;;;;;OAQG;IACH,wCA+BC;IAdC,yCAA2D;IAgB7D;;;;;OAKG;IACH,sBAEC;IAED;;;;;OAKG;IACH,wBAEC;IAED;;;;;;OAMG;IACH,0BAYC;IAED;;;;;OAKG;IACH,YAHY,OAAO,CAalB;IAED;;OAEG;IACH,gBAGC;IAED;;;;;;;;OAQG;IACH,gCALW,KAAK,QASf;IAED;;;;;;;;;OASG;IACH,uBALW,KAAK,QAQf;IAED;;;;;;;;;OASG;IACH,sBALW,KAAK,QAQf;IAED;;;;;;;;OAQG;IACH,sBALW,KAAK,QASf;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/debug.d.ts b/priv/static/video.js/types/debug.d.ts new file mode 100644 index 0000000..11f8fc4 --- /dev/null +++ b/priv/static/video.js/types/debug.d.ts @@ -0,0 +1,3 @@ +export default videojs; +import videojs from "./video"; +//# sourceMappingURL=debug.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/debug.d.ts.map b/priv/static/video.js/types/debug.d.ts.map new file mode 100644 index 0000000..546d7fe --- /dev/null +++ b/priv/static/video.js/types/debug.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/js/debug.js"],"names":[],"mappings":""} \ No newline at end of file diff --git a/priv/static/video.js/types/error-display.d.ts b/priv/static/video.js/types/error-display.d.ts new file mode 100644 index 0000000..a6bf352 --- /dev/null +++ b/priv/static/video.js/types/error-display.d.ts @@ -0,0 +1,28 @@ +export default ErrorDisplay; +/** + * A display that indicates an error has occurred. This means that the video + * is unplayable. + * + * @extends ModalDialog + */ +declare class ErrorDisplay extends ModalDialog { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + */ + constructor(player: import('./player').default, options?: any); + /** + * Gets the localized error message based on the `Player`s error. + * + * @return {string} + * The `Player`s error message localized or an empty string. + */ + content(): string; +} +import ModalDialog from "./modal-dialog"; +//# sourceMappingURL=error-display.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/error-display.d.ts.map b/priv/static/video.js/types/error-display.d.ts.map new file mode 100644 index 0000000..24d8008 --- /dev/null +++ b/priv/static/video.js/types/error-display.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"error-display.d.ts","sourceRoot":"","sources":["../../src/js/error-display.js"],"names":[],"mappings":";AAMA;;;;;GAKG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANa,OAAO,UAAU,EAAE,OAAO,iBAWtC;IAcD;;;;;OAKG;IACH,WAHY,MAAM,CAOjB;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/event-target.d.ts b/priv/static/video.js/types/event-target.d.ts new file mode 100644 index 0000000..ab99296 --- /dev/null +++ b/priv/static/video.js/types/event-target.d.ts @@ -0,0 +1,131 @@ +export default EventTarget; +/** + * A Custom DOM event. + */ +export type Event = CustomEvent; +/** + * All event listeners should follow the following format. + */ +export type EventListener = () => any; +/** + * `EventTarget` is a class that can have the same API as the DOM `EventTarget`. It + * adds shorthand functions that wrap around lengthy functions. For example: + * the `on` function is a wrapper around `addEventListener`. + * + * @see [EventTarget Spec]{@link https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget} + * @class EventTarget + */ +declare class EventTarget { + /** + * Adds an `event listener` to an instance of an `EventTarget`. An `event listener` is a + * function that will get called when an event with a certain name gets triggered. + * + * @param {string|string[]} type + * An event name or an array of event names. + * + * @param {Function} fn + * The function to call with `EventTarget`s + */ + on(type: string | string[], fn: Function): void; + addEventListener: any; + /** + * Removes an `event listener` for a specific event from an instance of `EventTarget`. + * This makes it so that the `event listener` will no longer get called when the + * named event happens. + * + * @param {string|string[]} type + * An event name or an array of event names. + * + * @param {Function} fn + * The function to remove. + */ + off(type: string | string[], fn: Function): void; + /** + * This function will add an `event listener` that gets triggered only once. After the + * first trigger it will get removed. This is like adding an `event listener` + * with {@link EventTarget#on} that calls {@link EventTarget#off} on itself. + * + * @param {string|string[]} type + * An event name or an array of event names. + * + * @param {Function} fn + * The function to be called once for each event name. + */ + one(type: string | string[], fn: Function): void; + /** + * This function will add an `event listener` that gets triggered only once and is + * removed from all events. This is like adding an array of `event listener`s + * with {@link EventTarget#on} that calls {@link EventTarget#off} on all events the + * first time it is triggered. + * + * @param {string|string[]} type + * An event name or an array of event names. + * + * @param {Function} fn + * The function to be called once for each event name. + */ + any(type: string | string[], fn: Function): void; + /** + * This function causes an event to happen. This will then cause any `event listeners` + * that are waiting for that event, to get called. If there are no `event listeners` + * for an event then nothing will happen. + * + * If the name of the `Event` that is being triggered is in `EventTarget.allowedEvents_`. + * Trigger will also call the `on` + `uppercaseEventName` function. + * + * Example: + * 'click' is in `EventTarget.allowedEvents_`, so, trigger will attempt to call + * `onClick` if it exists. + * + * @param {string|EventTarget~Event|Object} event + * The name of the event, an `Event`, or an object with a key of type set to + * an event name. + */ + trigger(event: any): void; + queueTrigger(event: any): void; + /** + * A Custom DOM event. + * + * @typedef {CustomEvent} Event + * @see [Properties]{@link https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent} + */ + /** + * All event listeners should follow the following format. + * + * @callback EventListener + * @this {EventTarget} + * + * @param {Event} event + * the event that triggered this function + * + * @param {Object} [hash] + * hash of data sent during the event + */ + /** + * An object containing event names as keys and booleans as values. + * + * > NOTE: If an event name is set to a true value here {@link EventTarget#trigger} + * will have extra functionality. See that function for more information. + * + * @property EventTarget.prototype.allowedEvents_ + * @protected + */ + protected allowedEvents_: {}; + /** + * An alias of {@link EventTarget#off}. Allows `EventTarget` to mimic + * the standard DOM API. + * + * @function + * @see {@link EventTarget#off} + */ + removeEventListener: (type: string | string[], fn: Function) => void; + /** + * An alias of {@link EventTarget#trigger}. Allows `EventTarget` to mimic + * the standard DOM API. + * + * @function + * @see {@link EventTarget#trigger} + */ + dispatchEvent: (event: any) => void; +} +//# sourceMappingURL=event-target.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/event-target.d.ts.map b/priv/static/video.js/types/event-target.d.ts.map new file mode 100644 index 0000000..40c9429 --- /dev/null +++ b/priv/static/video.js/types/event-target.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"event-target.d.ts","sourceRoot":"","sources":["../../src/js/event-target.js"],"names":[],"mappings":";;;;oBAmKa,WAAW;;;;;AA3JxB;;;;;;;GAOG;AACH;IACE;;;;;;;;;OASG;IACH,SANW,MAAM,GAAC,MAAM,EAAE,sBAczB;IAHC,sBAAiC;IAInC;;;;;;;;;;OAUG;IACH,UANW,MAAM,GAAC,MAAM,EAAE,sBAQzB;IACD;;;;;;;;;;OAUG;IACH,UANW,MAAM,GAAC,MAAM,EAAE,sBAczB;IACD;;;;;;;;;;;OAWG;IACH,UANW,MAAM,GAAC,MAAM,EAAE,sBAczB;IACD;;;;;;;;;;;;;;;OAeG;IACH,0BAkBC;IACD,+BA+BC;IAGH;;;;;OAKG;IAEH;;;;;;;;;;;OAWG;IAEH;;;;;;;;OAQG;IACH,6BAAoC;IAWpC;;;;;;OAMG;IACH,4BAtKa,MAAM,GAAC,MAAM,EAAE,wBAsKa;IAEzC;;;;;;OAMG;IACH,oCAAmC;CA1DlC"} \ No newline at end of file diff --git a/priv/static/video.js/types/fullscreen-api.d.ts b/priv/static/video.js/types/fullscreen-api.d.ts new file mode 100644 index 0000000..b631368 --- /dev/null +++ b/priv/static/video.js/types/fullscreen-api.d.ts @@ -0,0 +1,10 @@ +export default FullscreenApi; +/** + * Store the browser-specific methods for the fullscreen API. + * + * @type {Object} + * @see [Specification]{@link https://fullscreen.spec.whatwg.org} + * @see [Map Approach From Screenfull.js]{@link https://github.com/sindresorhus/screenfull.js} + */ +declare const FullscreenApi: any; +//# sourceMappingURL=fullscreen-api.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/fullscreen-api.d.ts.map b/priv/static/video.js/types/fullscreen-api.d.ts.map new file mode 100644 index 0000000..30bf9fe --- /dev/null +++ b/priv/static/video.js/types/fullscreen-api.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"fullscreen-api.d.ts","sourceRoot":"","sources":["../../src/js/fullscreen-api.js"],"names":[],"mappings":";AAMA;;;;;;GAMG;AACH,iCAEE"} \ No newline at end of file diff --git a/priv/static/video.js/types/index.d.ts b/priv/static/video.js/types/index.d.ts new file mode 100644 index 0000000..ca184a2 --- /dev/null +++ b/priv/static/video.js/types/index.d.ts @@ -0,0 +1,3 @@ +export default videojs; +import videojs from "./video"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/index.d.ts.map b/priv/static/video.js/types/index.d.ts.map new file mode 100644 index 0000000..71ad5e7 --- /dev/null +++ b/priv/static/video.js/types/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/js/index.js"],"names":[],"mappings":""} \ No newline at end of file diff --git a/priv/static/video.js/types/live-tracker.d.ts b/priv/static/video.js/types/live-tracker.d.ts new file mode 100644 index 0000000..326b54c --- /dev/null +++ b/priv/static/video.js/types/live-tracker.d.ts @@ -0,0 +1,170 @@ +export default LiveTracker; +/** + * A class for checking live current time and determining when the player + * is at or behind the live edge. + */ +declare class LiveTracker extends Component { + /** + * Creates an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + * + * @param {number} [options.trackingThreshold=20] + * Number of seconds of live window (seekableEnd - seekableStart) that + * media needs to have before the liveui will be shown. + * + * @param {number} [options.liveTolerance=15] + * Number of seconds behind live that we have to be + * before we will be considered non-live. Note that this will only + * be used when playing at the live edge. This allows large seekable end + * changes to not effect whether we are live or not. + */ + constructor(player: import('./player').default, options?: { + trackingThreshold?: number; + liveTolerance?: number; + }); + trackLiveHandler_: () => void; + handlePlay_: (e: any) => void; + handleFirstTimeupdate_: (e: any) => void; + handleSeeked_: (e: any) => void; + seekToLiveEdge_: (e: any) => void; + /** + * all the functionality for tracking when seek end changes + * and for tracking how far past seek end we should be + */ + trackLive_(): void; + lastTime_: number; + pastSeekEnd_: number; + behindLiveEdge_: any; + /** + * handle a durationchange event on the player + * and start/stop tracking accordingly. + */ + handleDurationchange(): void; + /** + * start/stop tracking + */ + toggleTracking(): void; + /** + * start tracking live playback + */ + startTracking(): void; + timeupdateSeen_: any; + trackingInterval_: number; + /** + * handle the first timeupdate on the player if it wasn't already playing + * when live tracker started tracking. + */ + handleFirstTimeupdate(): void; + /** + * Keep track of what time a seek starts, and listen for seeked + * to find where a seek ends. + */ + handleSeeked(): void; + seekedBehindLive_: boolean; + nextSeekedFromUser_: boolean; + /** + * handle the first play on the player, and make sure that we seek + * right to the live edge. + */ + handlePlay(): void; + /** + * Stop tracking, and set all internal variables to + * their initial value. + */ + reset_(): void; + lastSeekEnd_: any; + /** + * The next seeked event is from the user. Meaning that any seek + * > 2s behind live will be considered behind live for real and + * liveTolerance will be ignored. + */ + nextSeekedFromUser(): void; + /** + * stop tracking live playback + */ + stopTracking(): void; + /** + * A helper to get the player seekable end + * so that we don't have to null check everywhere + * + * @return {number} + * The furthest seekable end or Infinity. + */ + seekableEnd(): number; + /** + * A helper to get the player seekable start + * so that we don't have to null check everywhere + * + * @return {number} + * The earliest seekable start or 0. + */ + seekableStart(): number; + /** + * Get the live time window aka + * the amount of time between seekable start and + * live current time. + * + * @return {number} + * The amount of seconds that are seekable in + * the live video. + */ + liveWindow(): number; + /** + * Determines if the player is live, only checks if this component + * is tracking live playback or not + * + * @return {boolean} + * Whether liveTracker is tracking + */ + isLive(): boolean; + /** + * Determines if currentTime is at the live edge and won't fall behind + * on each seekableendchange + * + * @return {boolean} + * Whether playback is at the live edge + */ + atLiveEdge(): boolean; + /** + * get what we expect the live current time to be + * + * @return {number} + * The expected live current time + */ + liveCurrentTime(): number; + /** + * The number of seconds that have occurred after seekable end + * changed. This will be reset to 0 once seekable end changes. + * + * @return {number} + * Seconds past the current seekable end + */ + pastSeekEnd(): number; + /** + * If we are currently behind the live edge, aka currentTime will be + * behind on a seekableendchange + * + * @return {boolean} + * If we are behind the live edge + */ + behindLiveEdge(): boolean; + /** + * Whether live tracker is currently tracking or not. + */ + isTracking(): boolean; + /** + * Seek to the live edge if we are behind the live edge + */ + seekToLiveEdge(): void; + /** + * Dispose of liveTracker + */ + dispose(): void; +} +import Component from "./component.js"; +//# sourceMappingURL=live-tracker.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/live-tracker.d.ts.map b/priv/static/video.js/types/live-tracker.d.ts.map new file mode 100644 index 0000000..495f205 --- /dev/null +++ b/priv/static/video.js/types/live-tracker.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"live-tracker.d.ts","sourceRoot":"","sources":["../../src/js/live-tracker.js"],"names":[],"mappings":";AAaA;;;GAGG;AACH;IAEE;;;;;;;;;;;;;;;;;;OAkBG;IACH,oBAhBY,OAAO,UAAU,EAAE,OAAO;QAMV,iBAAiB,GAAlC,MAAM;QAIW,aAAa,GAA9B,MAAM;OAwBhB;IAZC,8BAAgD;IAChD,8BAA4C;IAC5C,yCAAkE;IAClE,gCAAgD;IAChD,kCAAoD;IAUtD;;;OAGG;IACH,mBAqCC;IA1BC,kBAAwB;IAExB,qBAAkD;IAqBhD,qBAA+B;IAKnC;;;OAGG;IACH,6BAEC;IAED;;OAEG;IACH,uBAUC;IAED;;OAEG;IACH,sBAuBC;IAdG,qBAAgD;IAGlD,0BAA6F;IAa/F;;;OAGG;IACH,8BAGC;IAED;;;OAGG;IACH,qBAMC;IAHC,2BAAiE;IACjE,6BAAgC;IAIlC;;;OAGG;IACH,mBAEC;IAED;;;OAGG;IACH,eAiBC;IAdC,kBAAsB;IAgBxB;;;;OAIG;IACH,2BAEC;IAED;;OAEG;IACH,qBAMC;IAED;;;;;;OAMG;IACH,eAHY,MAAM,CAejB;IAED;;;;;;OAMG;IACH,iBAHY,MAAM,CAejB;IAED;;;;;;;;OAQG;IACH,cAJY,MAAM,CAajB;IAED;;;;;;OAMG;IACH,UAHY,OAAO,CAKlB;IAED;;;;;;OAMG;IACH,cAHY,OAAO,CAKlB;IAED;;;;;OAKG;IACH,mBAHY,MAAM,CAKjB;IAED;;;;;;OAMG;IACH,eAHY,MAAM,CAWjB;IAED;;;;;;OAMG;IACH,kBAHY,OAAO,CAKlB;IAED;;OAEG;IACH,sBAEC;IAED;;OAEG;IACH,uBAQC;IAED;;OAEG;IACH,gBAGC;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/loading-spinner.d.ts b/priv/static/video.js/types/loading-spinner.d.ts new file mode 100644 index 0000000..f575057 --- /dev/null +++ b/priv/static/video.js/types/loading-spinner.d.ts @@ -0,0 +1,17 @@ +export default LoadingSpinner; +/** + * A loading spinner for use during waiting/loading events. + * + * @extends Component + */ +declare class LoadingSpinner extends Component { + /** + * Create the `LoadingSpinner`s DOM element. + * + * @return {Element} + * The dom element that gets created. + */ + createEl(): Element; +} +import Component from "./component"; +//# sourceMappingURL=loading-spinner.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/loading-spinner.d.ts.map b/priv/static/video.js/types/loading-spinner.d.ts.map new file mode 100644 index 0000000..4defc00 --- /dev/null +++ b/priv/static/video.js/types/loading-spinner.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"loading-spinner.d.ts","sourceRoot":"","sources":["../../src/js/loading-spinner.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAEE;;;;;OAKG;IACH,YAHY,OAAO,CAmBlB;CAUF"} \ No newline at end of file diff --git a/priv/static/video.js/types/media-error.d.ts b/priv/static/video.js/types/media-error.d.ts new file mode 100644 index 0000000..5afa267 --- /dev/null +++ b/priv/static/video.js/types/media-error.d.ts @@ -0,0 +1,134 @@ +export default MediaError; +/** + * An object containing an error type, as well as other information regarding the error. + */ +export type ErrorMetadata = { + [key: string]: any; + errorType: string; +}; +/** + * A Custom `MediaError` class which mimics the standard HTML5 `MediaError` class. + * + * @param {number|string|Object|MediaError} value + * This can be of multiple types: + * - number: should be a standard error code + * - string: an error message (the code will be 0) + * - Object: arbitrary properties + * - `MediaError` (native): used to populate a video.js `MediaError` object + * - `MediaError` (video.js): will return itself if it's already a + * video.js `MediaError` object. + * + * @see [MediaError Spec]{@link https://dev.w3.org/html5/spec-author-view/video.html#mediaerror} + * @see [Encrypted MediaError Spec]{@link https://www.w3.org/TR/2013/WD-encrypted-media-20130510/#error-codes} + * + * @class MediaError + */ +declare function MediaError(value: number | string | any | MediaError): MediaError; +declare class MediaError { + /** + * A Custom `MediaError` class which mimics the standard HTML5 `MediaError` class. + * + * @param {number|string|Object|MediaError} value + * This can be of multiple types: + * - number: should be a standard error code + * - string: an error message (the code will be 0) + * - Object: arbitrary properties + * - `MediaError` (native): used to populate a video.js `MediaError` object + * - `MediaError` (video.js): will return itself if it's already a + * video.js `MediaError` object. + * + * @see [MediaError Spec]{@link https://dev.w3.org/html5/spec-author-view/video.html#mediaerror} + * @see [Encrypted MediaError Spec]{@link https://www.w3.org/TR/2013/WD-encrypted-media-20130510/#error-codes} + * + * @class MediaError + */ + constructor(value: number | string | any | MediaError); + code: number; + message: string; + /** + * An optional status code that can be set by plugins to allow even more detail about + * the error. For example a plugin might provide a specific HTTP status code and an + * error message for that code. Then when the plugin gets that error this class will + * know how to display an error message for it. This allows a custom message to show + * up on the `Player` error overlay. + * + * @type {Array} + */ + status: any[]; + /** + * An object containing an error type, as well as other information regarding the error. + * + * @typedef {{errorType: string, [key: string]: any}} ErrorMetadata + */ + /** + * An optional object to give more detail about the error. This can be used to give + * a higher level of specificity to an error versus the more generic MediaError codes. + * `metadata` expects an `errorType` string that should align with the values from videojs.Error. + * + * @type {ErrorMetadata} + */ + metadata: ErrorMetadata; + /** + * W3C error code for any custom error. + * + * @member MediaError.MEDIA_ERR_CUSTOM + * @constant {number} + * @default 0 + */ + MEDIA_ERR_CUSTOM: number; + /** + * W3C error code for media error aborted. + * + * @member MediaError.MEDIA_ERR_ABORTED + * @constant {number} + * @default 1 + */ + MEDIA_ERR_ABORTED: number; + /** + * W3C error code for any network error. + * + * @member MediaError.MEDIA_ERR_NETWORK + * @constant {number} + * @default 2 + */ + MEDIA_ERR_NETWORK: number; + /** + * W3C error code for any decoding error. + * + * @member MediaError.MEDIA_ERR_DECODE + * @constant {number} + * @default 3 + */ + MEDIA_ERR_DECODE: number; + /** + * W3C error code for any time that a source is not supported. + * + * @member MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED + * @constant {number} + * @default 4 + */ + MEDIA_ERR_SRC_NOT_SUPPORTED: number; + /** + * W3C error code for any time that a source is encrypted. + * + * @member MediaError.MEDIA_ERR_ENCRYPTED + * @constant {number} + * @default 5 + */ + MEDIA_ERR_ENCRYPTED: number; +} +declare namespace MediaError { + /** + * * + */ + type errorTypes = any[]; + const errorTypes: string[]; + const defaultMessages: any[]; + const MEDIA_ERR_CUSTOM: number; + const MEDIA_ERR_ABORTED: number; + const MEDIA_ERR_NETWORK: number; + const MEDIA_ERR_DECODE: number; + const MEDIA_ERR_SRC_NOT_SUPPORTED: number; + const MEDIA_ERR_ENCRYPTED: number; +} +//# sourceMappingURL=media-error.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/media-error.d.ts.map b/priv/static/video.js/types/media-error.d.ts.map new file mode 100644 index 0000000..987b139 --- /dev/null +++ b/priv/static/video.js/types/media-error.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"media-error.d.ts","sourceRoot":"","sources":["../../src/js/media-error.js"],"names":[],"mappings":";;;;;;eAgFyB,MAAM;;AA3E/B;;;;;;;;;;;;;;;;GAgBG;AACH,mCAdW,MAAM,GAAC,MAAM,SAAQ,UAAU,cAyCzC;;IA5CD;;;;;;;;;;;;;;;;OAgBG;IACH,mBAdW,MAAM,GAAC,MAAM,SAAQ,UAAU,EAyCzC;IAlBG,aAAiB;IAGjB,gBAAoB;IAgCxB;;;;;;;;OAQG;IACH,cAA2B;IAE3B;;;;OAIG;IAEH;;;;;;OAMG;IACH,UAFU,aAAa,CAEM;IA+C7B;;;;;;OAMG;IACH,yBAAqC;IAWrC;;;;;;OAMG;IACH,0BAAsC;IAWtC;;;;;;OAMG;IACH,0BAAsC;IAWtC;;;;;;OAMG;IACH,yBAAqC;IAWrC;;;;;;OAMG;IACH,oCAAgD;IAWhD;;;;;;OAMG;IACH,4BAAwC"} \ No newline at end of file diff --git a/priv/static/video.js/types/menu/menu-button.d.ts b/priv/static/video.js/types/menu/menu-button.d.ts new file mode 100644 index 0000000..249874b --- /dev/null +++ b/priv/static/video.js/types/menu/menu-button.d.ts @@ -0,0 +1,177 @@ +export default MenuButton; +/** + * A `MenuButton` class for any popup {@link Menu}. + * + * @extends Component + */ +declare class MenuButton extends Component { + /** + * Creates an instance of this class. + * + * @param { import('../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options={}] + * The key/value store of player options. + */ + constructor(player: import('../player').default, options?: any); + menuButton_: Button; + enabled_: boolean; + handleMenuKeyUp_: (e: any) => void; + /** + * Update the menu based on the current state of its items. + */ + update(): void; + menu: Menu; + /** + * Track the state of the menu button + * + * @type {Boolean} + * @private + */ + private buttonPressed_; + /** + * Create the menu and add all items to it. + * + * @return {Menu} + * The constructed menu + */ + createMenu(): Menu; + /** + * Hide the menu if the number of items is less than or equal to this threshold. This defaults + * to 0 and whenever we add items which can be hidden to the menu we'll increment it. We list + * it here because every time we run `createMenu` we need to reset the value. + * + * @protected + * @type {Number} + */ + protected hideThreshold_: number; + items: void; + /** + * Create the list of menu items. Specific to each subclass. + * + * @abstract + */ + createItems(): void; + /** + * Create the `MenuButtons`s DOM element. + * + * @return {Element} + * The element that gets created. + */ + createEl(): Element; + /** + * Overwrites the `setIcon` method from `Component`. + * In this case, we want the icon to be appended to the menuButton. + * + * @param {string} name + * The icon name to be added. + */ + setIcon(name: string): void; + /** + * Allow sub components to stack CSS class names for the wrapper element + * + * @return {string} + * The constructed wrapper DOM `className` + */ + buildWrapperCSSClass(): string; + /** + * Get or set the localized control text that will be used for accessibility. + * + * > NOTE: This will come from the internal `menuButton_` element. + * + * @param {string} [text] + * Control text for element. + * + * @param {Element} [el=this.menuButton_.el()] + * Element to set the title on. + * + * @return {string} + * - The control text when getting + */ + controlText(text?: string, el?: Element): string; + /** + * Dispose of the `menu-button` and all child components. + */ + dispose(): void; + /** + * Handle a click on a `MenuButton`. + * See {@link ClickableComponent#handleClick} for instances where this is called. + * + * @param {Event} event + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event: Event): void; + /** + * Handle `mouseleave` for `MenuButton`. + * + * @param {Event} event + * The `mouseleave` event that caused this function to be called. + * + * @listens mouseleave + */ + handleMouseLeave(event: Event): void; + /** + * Handle tab, escape, down arrow, and up arrow keys for `MenuButton`. See + * {@link ClickableComponent#handleKeyDown} for instances where this is called. + * + * @param {Event} event + * The `keydown` event that caused this function to be called. + * + * @listens keydown + */ + handleKeyDown(event: Event): void; + /** + * Handle a `keyup` event on a `MenuButton`. The listener for this is added in + * the constructor. + * + * @param {Event} event + * Key press event + * + * @listens keyup + */ + handleMenuKeyUp(event: Event): void; + /** + * This method name now delegates to `handleSubmenuKeyDown`. This means + * anyone calling `handleSubmenuKeyPress` will not see their method calls + * stop working. + * + * @param {Event} event + * The event that caused this function to be called. + */ + handleSubmenuKeyPress(event: Event): void; + /** + * Handle a `keydown` event on a sub-menu. The listener for this is added in + * the constructor. + * + * @param {Event} event + * Key press event + * + * @listens keydown + */ + handleSubmenuKeyDown(event: Event): void; + /** + * Put the current `MenuButton` into a pressed state. + */ + pressButton(): void; + /** + * Take the current `MenuButton` out of a pressed state. + */ + unpressButton(): void; + /** + * Disable the `MenuButton`. Don't allow it to be clicked. + */ + disable(): void; + /** + * Enable the `MenuButton`. Allow it to be clicked. + */ + enable(): void; +} +import Component from "../component.js"; +import Button from "../button.js"; +import Menu from "./menu.js"; +//# sourceMappingURL=menu-button.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/menu/menu-button.d.ts.map b/priv/static/video.js/types/menu/menu-button.d.ts.map new file mode 100644 index 0000000..5d76be8 --- /dev/null +++ b/priv/static/video.js/types/menu/menu-button.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../../src/js/menu/menu-button.js"],"names":[],"mappings":";AAaA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBANY,OAAO,WAAW,EAAE,OAAO,iBAwCtC;IA/BC,oBAA8C;IAe9C,kBAAoB;IAIpB,mCAAsD;IAcxD;;OAEG;IACH,eA4BC;IApBC,WAAgB;IAGhB;;;;;OAKG;IACH,uBAA2B;IAa7B;;;;;OAKG;IACH,cAHY,IAAI,CAuCf;IAjCC;;;;;;;OAOG;IACH,iCAAuB;IAevB,YAA+B;IAYjC;;;;OAIG;IACH,oBAAgB;IAEhB;;;;;OAKG;IACH,YAHY,OAAO,CAQlB;IAED;;;;;;OAMG;IACH,cAHW,MAAM,QAKhB;IAED;;;;;OAKG;IACH,wBAHY,MAAM,CAiBjB;IAqBD;;;;;;;;;;;;;OAaG;IACH,mBATW,MAAM,OAGN,OAAO,GAGN,MAAM,CAKjB;IAED;;OAEG;IACH,gBAGC;IAED;;;;;;;;;;OAUG;IACH,mBAPW,KAAK,QAaf;IAED;;;;;;;OAOG;IACH,wBALW,KAAK,QAQf;IAgBD;;;;;;;;OAQG;IACH,qBALW,KAAK,QA0Bf;IAED;;;;;;;;OAQG;IACH,uBALW,KAAK,QAUf;IAED;;;;;;;OAOG;IACH,6BAHW,KAAK,QAKf;IAED;;;;;;;;OAQG;IACH,4BALW,KAAK,QAuBf;IAED;;OAEG;IACH,oBAgBC;IAED;;OAEG;IACH,sBAOC;IAED;;OAEG;IACH,gBAOC;IAED;;OAEG;IACH,eAKC;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/menu/menu-item.d.ts b/priv/static/video.js/types/menu/menu-item.d.ts new file mode 100644 index 0000000..7c07303 --- /dev/null +++ b/priv/static/video.js/types/menu/menu-item.d.ts @@ -0,0 +1,44 @@ +export default MenuItem; +/** + * The component for a menu item. `
  • ` + * + * @extends ClickableComponent + */ +declare class MenuItem extends ClickableComponent { + /** + * Creates an instance of the this class. + * + * @param { import('../player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options={}] + * The key/value store of player options. + * + */ + constructor(player: import('../player').default, options?: any); + selectable: any; + isSelected_: any; + multiSelectable: any; + nonIconControl: boolean; + /** + * Any click on a `MenuItem` puts it into the selected state. + * See {@link ClickableComponent#handleClick} for instances where this is called. + * + * @param {Event} event + * The `keydown`, `tap`, or `click` event that caused this function to be + * called. + * + * @listens tap + * @listens click + */ + handleClick(event: Event): void; + /** + * Set the state for this menu item as selected or not. + * + * @param {boolean} selected + * if the menu item is selected or not + */ + selected(selected: boolean): void; +} +import ClickableComponent from "../clickable-component.js"; +//# sourceMappingURL=menu-item.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/menu/menu-item.d.ts.map b/priv/static/video.js/types/menu/menu-item.d.ts.map new file mode 100644 index 0000000..dbc71ea --- /dev/null +++ b/priv/static/video.js/types/menu/menu-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"menu-item.d.ts","sourceRoot":"","sources":["../../../src/js/menu/menu-item.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH;IAEE;;;;;;;;;OASG;IACH,oBAPY,OAAO,WAAW,EAAE,OAAO,iBAyBtC;IAfC,gBAAoC;IACpC,iBAA4C;IAC5C,qBAA8C;IAgC9C,wBAA0B;IAuC5B;;;;;;;;;;OAUG;IACH,mBAPW,KAAK,QASf;IAED;;;;;OAKG;IACH,mBAHW,OAAO,QAoBjB;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/menu/menu-keys.d.ts b/priv/static/video.js/types/menu/menu-keys.d.ts new file mode 100644 index 0000000..df63177 --- /dev/null +++ b/priv/static/video.js/types/menu/menu-keys.d.ts @@ -0,0 +1,19 @@ +/** + * All keys used for operation of a menu (`MenuButton`, `Menu`, and `MenuItem`) + * Note that 'Enter' and 'Space' are not included here (otherwise they would + * prevent the `MenuButton` and `MenuItem` from being keyboard-clickable) + */ +export type MenuKeys = any; +/** + * @file menu-keys.js + */ +/** + * All keys used for operation of a menu (`MenuButton`, `Menu`, and `MenuItem`) + * Note that 'Enter' and 'Space' are not included here (otherwise they would + * prevent the `MenuButton` and `MenuItem` from being keyboard-clickable) + * + * @typedef MenuKeys + * @array + */ +export const MenuKeys: string[]; +//# sourceMappingURL=menu-keys.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/menu/menu-keys.d.ts.map b/priv/static/video.js/types/menu/menu-keys.d.ts.map new file mode 100644 index 0000000..13b598f --- /dev/null +++ b/priv/static/video.js/types/menu/menu-keys.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"menu-keys.d.ts","sourceRoot":"","sources":["../../../src/js/menu/menu-keys.js"],"names":[],"mappings":";;;;;;AAAA;;GAEG;AAEH;;;;;;;IAOI;AACJ,gCAOE"} \ No newline at end of file diff --git a/priv/static/video.js/types/menu/menu.d.ts b/priv/static/video.js/types/menu/menu.d.ts new file mode 100644 index 0000000..cd9331d --- /dev/null +++ b/priv/static/video.js/types/menu/menu.d.ts @@ -0,0 +1,102 @@ +export default Menu; +/** + * The Menu component is used to build popup menus, including subtitle and + * captions selection menus. + * + * @extends Component + */ +declare class Menu extends Component { + /** + * Create an instance of this class. + * + * @param { import('../player').default } player + * the player that this component should attach to + * + * @param {Object} [options] + * Object of option names and values + * + */ + constructor(player: import('../player').default, options?: any); + menuButton_: any; + focusedChild_: number; + boundHandleBlur_: (e: any) => void; + boundHandleTapClick_: (e: any) => void; + /** + * Add event listeners to the {@link MenuItem}. + * + * @param {Object} component + * The instance of the `MenuItem` to add listeners to. + * + */ + addEventListenerForItem(component: any): void; + /** + * Remove event listeners from the {@link MenuItem}. + * + * @param {Object} component + * The instance of the `MenuItem` to remove listeners. + * + */ + removeEventListenerForItem(component: any): void; + /** + * This method will be called indirectly when the component has been added + * before the component adds to the new menu instance by `addItem`. + * In this case, the original menu instance will remove the component + * by calling `removeChild`. + * + * @param {Object} component + * The instance of the `MenuItem` + */ + removeChild(component: any): void; + /** + * Add a {@link MenuItem} to the menu. + * + * @param {Object|string} component + * The name or instance of the `MenuItem` to add. + * + */ + addItem(component: any | string): void; + /** + * Create the `Menu`s DOM element. + * + * @return {Element} + * the element that was created + */ + createEl(): Element; + contentEl_: Element; + dispose(): void; + /** + * Called when a `MenuItem` loses focus. + * + * @param {Event} event + * The `blur` event that caused this function to be called. + * + * @listens blur + */ + handleBlur(event: Event): void; + /** + * Called when a `MenuItem` gets clicked or tapped. + * + * @param {Event} event + * The `click` or `tap` event that caused this function to be called. + * + * @listens click,tap + */ + handleTapClick(event: Event): void; + /** + * Move to next (lower) menu item for keyboard users. + */ + stepForward(): void; + /** + * Move to previous (higher) menu item for keyboard users. + */ + stepBack(): void; + /** + * Set focus on a {@link MenuItem} in the `Menu`. + * + * @param {Object|string} [item=0] + * Index of child item set focus on. + */ + focus(item?: any | string): void; +} +import Component from "../component.js"; +//# sourceMappingURL=menu.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/menu/menu.d.ts.map b/priv/static/video.js/types/menu/menu.d.ts.map new file mode 100644 index 0000000..97e1eab --- /dev/null +++ b/priv/static/video.js/types/menu/menu.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/js/menu/menu.js"],"names":[],"mappings":";AASA;;;;;GAKG;AACH;IAEE;;;;;;;;;OASG;IACH,oBAPY,OAAO,WAAW,EAAE,OAAO,iBAqBtC;IAVG,iBAAqC;IAGvC,sBAAuB;IAKvB,mCAAiD;IACjD,uCAAyD;IAG3D;;;;;;OAMG;IACH,8CAOC;IAED;;;;;;OAMG;IACH,iDAOC;IAED;;;;;;;;OAQG;IACH,kCAOC;IAED;;;;;;OAMG;IACH,mBAJW,MAAO,MAAM,QAUvB;IAED;;;;;OAKG;IACH,YAHY,OAAO,CA2BlB;IArBC,oBAEE;IAqBJ,gBAMC;IAED;;;;;;;OAOG;IACH,kBALW,KAAK,QAkBf;IAED;;;;;;;OAOG;IACH,sBALW,KAAK,QA4Bf;IA0BD;;OAEG;IACH,oBAOC;IAED;;OAEG;IACH,iBAOC;IAED;;;;;OAKG;IACH,aAHW,MAAO,MAAM,QAsBvB;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/mixins/evented.d.ts b/priv/static/video.js/types/mixins/evented.d.ts new file mode 100644 index 0000000..d1d4c3f --- /dev/null +++ b/priv/static/video.js/types/mixins/evented.d.ts @@ -0,0 +1,41 @@ +export default evented; +/** + * Applies {@link module:evented~EventedMixin|EventedMixin} to a target object. + * + * @param {Object} target + * The object to which to add event methods. + * + * @param {Object} [options={}] + * Options for customizing the mixin behavior. + * + * @param {string} [options.eventBusKey] + * By default, adds a `eventBusEl_` DOM element to the target object, + * which is used as an event bus. If the target object already has a + * DOM element that should be used, pass its key here. + * + * @return {Object} + * The target object. + */ +declare function evented(target: any, options?: { + eventBusKey?: string; +}): any; +/** + * Returns whether or not an object has had the evented mixin applied. + * + * @param {Object} object + * An object to test. + * + * @return {boolean} + * Whether or not the object appears to be evented. + */ +export function isEvented(object: any): boolean; +/** + * Adds a callback to run after the evented mixin applied. + * + * @param {Object} target + * An object to Add + * @param {Function} callback + * The callback to run. + */ +export function addEventedCallback(target: any, callback: Function): void; +//# sourceMappingURL=evented.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/mixins/evented.d.ts.map b/priv/static/video.js/types/mixins/evented.d.ts.map new file mode 100644 index 0000000..a7cd5b9 --- /dev/null +++ b/priv/static/video.js/types/mixins/evented.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"evented.d.ts","sourceRoot":"","sources":["../../../src/js/mixins/evented.js"],"names":[],"mappings":";AAqcA;;;;;;;;;;;;;;;;GAgBG;AACH;IAR6B,WAAW,GAA5B,MAAM;QA2CjB;AA1dD;;;;;;;;GAQG;AACH,wCAHY,OAAO,CAM0D;AAE7E;;;;;;;GAOG;AACH,0EASC"} \ No newline at end of file diff --git a/priv/static/video.js/types/mixins/stateful.d.ts b/priv/static/video.js/types/mixins/stateful.d.ts new file mode 100644 index 0000000..a2ee3ad --- /dev/null +++ b/priv/static/video.js/types/mixins/stateful.d.ts @@ -0,0 +1,21 @@ +export default stateful; +/** + * Applies {@link module:stateful~StatefulMixin|StatefulMixin} to a target + * object. + * + * If the target object is {@link module:evented|evented} and has a + * `handleStateChanged` method, that method will be automatically bound to the + * `statechanged` event on itself. + * + * @param {Object} target + * The object to be made stateful. + * + * @param {Object} [defaultState] + * A default set of properties to populate the newly-stateful object's + * `state` property. + * + * @return {Object} + * Returns the `target`. + */ +declare function stateful(target: any, defaultState?: any): any; +//# sourceMappingURL=stateful.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/mixins/stateful.d.ts.map b/priv/static/video.js/types/mixins/stateful.d.ts.map new file mode 100644 index 0000000..8e6be33 --- /dev/null +++ b/priv/static/video.js/types/mixins/stateful.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stateful.d.ts","sourceRoot":"","sources":["../../../src/js/mixins/stateful.js"],"names":[],"mappings":";AAsFA;;;;;;;;;;;;;;;;;GAiBG;AACH,gEAaC"} \ No newline at end of file diff --git a/priv/static/video.js/types/modal-dialog.d.ts b/priv/static/video.js/types/modal-dialog.d.ts new file mode 100644 index 0000000..2a81617 --- /dev/null +++ b/priv/static/video.js/types/modal-dialog.d.ts @@ -0,0 +1,193 @@ +export default ModalDialog; +/** + * The `ModalDialog` displays over the video and its controls, which blocks + * interaction with the player until it is closed. + * + * Modal dialogs include a "Close" button and will close when that button + * is activated - or when ESC is pressed anywhere. + * + * @extends Component + */ +declare class ModalDialog extends Component { + /** + * Create an instance of this class. + * + * @param { import('./player').default } player + * The `Player` that this class should be attached to. + * + * @param {Object} [options] + * The key/value store of player options. + * + * @param { import('./utils/dom').ContentDescriptor} [options.content=undefined] + * Provide customized content for this modal. + * + * @param {string} [options.description] + * A text description for the modal, primarily for accessibility. + * + * @param {boolean} [options.fillAlways=false] + * Normally, modals are automatically filled only the first time + * they open. This tells the modal to refresh its content + * every time it opens. + * + * @param {string} [options.label] + * A text label for the modal, primarily for accessibility. + * + * @param {boolean} [options.pauseOnOpen=true] + * If `true`, playback will will be paused if playing when + * the modal opens, and resumed when it closes. + * + * @param {boolean} [options.temporary=true] + * If `true`, the modal can only be opened once; it will be + * disposed as soon as it's closed. + * + * @param {boolean} [options.uncloseable=false] + * If `true`, the user will not be able to close the modal + * through the UI in the normal ways. Programmatic closing is + * still possible. + */ + constructor(player: import('./player').default, options?: { + content?: import('./utils/dom').ContentDescriptor; + description?: string; + fillAlways?: boolean; + label?: string; + pauseOnOpen?: boolean; + temporary?: boolean; + uncloseable?: boolean; + }); + handleKeyDown_: (e: any) => void; + close_: (e: any) => void; + opened_: boolean; + hasBeenOpened_: boolean; + hasBeenFilled_: boolean; + contentEl_: Element; + descEl_: Element; + /** + * Create the `ModalDialog`'s DOM element + * + * @return {Element} + * The DOM element that gets created. + */ + createEl(): Element; + dispose(): void; + previouslyActiveEl_: any; + /** + * Returns the label string for this modal. Primarily used for accessibility. + * + * @return {string} + * the localized or raw label of this modal. + */ + label(): string; + /** + * Returns the description string for this modal. Primarily used for + * accessibility. + * + * @return {string} + * The localized or raw description of this modal. + */ + description(): string; + /** + * Opens the modal. + * + * @fires ModalDialog#beforemodalopen + * @fires ModalDialog#modalopen + */ + open(): void; + wasPlaying_: boolean; + hadControls_: boolean; + /** + * If the `ModalDialog` is currently open or closed. + * + * @param {boolean} [value] + * If given, it will open (`true`) or close (`false`) the modal. + * + * @return {boolean} + * the current open state of the modaldialog + */ + opened(value?: boolean): boolean; + /** + * Closes the modal, does nothing if the `ModalDialog` is + * not open. + * + * @fires ModalDialog#beforemodalclose + * @fires ModalDialog#modalclose + */ + close(): void; + /** + * Check to see if the `ModalDialog` is closeable via the UI. + * + * @param {boolean} [value] + * If given as a boolean, it will set the `closeable` option. + * + * @return {boolean} + * Returns the final value of the closable option. + */ + closeable(value?: boolean): boolean; + closeable_: boolean; + /** + * Fill the modal's content element with the modal's "content" option. + * The content element will be emptied before this change takes place. + */ + fill(): void; + /** + * Fill the modal's content element with arbitrary content. + * The content element will be emptied before this change takes place. + * + * @fires ModalDialog#beforemodalfill + * @fires ModalDialog#modalfill + * + * @param { import('./utils/dom').ContentDescriptor} [content] + * The same rules apply to this as apply to the `content` option. + */ + fillWith(content?: import('./utils/dom').ContentDescriptor): void; + /** + * Empties the content element. This happens anytime the modal is filled. + * + * @fires ModalDialog#beforemodalempty + * @fires ModalDialog#modalempty + */ + empty(): void; + /** + * Gets or sets the modal content, which gets normalized before being + * rendered into the DOM. + * + * This does not update the DOM or fill the modal, but it is called during + * that process. + * + * @param { import('./utils/dom').ContentDescriptor} [value] + * If defined, sets the internal content value to be used on the + * next call(s) to `fill`. This value is normalized before being + * inserted. To "clear" the internal content value, pass `null`. + * + * @return { import('./utils/dom').ContentDescriptor} + * The current content of the modal dialog + */ + content(value?: import('./utils/dom').ContentDescriptor): import('./utils/dom').ContentDescriptor; + content_: Dom.ContentDescriptor; + /** + * conditionally focus the modal dialog if focus was previously on the player. + * + * @private + */ + private conditionalFocus_; + /** + * conditionally blur the element and refocus the last focused element + * + * @private + */ + private conditionalBlur_; + /** + * Keydown handler. Attached when modal is focused. + * + * @listens keydown + */ + handleKeyDown(event: any): void; + /** + * get all focusable elements + * + * @private + */ + private focusableEls_; +} +import Component from "./component"; +import * as Dom from "./utils/dom"; +//# sourceMappingURL=modal-dialog.d.ts.map \ No newline at end of file diff --git a/priv/static/video.js/types/modal-dialog.d.ts.map b/priv/static/video.js/types/modal-dialog.d.ts.map new file mode 100644 index 0000000..c3ee0d7 --- /dev/null +++ b/priv/static/video.js/types/modal-dialog.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"modal-dialog.d.ts","sourceRoot":"","sources":["../../src/js/modal-dialog.js"],"names":[],"mappings":";AAWA;;;;;;;;GAQG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,oBAjCY,OAAO,UAAU,EAAE,OAAO;QAMwB,OAAO,GAAzD,OAAO,aAAa,EAAE,iBAAiB;QAGvB,WAAW,GAA5B,MAAM;QAGY,UAAU,GAA5B,OAAO;QAKU,KAAK,GAAtB,MAAM;QAGY,WAAW,GAA7B,OAAO;QAIW,SAAS,GAA3B,OAAO;QAIW,WAAW,GAA7B,OAAO;OAgCjB;IAxBC,iCAAkD;IAClD,yBAAkC;IAClC,iBAAgE;IAAjD,wBAAiD;IAA3B,wBAA2B;IAQhE,oBAIE;IAEF,iBAGE;IAOJ;;;;;OAKG;IACH,YAHY,OAAO,CAclB;IAED,gBAMC;IAHC,yBAA+B;IAejC;;;;;OAKG;IACH,SAHY,MAAM,CAKjB;IAED;;;;;;OAMG;IACH,eAHY,MAAM,CAYjB;IAED;;;;;OAKG;IACH,aAmDC;IAxBC,qBAAmC;IASnC,sBAAqC;IAiBvC;;;;;;;;OAQG;IACH,eANY,OAAO,GAGP,OAAO,CAQlB;IAED;;;;;;OAMG;IACH,cAwCC;IAED;;;;;;;;OAQG;IACH,kBANY,OAAO,GAGP,OAAO,CA6BlB;IAxBqB,oBAAyB;IA0B/C;;;OAGG;IACH,aAEC;IAED;;;;;;;;;OASG;IACH,mBAHY,OAAO,aAAa,EAAE,iBAAiB,QA2ClD;IAED;;;;;OAKG;IACH,cAiBC;IAED;;;;;;;;;;;;;;OAcG;IACH,gBARa,OAAO,aAAa,EAAE,iBAAiB,GAKvC,OAAO,aAAa,EAAE,iBAAiB,CAQnD;IAHG,gCAAqB;IAKzB;;;;OAIG;IACH,0BAWC;IAED;;;;OAIG;IACH,yBAKC;IAED;;;;OAIG;IACH,gCAsCC;IAED;;;;OAIG;IACH,sBAgBC;CACF"} \ No newline at end of file diff --git a/priv/static/video.js/types/player.d.ts b/priv/static/video.js/types/player.d.ts new file mode 100644 index 0000000..d5fcbaf --- /dev/null +++ b/priv/static/video.js/types/player.d.ts @@ -0,0 +1,1776 @@ +export default Player; +/** + * An instance of the `Player` class is created when any of the Video.js setup methods + * are used to initialize a video. + * + * After an instance has been created it can be accessed globally in three ways: + * 1. By calling `videojs.getPlayer('example_video_1');` + * 2. By calling `videojs('example_video_1');` (not recommended) + * 2. By using it directly via `videojs.players.example_video_1;` + * + * @extends Component + * @global + */ +declare class Player extends Component { + /** + * Gets tag settings + * + * @param {Element} tag + * The player tag + * + * @return {Object} + * An object containing all of the settings + * for a player tag + */ + static getTagSettings(tag: Element): any; + /** + * Create an instance of this class. + * + * @param {Element} tag + * The original video DOM element used for configuring options. + * + * @param {Object} [options] + * Object of option names and values. + * + * @param {Function} [ready] + * Ready callback function. + */ + constructor(tag: Element, options?: any, ready?: Function); + boundDocumentFullscreenChange_: (e: any) => void; + boundFullWindowOnEscKey_: (e: any) => void; + boundUpdateStyleEl_: (e: any) => void; + boundApplyInitTime_: (e: any) => void; + boundUpdateCurrentBreakpoint_: (e: any) => void; + boundHandleTechClick_: (e: any) => void; + boundHandleTechDoubleClick_: (e: any) => void; + boundHandleTechTouchStart_: (e: any) => void; + boundHandleTechTouchMove_: (e: any) => void; + boundHandleTechTouchEnd_: (e: any) => void; + boundHandleTechTap_: (e: any) => void; + isFullscreen_: boolean; + log: any; + fsApi_: any; + isPosterFromTech_: boolean; + queuedCallbacks_: any[]; + hasStarted_: boolean; + userActive_: boolean; + debugEnabled_: boolean; + audioOnlyMode_: boolean; + audioPosterMode_: boolean; + audioOnlyCache_: { + playerHeight: any; + hiddenChildren: any[]; + }; + tag: Element; + tagAttributes: any; + languages_: {}; + /** @type string */ + poster_: string; + /** @type {boolean} */ + controls_: boolean; + changingSrc_: boolean; + playCallbacks_: any[]; + playTerminatedQueue_: any[]; + scrubbing_: boolean; + el_: Element; + middleware_: any[]; + /** + * Destroys the video player and does any necessary cleanup. + * + * This is especially helpful if you are dynamically adding and removing videos + * to/from the DOM. + * + * @fires Player#dispose + */ + dispose(): void; + styleEl_: Element; + playerElIngest_: any; + /** + * Create the `Player`'s DOM element. + * + * @return {Element} + * The DOM element that gets created. + */ + createEl(): Element; + fill_: boolean; + fluid_: boolean; + /** + * Get or set the `Player`'s crossOrigin option. For the HTML5 player, this + * sets the `crossOrigin` property on the `