@mattebox/player 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/cdn/mattebox-player.min.js +17 -17
  2. package/dist/compose.d.ts.map +1 -1
  3. package/dist/compose.js +2 -2
  4. package/dist/compose.js.map +1 -1
  5. package/dist/controls/airplay.d.ts +28 -0
  6. package/dist/controls/airplay.d.ts.map +1 -0
  7. package/dist/controls/airplay.js +46 -0
  8. package/dist/controls/airplay.js.map +1 -0
  9. package/dist/controls/icons.d.ts +1 -1
  10. package/dist/controls/icons.d.ts.map +1 -1
  11. package/dist/controls/icons.js +3 -0
  12. package/dist/controls/icons.js.map +1 -1
  13. package/dist/element.d.ts +9 -1
  14. package/dist/element.d.ts.map +1 -1
  15. package/dist/element.js +35 -5
  16. package/dist/element.js.map +1 -1
  17. package/dist/elements/airplay-button.d.ts +13 -0
  18. package/dist/elements/airplay-button.d.ts.map +1 -0
  19. package/dist/elements/airplay-button.js +54 -0
  20. package/dist/elements/airplay-button.js.map +1 -0
  21. package/dist/elements/control-bar.d.ts.map +1 -1
  22. package/dist/elements/control-bar.js +2 -1
  23. package/dist/elements/control-bar.js.map +1 -1
  24. package/dist/entries/airplay-button.d.ts +5 -0
  25. package/dist/entries/airplay-button.d.ts.map +1 -0
  26. package/dist/entries/airplay-button.js +9 -0
  27. package/dist/entries/airplay-button.js.map +1 -0
  28. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/asyncToGenerator.js +1 -1
  29. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/defineProperty.js +1 -1
  30. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/objectSpread2.js +1 -1
  31. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPrimitive.js +1 -1
  32. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/toPropertyKey.js +1 -1
  33. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/typeof.js +1 -1
  34. package/dist/es2015/compose.js +2 -2
  35. package/dist/es2015/controls/airplay.js +29 -0
  36. package/dist/es2015/controls/icons.js +2 -0
  37. package/dist/es2015/controls/menu.js +1 -1
  38. package/dist/es2015/element.js +26 -8
  39. package/dist/es2015/elements/airplay-button.js +52 -0
  40. package/dist/es2015/elements/control-bar.js +2 -1
  41. package/dist/es2015/elements/drm-badge.js +1 -1
  42. package/dist/es2015/elements/menu-element.js +2 -2
  43. package/dist/es2015/elements/seek-bar.js +1 -1
  44. package/dist/es2015/elements/skip-button.js +1 -1
  45. package/dist/es2015/entries/airplay-button.js +7 -0
  46. package/dist/es2015/index.js +3 -1
  47. package/dist/es2015/presets.js +1 -1
  48. package/dist/es2015/tags.js +2 -1
  49. package/dist/index.d.ts +3 -0
  50. package/dist/index.d.ts.map +1 -1
  51. package/dist/index.js +1 -0
  52. package/dist/index.js.map +1 -1
  53. package/dist/tags.d.ts +1 -0
  54. package/dist/tags.d.ts.map +1 -1
  55. package/dist/tags.js +1 -0
  56. package/dist/tags.js.map +1 -1
  57. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import { el, state } from "../dom.js";
2
- import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
2
+ import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/objectSpread2.js";
3
3
  //#region src/controls/menu.ts
4
4
  /**
5
5
  * The menu primitive the quality, audio, subtitles and speed menus share: a
@@ -1,12 +1,12 @@
1
1
  import { CONTROL_BAR, PANELS, PLAYER } from "./tags.js";
2
2
  import { composeBar, composePanels } from "./compose.js";
3
3
  import { namespaces } from "./namespaces.js";
4
- import _asyncToGenerator from "./_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/asyncToGenerator.js";
4
+ import _asyncToGenerator from "./_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/asyncToGenerator.js";
5
5
  import { drmGuard, resolvePreset } from "./presets.js";
6
6
  import { STYLE } from "./style.js";
7
7
  import { errorSurface } from "./surface.js";
8
- import _objectSpread2 from "./_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
9
- import { createPlayer, matteboxHandler, nativeHandler } from "@mattebox/player-core";
8
+ import _objectSpread2 from "./_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/objectSpread2.js";
9
+ import { createPlayer, inferType, matteboxHandler, nativeHandler } from "@mattebox/player-core";
10
10
  //#region src/element.ts
11
11
  /** Attributes forwarded onto the video as attributes, never as properties. */
