@mattebox/player 0.12.0 → 0.13.1
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.
- package/dist/cdn/mattebox-player.min.js +3 -3
- package/dist/controls/breaks.d.ts +24 -0
- package/dist/controls/breaks.d.ts.map +1 -0
- package/dist/controls/breaks.js +20 -0
- package/dist/controls/breaks.js.map +1 -0
- package/dist/element-entry.d.ts +1 -1
- package/dist/element-entry.d.ts.map +1 -1
- package/dist/element-entry.js.map +1 -1
- package/dist/element.d.ts +46 -1
- package/dist/element.d.ts.map +1 -1
- package/dist/element.js +89 -6
- package/dist/element.js.map +1 -1
- package/dist/elements/marker-button.d.ts +1 -0
- package/dist/elements/marker-button.d.ts.map +1 -1
- package/dist/elements/marker-button.js +12 -8
- package/dist/elements/marker-button.js.map +1 -1
- package/dist/elements/quality-menu.d.ts.map +1 -1
- package/dist/elements/quality-menu.js +1 -0
- package/dist/elements/quality-menu.js.map +1 -1
- package/dist/elements/seek-bar.d.ts +4 -0
- package/dist/elements/seek-bar.d.ts.map +1 -1
- package/dist/elements/seek-bar.js +19 -3
- package/dist/elements/seek-bar.js.map +1 -1
- package/dist/elements/spinner.d.ts +11 -9
- package/dist/elements/spinner.d.ts.map +1 -1
- package/dist/elements/spinner.js +8 -3
- package/dist/elements/spinner.js.map +1 -1
- package/dist/elements/start-button.d.ts.map +1 -1
- package/dist/elements/start-button.js +1 -1
- package/dist/elements/start-button.js.map +1 -1
- package/dist/elements/title.d.ts.map +1 -1
- package/dist/elements/title.js +6 -4
- package/dist/elements/title.js.map +1 -1
- package/dist/es2015/controls/breaks.js +18 -0
- package/dist/es2015/element.js +160 -66
- package/dist/es2015/elements/marker-button.js +12 -8
- package/dist/es2015/elements/quality-menu.js +1 -0
- package/dist/es2015/elements/seek-bar.js +25 -7
- package/dist/es2015/elements/spinner.js +8 -3
- package/dist/es2015/elements/start-button.js +1 -1
- package/dist/es2015/elements/title.js +6 -4
- package/dist/host.d.ts +31 -1
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/host.d.ts
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
* has found a gap in the player's public API, and the gap is the bug.
|
|
10
10
|
*/
|
|
11
11
|
import type { Block, Player, PlayerError, Programme, ProgrammeSource, Source, SourceVideoTrack } from '@mattebox/player-core';
|
|
12
|
-
import type { Mattebox } from 'mattebox';
|
|
12
|
+
import type { Mattebox, Stage } from 'mattebox';
|
|
13
|
+
import type { BreakMarks } from './controls/breaks.js';
|
|
13
14
|
import type { Markers } from './controls/markers.js';
|
|
14
15
|
import type { Messages } from './messages.js';
|
|
15
16
|
export type { Block };
|
|
@@ -44,6 +45,8 @@ export interface PlayerHost extends HTMLElement {
|
|
|
44
45
|
readonly blocked: Block | null;
|
|
45
46
|
/** The ranges the page named: credits to skip, parts that must not play. */
|
|
46
47
|
readonly markers: Markers;
|
|
48
|
+
/** Where the programme's ad breaks are, for the seek bar, by owner. */
|
|
49
|
+
readonly breaks: BreakMarks;
|
|
47
50
|
/** What the current load resolved to, with what a connector said of the programme; null without one. */
|
|
48
51
|
readonly programme: Programme | null;
|
|
49
52
|
/** The sources to load when there is no `src` attribute; setting it loads them. */
|
|
@@ -59,6 +62,15 @@ export interface PlayerHost extends HTMLElement {
|
|
|
59
62
|
selectVideoSource(track: SourceVideoTrack | null): void;
|
|
60
63
|
/** Loads another source of the same programme in place, holding the frame and the controls. */
|
|
61
64
|
switchSource(source: Source): void;
|
|
65
|
+
/** Plays a source in the programme's place, such as an ad; no `sourcechange` fires. */
|
|
66
|
+
interrupt(source: Source): Promise<void>;
|
|
67
|
+
/** Plays the programme again where `interrupt` left it. */
|
|
68
|
+
resume(options?: {
|
|
69
|
+
readonly at?: number | null;
|
|
70
|
+
readonly playing?: boolean;
|
|
71
|
+
}): Promise<void>;
|
|
72
|
+
/** `interrupt` plays in the programme's place. */
|
|
73
|
+
readonly interrupted: boolean;
|
|
62
74
|
/** The language tag the words come from, or empty for English. */
|
|
63
75
|
readonly locale: string;
|
|
64
76
|
/**
|
|
@@ -68,6 +80,24 @@ export interface PlayerHost extends HTMLElement {
|
|
|
68
80
|
*/
|
|
69
81
|
message(id: keyof Messages): string | undefined;
|
|
70
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* A package that adds to every player: the engine stages it needs, which
|
|
85
|
+
* join whatever stack the player builds, and what it does on each player.
|
|
86
|
+
* `@mattebox/player-ads` is one: it adds the `interstitials` stage and
|
|
87
|
+
* draws the ad controls.
|
|
88
|
+
*/
|
|
89
|
+
export interface PlayerAddon {
|
|
90
|
+
readonly name: string;
|
|
91
|
+
/** Fresh stages for each engine. A stage the stack has already, by name, is not added twice. */
|
|
92
|
+
stages?(): readonly Stage[];
|
|
93
|
+
/**
|
|
94
|
+
* The add-on needs the engine: where MediaSource plays HLS, Safari's own
|
|
95
|
+
* HLS is not preferred, since it reports nothing the add-on reads.
|
|
96
|
+
*/
|
|
97
|
+
readonly engine?: boolean;
|
|
98
|
+
/** Runs when a player connects, and the function it returns when it leaves the page. */
|
|
99
|
+
attach?(player: PlayerHost): (() => void) | undefined;
|
|
100
|
+
}
|
|
71
101
|
/**
|
|
72
102
|
* The nearest player above `node`, through shadow hosts, or null outside
|
|
73
103
|
* one. The element found may not be upgraded yet; the caller waits for the
|
package/dist/host.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host.d.ts","sourceRoot":"","sources":["../src/host.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACN,WAAW,EACX,SAAS,EACT,eAAe,EACf,MAAM,EACN,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"host.d.ts","sourceR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AC;IAC9B,kEAAkE;IAClE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,EAAE,MAAM,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;CACjD;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,gGAAgG;IAChG,MAAM,CAAC,IAAI,SAAS,KAAK,EAAE,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B,wFAAwF;IACxF,MAAM,CAAC,CAAC,MAAM,EAAE,UAAU,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACvD;AASD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,IAAI,CAOzD"}
|
package/dist/host.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host.js","names":[],"sources":["../src/host.ts"],"sourcesContent":["/**\n * What a control sees of the player it sits in: the video, the engine, the\n * core, and the element itself for its events and attributes. Declared\n * here and not imported from the element, because the element registers\n * the controls and a control that imported the element would close a cycle.\n * `MatteboxPlayerElement` implements it.\n *\n * This is the whole surface a control gets. A control that needs more\n * has found a gap in the player's public API, and the gap is the bug.\n */\nimport type {\n Block,\n Player,\n PlayerError,\n Programme,\n ProgrammeSource,\n Source,\n SourceVideoTrack,\n} from '@mattebox/player-core';\nimport type { Mattebox } from 'mattebox';\nimport type { Markers } from './controls/markers.js';\nimport type { Messages } from './messages.js';\nimport { PLAYER } from './tags.js';\n\nexport type { Block };\n\nexport interface Tracker {\n /** What the diagnostics panel calls it. */\n readonly name: string;\n /** The id of the tracker's current session, which the diagnostics panel shows for support. */\n readonly session?: string | undefined;\n /** The id of the device the tracker reports, which the diagnostics panel shows too. */\n readonly device?: string | undefined;\n /** At the start of each programme, or at once when added during one. */\n start(programme: Programme, player: PlayerHost): void;\n /** At the end of the programme, at unload, or when removed during one. */\n stop(): void;\n}\n\nexport interface Trackers {\n /** Adds a tracker; during a programme, it starts at once. */\n add(tracker: Tracker): void;\n /** Removes a tracker; during a programme, it stops at once. False when it was not there. */\n delete(tracker: Tracker): boolean;\n has(tracker: Tracker): boolean;\n /** The trackers, in the order they were added. */\n readonly list: readonly Tracker[];\n}\n\nexport interface PlayerHost extends HTMLElement {\n readonly video: HTMLVideoElement;\n readonly engine: Mattebox | null;\n readonly player: Player | null;\n /** The fatal error of the current load, or null: a control attached after the event still sees it. */\n readonly error: PlayerError | null;\n /** What `block()` set, or null: a control attached after `blockchange` still sees it. */\n readonly blocked: Block | null;\n /** The ranges the page named: credits to skip, parts that must not play. */\n readonly markers: Markers;\n /** What the current load resolved to, with what a connector said of the programme; null without one. */\n readonly programme: Programme | null;\n /** The sources to load when there is no `src` attribute; setting it loads them. */\n sources: readonly ProgrammeSource[] | null;\n /** The page's trackers, started at each programme. */\n readonly trackers: Trackers;\n /** Loads the sources again, in the order a load reads them. */\n retry(): void;\n /** The other versions of the picture the source names at their own URLs. */\n readonly videoSources: readonly SourceVideoTrack[];\n /** The version of `videoSources` that plays, or null for the source itself. */\n readonly videoSource: SourceVideoTrack | null;\n selectVideoSource(track: SourceVideoTrack | null): void;\n /** Loads another source of the same programme in place, holding the frame and the controls. */\n switchSource(source: Source): void;\n /** The language tag the words come from, or empty for English. */\n readonly locale: string;\n /**\n * The word of `id` in the player's language, or undefined, where the\n * control's own English applies. The player fires `localechange` when\n * the words change.\n */\n message(id: keyof Messages): string | undefined;\n}\n\n/** The parent, or the host of the shadow root `node` sits in, or null at the document. */\nfunction above(node: Node): Node | null {\n const parent = node.parentNode;\n if (parent !== null) return parent;\n return node instanceof ShadowRoot ? node.host : null;\n}\n\n/**\n * The nearest player above `node`, through shadow hosts, or null outside\n * one. The element found may not be upgraded yet; the caller waits for the\n * definition before reading it.\n */\nexport function findPlayer(node: Node): HTMLElement | null {\n let current: Node | null = node;\n while (current !== null) {\n if (current instanceof HTMLElement && current.localName === PLAYER) return current;\n current = above(current);\n }\n return null;\n}\n"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"host.js","names":[],"sources":["../src/host.ts"],"sourcesContent":["/**\n * What a control sees of the player it sits in: the video, the engine, the\n * core, and the element itself for its events and attributes. Declared\n * here and not imported from the element, because the element registers\n * the controls and a control that imported the element would close a cycle.\n * `MatteboxPlayerElement` implements it.\n *\n * This is the whole surface a control gets. A control that needs more\n * has found a gap in the player's public API, and the gap is the bug.\n */\nimport type {\n Block,\n Player,\n PlayerError,\n Programme,\n ProgrammeSource,\n Source,\n SourceVideoTrack,\n} from '@mattebox/player-core';\nimport type { Mattebox, Stage } from 'mattebox';\nimport type { BreakMarks } from './controls/breaks.js';\nimport type { Markers } from './controls/markers.js';\nimport type { Messages } from './messages.js';\nimport { PLAYER } from './tags.js';\n\nexport type { Block };\n\nexport interface Tracker {\n /** What the diagnostics panel calls it. */\n readonly name: string;\n /** The id of the tracker's current session, which the diagnostics panel shows for support. */\n readonly session?: string | undefined;\n /** The id of the device the tracker reports, which the diagnostics panel shows too. */\n readonly device?: string | undefined;\n /** At the start of each programme, or at once when added during one. */\n start(programme: Programme, player: PlayerHost): void;\n /** At the end of the programme, at unload, or when removed during one. */\n stop(): void;\n}\n\nexport interface Trackers {\n /** Adds a tracker; during a programme, it starts at once. */\n add(tracker: Tracker): void;\n /** Removes a tracker; during a programme, it stops at once. False when it was not there. */\n delete(tracker: Tracker): boolean;\n has(tracker: Tracker): boolean;\n /** The trackers, in the order they were added. */\n readonly list: readonly Tracker[];\n}\n\nexport interface PlayerHost extends HTMLElement {\n readonly video: HTMLVideoElement;\n readonly engine: Mattebox | null;\n readonly player: Player | null;\n /** The fatal error of the current load, or null: a control attached after the event still sees it. */\n readonly error: PlayerError | null;\n /** What `block()` set, or null: a control attached after `blockchange` still sees it. */\n readonly blocked: Block | null;\n /** The ranges the page named: credits to skip, parts that must not play. */\n readonly markers: Markers;\n /** Where the programme's ad breaks are, for the seek bar, by owner. */\n readonly breaks: BreakMarks;\n /** What the current load resolved to, with what a connector said of the programme; null without one. */\n readonly programme: Programme | null;\n /** The sources to load when there is no `src` attribute; setting it loads them. */\n sources: readonly ProgrammeSource[] | null;\n /** The page's trackers, started at each programme. */\n readonly trackers: Trackers;\n /** Loads the sources again, in the order a load reads them. */\n retry(): void;\n /** The other versions of the picture the source names at their own URLs. */\n readonly videoSources: readonly SourceVideoTrack[];\n /** The version of `videoSources` that plays, or null for the source itself. */\n readonly videoSource: SourceVideoTrack | null;\n selectVideoSource(track: SourceVideoTrack | null): void;\n /** Loads another source of the same programme in place, holding the frame and the controls. */\n switchSource(source: Source): void;\n /** Plays a source in the programme's place, such as an ad; no `sourcechange` fires. */\n interrupt(source: Source): Promise<void>;\n /** Plays the programme again where `interrupt` left it. */\n resume(options?: { readonly at?: number | null; readonly playing?: boolean }): Promise<void>;\n /** `interrupt` plays in the programme's place. */\n readonly interrupted: boolean;\n /** The language tag the words come from, or empty for English. */\n readonly locale: string;\n /**\n * The word of `id` in the player's language, or undefined, where the\n * control's own English applies. The player fires `localechange` when\n * the words change.\n */\n message(id: keyof Messages): string | undefined;\n}\n\n/**\n * A package that adds to every player: the engine stages it needs, which\n * join whatever stack the player builds, and what it does on each player.\n * `@mattebox/player-ads` is one: it adds the `interstitials` stage and\n * draws the ad controls.\n */\nexport interface PlayerAddon {\n readonly name: string;\n /** Fresh stages for each engine. A stage the stack has already, by name, is not added twice. */\n stages?(): readonly Stage[];\n /**\n * The add-on needs the engine: where MediaSource plays HLS, Safari's own\n * HLS is not preferred, since it reports nothing the add-on reads.\n */\n readonly engine?: boolean;\n /** Runs when a player connects, and the function it returns when it leaves the page. */\n attach?(player: PlayerHost): (() => void) | undefined;\n}\n\n/** The parent, or the host of the shadow root `node` sits in, or null at the document. */\nfunction above(node: Node): Node | null {\n const parent = node.parentNode;\n if (parent !== null) return parent;\n return node instanceof ShadowRoot ? node.host : null;\n}\n\n/**\n * The nearest player above `node`, through shadow hosts, or null outside\n * one. The element found may not be upgraded yet; the caller waits for the\n * definition before reading it.\n */\nexport function findPlayer(node: Node): HTMLElement | null {\n let current: Node | null = node;\n while (current !== null) {\n if (current instanceof HTMLElement && current.localName === PLAYER) return current;\n current = above(current);\n }\n return null;\n}\n"],"mappings":";;;AAiHA,SAAS,MAAM,MAAyB;CACtC,MAAM,SAAS,KAAK;CACpB,IAAI,WAAW,MAAM,OAAO;CAC5B,OAAO,gBAAgB,aAAa,KAAK,OAAO;AAClD;;;;;;AAOA,SAAgB,WAAW,MAAgC;CACzD,IAAI,UAAuB;CAC3B,OAAO,YAAY,MAAM;EACvB,IAAI,mBAAmB,eAAe,QAAQ,cAAA,mBAAsB,OAAO;EAC3E,UAAU,MAAM,OAAO;CACzB;CACA,OAAO;AACT"}
|
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ import type { MbxVideoMenu } from './entries/video-menu.js';
|
|
|
34
34
|
import type { MbxVolume } from './entries/volume.js';
|
|
35
35
|
import type { MbxVolumeSlider } from './entries/volume-slider.js';
|
|
36
36
|
export type { Connector, ConnectorSource, Programme, ProgrammeMetadata, ProgrammeSource, Resolution, Source, SourceDrm, } from '@mattebox/player-core';
|
|
37
|
+
export type { BreakMark, BreakMarks } from './controls/breaks.js';
|
|
37
38
|
export type { Marker, Markers } from './controls/markers.js';
|
|
38
39
|
export type { MatteboxPlayerOptions } from './element-entry.js';
|
|
39
40
|
export { MatteboxPlayerElement } from './element-entry.js';
|
|
@@ -65,7 +66,7 @@ export { MbxTitle } from './entries/title.js';
|
|
|
65
66
|
export { MbxVideoMenu } from './entries/video-menu.js';
|
|
66
67
|
export { MbxVolume } from './entries/volume.js';
|
|
67
68
|
export { MbxVolumeSlider } from './entries/volume-slider.js';
|
|
68
|
-
export type { Block, PlayerHost } from './host.js';
|
|
69
|
+
export type { Block, PlayerAddon, PlayerHost } from './host.js';
|
|
69
70
|
export type { DeviceIdOptions } from './ids.js';
|
|
70
71
|
export { deviceId, sessionId } from './ids.js';
|
|
71
72
|
export type { LocaleSource } from './locales.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAA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AC7B,mBAAmB,EAAE,eAAe,CAAC;KACtC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mattebox/player",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "A <mattebox-player> custom element over @mattebox/player-core.",
|
|
5
5
|
"author": "Josep Boix Requesens",
|
|
6
6
|
"repository": {
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"release:ci": "semantic-release"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@mattebox/player-core": "^0.
|
|
80
|
+
"@mattebox/player-core": "^0.9.0"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
|
-
"mattebox": "^0.
|
|
83
|
+
"mattebox": "^0.17.1"
|
|
84
84
|
}
|
|
85
85
|
}
|