12
12
  const FORWARDED = [
@@ -45,14 +45,15 @@ const STATE_EVENTS = [
45
45
  "ended",
46
46
  "emptied",
47
47
  "volumechange",
48
- "loadedmetadata"
48
+ "loadedmetadata",
49
+ "resize"
49
50
  ];
50
51
  /** Every stage the engine ships. A narrower preset is optimization. */
51
52
  const DEFAULT_PRESET = "full";
52
53
  /**
53
54
  * What `define()` recorded, for the elements the parser creates. It is the
54
- * one value shared across elements, and the prompt asks for it: a page that
55
- * writes only markup still has to be able to say what the engine carries.
55
+ * one value shared across elements, because a page that writes only markup
56
+ * still has to be able to say what the engine carries.
56
57
  */
57
58
  let defaults = {};
58
59
  /**
@@ -159,8 +160,24 @@ var MatteboxPlayerElement = class MatteboxPlayerElement extends HTMLElement {
159
160
  this.toggleAttribute("playing", !video.paused);
160
161
  this.toggleAttribute("ended", video.ended);
161
162
  this.toggleAttribute("muted", video.muted);
163
+ this.toggleAttribute("audio", this.audio());
162
164
  this.reflecting = false;
163
165
  }
166
+ /**
167
+ * Whether the source has no picture. Once the metadata is in, the video's
168
+ * size decides: zero by zero is sound alone, and `resize` catches a stream
169
+ * that moves to or from an audio-only rendition. Before that, the type the
170
+ * page wrote or the URL implies is the hint, so an mp3 is `audio` from
171
+ * the start rather than from its metadata.
172
+ */
173
+ audio() {
174
+ var _this$getAttribute;
175
+ const video = this.media;
176
+ if (video.readyState >= HTMLMediaElement.HAVE_METADATA) return video.videoWidth === 0 && video.videoHeight === 0;
177
+ const src = this.getAttribute("src");
178
+ const type = (_this$getAttribute = this.getAttribute("type")) !== null && _this$getAttribute !== void 0 ? _this$getAttribute : src === null ? void 0 : inferType(src);
179
+ return (type === null || type === void 0 ? void 0 : type.startsWith("audio/")) === true;
180
+ }
164
181
  disconnectedCallback() {
165
182
  this.enqueue(() => this.teardown());
166
183
  }
@@ -178,6 +195,7 @@ var MatteboxPlayerElement = class MatteboxPlayerElement extends HTMLElement {
178
195
  return;
179
196
  }
180
197
  if (name === "preset") this.enqueue(() => this.discard());
198
+ if (name === "src" || name === "type") this.toggleAttribute("audio", this.audio());
181
199
  this.reload();
182
200
  }
183
201
  /**
@@ -309,11 +327,11 @@ var MatteboxPlayerElement = class MatteboxPlayerElement extends HTMLElement {
309
327
  chain() {
310
328
  var _this3 = this;
311
329
  return _asyncToGenerator(function* () {
312
- var _this$getAttribute;
330
+ var _this$getAttribute2;
313
331
  if (_this3.options.handlers !== void 0) return _this3.options.handlers;
314
332
  const config = _this3.options.config === void 0 ? {} : { config: _this3.options.config };
315
333
  if (_this3.options.stages !== void 0) return [matteboxHandler(_objectSpread2({ stages: _this3.options.stages }, config)), nativeHandler()];
316
- const name = (_this$getAttribute = _this3.getAttribute("preset")) !== null && _this$getAttribute !== void 0 ? _this$getAttribute : DEFAULT_PRESET;
334
+ const name = (_this$getAttribute2 = _this3.getAttribute("preset")) !== null && _this$getAttribute2 !== void 0 ? _this$getAttribute2 : DEFAULT_PRESET;
317
335
  const preset = yield resolvePreset(name);
318
336
  if (preset === null) {
319
337
  _this3.report({
@@ -0,0 +1,52 @@
1
+ import { airplay } from "../controls/airplay.js";
2
+ import { icon } from "../controls/icons.js";
3
+ import { Component } from "./component.js";
4
+ import { BUTTON_STYLE, iconSlots, show, style } from "./shared.js";
5
+ //#region src/elements/airplay-button.ts
6
+ const STATES = ["default", "active"];
7
+ var MbxAirplayButton = class extends Component {
8
+ static get observedAttributes() {
9
+ return ["label", "label-active"];
10
+ }
11
+ constructor() {
12
+ super();
13
+ this.api = null;
14
+ const root = this.attachShadow({ mode: "open" });
15
+ this.button = document.createElement("button");
16
+ this.button.type = "button";
17
+ this.button.setAttribute("part", "button");
18
+ this.slots = iconSlots(STATES, (state) => icon(state === "active" ? "airplay-active" : "airplay"));
19
+ for (const state of STATES) this.button.append(this.slots[state]);
20
+ this.button.addEventListener("click", () => {
21
+ var _this$api;
22
+ (_this$api = this.api) === null || _this$api === void 0 || _this$api.show();
23
+ });
24
+ root.append(style(BUTTON_STYLE), this.button);
25
+ }
26
+ attach(player) {
27
+ const api = airplay(player.video);
28
+ this.api = api;
29
+ this.keep(api.watch(() => {
30
+ this.render();
31
+ }));
32
+ this.follow(player, () => {
33
+ this.render();
34
+ });
35
+ }
36
+ detach(player) {
37
+ this.api = null;
38
+ player.removeAttribute("airplay");
39
+ }
40
+ render() {
41
+ var _this$getAttribute, _this$getAttribute2;
42
+ const player = this.player;
43
+ if (player === null || this.api === null) return;
44
+ const active = this.api.active();
45
+ this.hidden = !this.api.supported || !this.api.offered();
46
+ show(this.slots, active ? "active" : "default");
47
+ this.button.setAttribute("aria-label", active ? (_this$getAttribute = this.getAttribute("label-active")) !== null && _this$getAttribute !== void 0 ? _this$getAttribute : "Stop AirPlay" : (_this$getAttribute2 = this.getAttribute("label")) !== null && _this$getAttribute2 !== void 0 ? _this$getAttribute2 : "AirPlay");
48
+ player.toggleAttribute("airplay", active);
49
+ }
50
+ };
51
+ //#endregion
52
+ export { MbxAirplayButton };
@@ -1,4 +1,4 @@
1
- import { AUDIO_MENU, CHAPTERS_MENU, DRM_BADGE, MUTE_BUTTON, PIP_BUTTON, QUALITY_MENU, SKIP_BUTTON, SPEED_MENU, SUBTITLES_MENU, VOLUME, VOLUME_SLIDER } from "../tags.js";
1
+ import { AIRPLAY_BUTTON, AUDIO_MENU, CHAPTERS_MENU, DRM_BADGE, MUTE_BUTTON, PIP_BUTTON, QUALITY_MENU, SKIP_BUTTON, SPEED_MENU, SUBTITLES_MENU, VOLUME, VOLUME_SLIDER } from "../tags.js";
2
2
  import { Component } from "./component.js";
3
3
  import { number, style } from "./shared.js";
4
4
  import { cueLift, cueStyle } from "../controls/cues.js";
@@ -24,6 +24,7 @@ const PRIORITY = {
24
24
  [AUDIO_MENU]: 3,
25
25
  [QUALITY_MENU]: 3,
26
26
  [PIP_BUTTON]: 3,
27
+ [AIRPLAY_BUTTON]: 2,
27
28
  [SKIP_BUTTON]: 2,
28
29
  [SUBTITLES_MENU]: 1,
29
30
  [VOLUME]: 1,
@@ -1,9 +1,9 @@
1
1
  import { namespaces } from "../namespaces.js";
2
2
  import { el } from "../dom.js";
3
3
  import { icon } from "../controls/icons.js";
4
- import { fill } from "../labels.js";
5
4
  import { Component } from "./component.js";
6
5
  import { style } from "./shared.js";
6
+ import { fill } from "../labels.js";
7
7
  //#region src/elements/drm-badge.ts
8
8
  const STYLE = `
9
9
  :host { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--mbx-muted); border-radius: var(--mbx-radius); cursor: default; }
@@ -1,8 +1,8 @@
1
1
  import { icon } from "../controls/icons.js";
2
- import { menu } from "../controls/menu.js";
3
- import { fill } from "../labels.js";
4
2
  import { Component } from "./component.js";
5
3
  import { MENU_STYLE, iconSlots, style } from "./shared.js";
4
+ import { menu } from "../controls/menu.js";
5
+ import { fill } from "../labels.js";
6
6
  //#region src/elements/menu-element.ts
7
7
  var MenuElement = class extends Component {
8
8
  constructor(states, glyphs) {
@@ -1,7 +1,7 @@
1
1
  import { el } from "../dom.js";
2
- import { fill } from "../labels.js";
3
2
  import { Component } from "./component.js";
4
3
  import { SLIDER_STYLE, number, seekRow, style } from "./shared.js";
4
+ import { fill } from "../labels.js";
5
5
  import { chapterAt, chapters, followChapters } from "../controls/chapters.js";
6
6
  import { format } from "../controls/time.js";
7
7
  import { EMPTY, at, clip, fraction } from "../controls/ranges.js";
@@ -1,7 +1,7 @@
1
1
  import { icon } from "../controls/icons.js";
2
- import { fill } from "../labels.js";
3
2
  import { Component } from "./component.js";
4
3
  import { BUTTON_STYLE, style } from "./shared.js";
4
+ import { fill } from "../labels.js";
5
5
  //#region src/elements/skip-button.ts
6
6
  const SECONDS = 10;
7
7
  /** The glyph for a skip amount: the set draws 10 and 30, and a plain arrow says the rest. */
@@ -0,0 +1,7 @@
1
+ import { AIRPLAY_BUTTON } from "../tags.js";
2
+ import "../element-entry.js";
3
+ import { MbxAirplayButton } from "../elements/airplay-button.js";
4
+ //#region src/entries/airplay-button.ts
5
+ if (customElements.get("mbx-airplay-button") === void 0) customElements.define(AIRPLAY_BUTTON, MbxAirplayButton);
6
+ //#endregion
7
+ export { MbxAirplayButton };
@@ -1,5 +1,7 @@
1
1
  import { MatteboxPlayerElement } from "./element.js";
2
2
  import "./element-entry.js";
3
+ import { MbxAirplayButton } from "./elements/airplay-button.js";
4
+ import "./entries/airplay-button.js";
3
5
  import { MbxAudioMenu } from "./elements/audio-menu.js";
4
6
  import "./entries/audio-menu.js";
5
7
  import { MbxChaptersMenu } from "./elements/chapters-menu.js";
@@ -46,4 +48,4 @@ import { MbxVolumeSlider } from "./elements/volume-slider.js";
46
48
  import "./entries/volume-slider.js";
47
49
  import { MbxVolume } from "./elements/volume.js";
48
50
  import "./entries/volume.js";
49
- export { MatteboxPlayerElement, MbxAudioMenu, MbxChaptersMenu, MbxControlBar, MbxCurrentTime, MbxDrmBadge, MbxDuration, MbxErrorScreen, MbxFullscreenButton, MbxLiveButton, MbxMuteButton, MbxPanels, MbxPipButton, MbxPlayButton, MbxQualityMenu, MbxRemainingTime, MbxSeekBar, MbxSkipButton, MbxSpacer, MbxSpeedMenu, MbxStartButton, MbxSubtitlesMenu, MbxVolume, MbxVolumeSlider };
51
+ export { MatteboxPlayerElement, MbxAirplayButton, MbxAudioMenu, MbxChaptersMenu, MbxControlBar, MbxCurrentTime, MbxDrmBadge, MbxDuration, MbxErrorScreen, MbxFullscreenButton, MbxLiveButton, MbxMuteButton, MbxPanels, MbxPipButton, MbxPlayButton, MbxQualityMenu, MbxRemainingTime, MbxSeekBar, MbxSkipButton, MbxSpacer, MbxSpeedMenu, MbxStartButton, MbxSubtitlesMenu, MbxVolume, MbxVolumeSlider };
@@ -1,4 +1,4 @@
1
- import _asyncToGenerator from "./_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/asyncToGenerator.js";
1
+ import _asyncToGenerator from "./_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/asyncToGenerator.js";
2
2
  //#region src/presets.ts
3
3
  /** eme-core's teardown calls `element.setMediaKeys(null)` unguarded, so a build without EME throws out of `detach`. */
4
4
  const DRM_STAGES = [
@@ -8,6 +8,7 @@ const MUTE_BUTTON = "mbx-mute-button";
8
8
  const VOLUME_SLIDER = "mbx-volume-slider";
9
9
  const SKIP_BUTTON = "mbx-skip-button";
10
10
  const PIP_BUTTON = "mbx-pip-button";
11
+ const AIRPLAY_BUTTON = "mbx-airplay-button";
11
12
  const FULLSCREEN_BUTTON = "mbx-fullscreen-button";
12
13
  const START_BUTTON = "mbx-start-button";
13
14
  const ERROR_SCREEN = "mbx-error-screen";
@@ -25,4 +26,4 @@ const PANELS = "mbx-panels";
25
26
  const VOLUME = "mbx-volume";
26
27
  const CHAPTERS_MENU = "mbx-chapters-menu";
27
28
  //#endregion
28
- export { AUDIO_MENU, CHAPTERS_MENU, CONTROL_BAR, CURRENT_TIME, DRM_BADGE, DURATION, ERROR_SCREEN, FULLSCREEN_BUTTON, LIVE_BUTTON, MUTE_BUTTON, PANELS, PIP_BUTTON, PLAYER, PLAY_BUTTON, QUALITY_MENU, REMAINING_TIME, SEEK_BAR, SKIP_BUTTON, SPACER, SPEED_MENU, START_BUTTON, SUBTITLES_MENU, VOLUME, VOLUME_SLIDER };
29
+ export { AIRPLAY_BUTTON, AUDIO_MENU, CHAPTERS_MENU, CONTROL_BAR, CURRENT_TIME, DRM_BADGE, DURATION, ERROR_SCREEN, FULLSCREEN_BUTTON, LIVE_BUTTON, MUTE_BUTTON, PANELS, PIP_BUTTON, PLAYER, PLAY_BUTTON, QUALITY_MENU, REMAINING_TIME, SEEK_BAR, SKIP_BUTTON, SPACER, SPEED_MENU, START_BUTTON, SUBTITLES_MENU, VOLUME, VOLUME_SLIDER };
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@
5
5
  * `@mattebox/player/element` and the `@mattebox/player/elements/*` entries.
6
6
  */
7
7
  import type { MatteboxPlayerElement } from './element-entry.js';
8
+ import type { MbxAirplayButton } from './entries/airplay-button.js';
8
9
  import type { MbxAudioMenu } from './entries/audio-menu.js';
9
10
  import type { MbxChaptersMenu } from './entries/chapters-menu.js';
10
11
  import type { MbxControlBar } from './entries/control-bar.js';
@@ -30,6 +31,7 @@ import type { MbxVolume } from './entries/volume.js';
30
31
  import type { MbxVolumeSlider } from './entries/volume-slider.js';
31
32
  export type { MatteboxPlayerOptions } from './element-entry.js';
32
33
  export { MatteboxPlayerElement } from './element-entry.js';
34
+ export { MbxAirplayButton } from './entries/airplay-button.js';
33
35
  export { MbxAudioMenu } from './entries/audio-menu.js';
34
36
  export { MbxChaptersMenu } from './entries/chapters-menu.js';
35
37
  export { MbxControlBar } from './entries/control-bar.js';
@@ -75,6 +77,7 @@ declare global {
75
77
  'mbx-live-button': MbxLiveButton;
76
78
  'mbx-speed-menu': MbxSpeedMenu;
77
79
  'mbx-quality-menu': MbxQualityMenu;
80
+ 'mbx-airplay-button': MbxAirplayButton;
78
81
  'mbx-audio-menu': MbxAudioMenu;
79
82
  'mbx-subtitles-menu': MbxSubtitlesMenu;
80
83
  'mbx-drm-badge': MbxDrmBadge;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],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ANGED
@@ -1,4 +1,5 @@
1
1
  export { MatteboxPlayerElement } from './element-entry.js';
2
+ export { MbxAirplayButton } from './entries/airplay-button.js';
2
3
  export { MbxAudioMenu } from './entries/audio-menu.js';
3
4
  export { MbxChaptersMenu } from './entries/chapters-menu.js';
4
5
  export { MbxControlBar } from './entries/control-bar.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAgCA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,O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6B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC"}
package/dist/tags.d.ts CHANGED
@@ -7,6 +7,7 @@ export declare const MUTE_BUTTON = "mbx-mute-button";
7
7
  export declare const VOLUME_SLIDER = "mbx-volume-slider";
8
8
  export declare const SKIP_BUTTON = "mbx-skip-button";
9
9
  export declare const PIP_BUTTON = "mbx-pip-button";
10
+ export declare const AIRPLAY_BUTTON = "mbx-airplay-button";
10
11
  export declare const FULLSCREEN_BUTTON = "mbx-fullscreen-button";
11
12
  export declare const START_BUTTON = "mbx-start-button";
12
13
  export declare const ERROR_SCREEN = "mbx-error-screen";
@@ -1 +1 @@
1
- {"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../src/tags.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,eAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAC7C,eAAO,MAAM,MAAM,eAAe,CAAC;AACnC,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAC7C,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAC7C,eAAO,MAAM,aAAa,sBAAsB,CAAC;AACjD,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAC7C,eAAO,MAAM,UAAU,mBAAmB,CAAC;AAC3C,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AACzD,eAAO,MAAM,YA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AC;AACnD,eAAO,MAAM,QAAQ,iBAAiB,CAAC;AACvC,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAC7C,eAAO,MAAM,UAAU,mBAAmB,CAAC;AAC3C,eAAO,MAAM,YAAY,qBAAqB,CAAC;AAC/C,eAAO,MAAM,UAAU,mBAAmB,CAAC;AAC3C,eAAO,MAAM,cAAc,uBAAuB,CAAC;AACnD,eAAO,MAAM,SAAS,kBAAkB,CAAC;AACzC,eAAO,MAAM,MAAM,eAAe,CAAC;AACnC,eAAO,MAAM,MAAM,eAAe,CAAC;AACnC,eAAO,MAAM,aAAa,sBAAsB,CAAC"}
package/dist/tags.js CHANGED
@@ -7,6 +7,7 @@ export const MUTE_BUTTON = 'mbx-mute-button';
7
7
  export const VOLUME_SLIDER = 'mbx-volume-slider';
8
8
  export const SKIP_BUTTON = 'mbx-skip-button';
9
9
  export const PIP_BUTTON = 'mbx-pip-button';
10
+ export const AIRPLAY_BUTTON = 'mbx-airplay-button';
10
11
  export const FULLSCREEN_BUTTON = 'mbx-fullscreen-button';
11
12
  export const START_BUTTON = 'mbx-start-button';
12
13
  export const ERROR_SCREEN = 'mbx-error-screen';
package/dist/tags.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tags.js","sourceRoot":"","sources":["../src/tags.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,MAAM,CAAC,MAAM,MAAM,GAAG,iBAAiB,CAAC;AACxC,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAC7C,MAAM,CAAC,MAAM,MAAM,GAAG,YAAY,CAAC;AACnC,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAC7C,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAC7C,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;AACjD,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB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,GAAG,iBAAiB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAC3C,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC;AACnD,MAAM,CAAC,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AACzD,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC;AAC/C,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC;AAC/C,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC;AAC/C,MAAM,CAAC,MAAM,QAAQ,GAAG,cAAc,CAAC;AACvC,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC;AACnD,MAAM,CAAC,MAAM,QAAQ,GAAG,cAAc,CAAC;AACvC,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAC3C,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC;AAC/C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAC3C,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC;AACnD,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC;AACzC,MAAM,CAAC,MAAM,MAAM,GAAG,YAAY,CAAC;AACnC,MAAM,CAAC,MAAM,MAAM,GAAG,YAAY,CAAC;AACnC,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattebox/player",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "A <mattebox-player> custom element over @mattebox/player-core.",
5
5
  "author": "Josep Boix Requesens",
6
6
  "repository": {
@@ -70,9 +70,9 @@
70
70
  "release:ci": "semantic-release"
71
71
  },
72
72
  "dependencies": {
73
- "@mattebox/player-core": "^0.1.1"
73
+ "@mattebox/player-core": "^0.2.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "mattebox": "^0.3.0"
76
+ "mattebox": "^0.5.0"
77
77
  }
78
78
  }