@clickview/player 0.0.5-dev.0 → 0.0.5-rc.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.
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +2 -21
- package/dist/libs/common/src/backbone/core/AppLink.d.ts +4 -0
- package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +2 -2
- package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +1 -2
- package/dist/libs/shared/src/enums/MasterType.d.ts +0 -1
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/models/User.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/models/interactive-results/StudentResult.d.ts +1 -2
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +1 -2
- package/dist/player-app.css +11 -9
- package/dist/player-app.js +13 -13
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-item.d.ts +2 -2
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-items.d.ts +2 -2
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-load-progress.d.ts +2 -2
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-play-progress.d.ts +2 -2
- package/dist/projects/player/src/components/chapters-button/chapter-menu-item.d.ts +2 -2
- package/dist/projects/player/src/components/cog-button/cog-button.d.ts +1 -0
- package/dist/projects/player/src/components/landing-splash/landing-splash.d.ts +2 -2
- package/dist/projects/player/src/components/landing-splash/metadata/splash-metadata.d.ts +2 -2
- package/dist/projects/player/src/components/landing-splash/metadata/splash-title/splash-title.d.ts +2 -2
- package/dist/projects/player/src/components/landing-splash/metadata/splash-warning/splash-warning.d.ts +2 -2
- package/dist/projects/player/src/components/menu/menu.d.ts +0 -7
- package/dist/projects/player/src/components/player/player.d.ts +0 -4
- package/dist/projects/player/src/components/subs-caps-button/SubCapsMenuItem.d.ts +2 -2
- package/dist/projects/player/src/components/subs-caps-button/subtitle-search-menu-item.d.ts +3 -4
- package/dist/projects/player/src/components/subs-caps-button/subtitle-size-menu-item.d.ts +2 -2
- package/dist/projects/player/src/components/subtitle-search-button/subtitle-search-button.d.ts +0 -1
- package/dist/projects/player/src/components/text-track-settings/text-track-settings.d.ts +2 -2
- package/dist/projects/player/src/components/thumbnail-display/thumbnail-display.d.ts +2 -2
- package/dist/projects/player/src/players/base-player.d.ts +2 -9
- package/dist/projects/player/src/players/interactive-player.d.ts +0 -4
- package/dist/projects/player/src/players/player.d.ts +5 -0
- package/dist/projects/player/src/plugins/chromecast-plugin/session-manager.d.ts +2 -2
- package/dist/projects/player/src/plugins/chromecast-plugin/tech/chromecast-tech-ui/chromecast-tech-ui.d.ts +2 -2
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector-handle.d.ts +2 -2
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector.d.ts +2 -2
- package/dist/projects/player/src/plugins/example-plugin/components/example-button/example-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/example-plugin/components/example-react-button/example-react-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/example-plugin/example-plugin.d.ts +2 -0
- package/dist/projects/player/src/plugins/fullscreen-on-rotate-plugin/fullscreen-on-rotate-plugin.d.ts +0 -29
- package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-items.d.ts +2 -2
- package/dist/projects/player/src/plugins/interactive-plugin/hooks/useStateManager.d.ts +0 -2
- package/dist/projects/player/src/plugins/interactive-plugin/interactive-plugin.d.ts +0 -2
- package/dist/projects/player/src/plugins/next-video-plugin/next-video-plugin.d.ts +1 -1
- package/dist/projects/player/src/plugins/open-externally-plugin/open-externally-plugin.d.ts +0 -30
- package/dist/projects/player/src/plugins/persist-subtitle-settings-plugin/persist-subtitle-settings-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.d.ts +0 -25
- package/dist/projects/player/src/plugins/picture-in-picture-plugin/picture-in-picture-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/progressive-files-plugin/progressive-files-plugin.d.ts +0 -3
- package/dist/projects/player/src/plugins/touch-controls-plugin/components/touch-controls/touch-controls.d.ts +2 -2
- package/dist/projects/player/src/plugins/touch-controls-plugin/touch-controls-plugin.d.ts +0 -40
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/drag-handle/drag-handle.d.ts +2 -2
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/drag-targets/drag-targets.d.ts +2 -2
- package/dist/projects/player/src/services/analytics-service.d.ts +1 -5
- package/dist/projects/player/src/utils/scrollbar-helper.d.ts +6 -0
- package/package.json +3 -3
|
@@ -14,7 +14,7 @@ declare const Component: {
|
|
|
14
14
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const Component: {
|
|
|
22
22
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
|
@@ -15,7 +15,7 @@ declare const Component: {
|
|
|
15
15
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
16
16
|
prototype: videojs.ModalDialog;
|
|
17
17
|
};
|
|
18
|
-
getComponent(name: "
|
|
18
|
+
getComponent(name: "Menu" | "menu"): {
|
|
19
19
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
20
20
|
prototype: videojs.Menu;
|
|
21
21
|
};
|
|
@@ -23,7 +23,7 @@ declare const Component: {
|
|
|
23
23
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
24
24
|
prototype: videojs.MenuButton;
|
|
25
25
|
};
|
|
26
|
-
getComponent(name: "
|
|
26
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
27
27
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
28
28
|
prototype: videojs.MenuItem;
|
|
29
29
|
};
|
package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-load-progress.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const Component: {
|
|
|
14
14
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const Component: {
|
|
|
22
22
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-play-progress.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const Component: {
|
|
|
14
14
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const Component: {
|
|
|
22
22
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
|
@@ -15,7 +15,7 @@ declare const ChaptersTrackMenuItem: {
|
|
|
15
15
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
16
16
|
prototype: videojs.ModalDialog;
|
|
17
17
|
};
|
|
18
|
-
getComponent(name: "
|
|
18
|
+
getComponent(name: "Menu" | "menu"): {
|
|
19
19
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
20
20
|
prototype: videojs.Menu;
|
|
21
21
|
};
|
|
@@ -23,7 +23,7 @@ declare const ChaptersTrackMenuItem: {
|
|
|
23
23
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
24
24
|
prototype: videojs.MenuButton;
|
|
25
25
|
};
|
|
26
|
-
getComponent(name: "
|
|
26
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
27
27
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
28
28
|
prototype: videojs.MenuItem;
|
|
29
29
|
};
|
|
@@ -28,6 +28,7 @@ export declare class CogButton extends MenuButton {
|
|
|
28
28
|
constructor(player: VideoJsPlayer, options: CogButtonOptions);
|
|
29
29
|
buildWrapperCSSClass(): string;
|
|
30
30
|
buildCSSClass(): string;
|
|
31
|
+
pressButton(): void;
|
|
31
32
|
/**
|
|
32
33
|
* Create the list of menu items. Specific to each subclass.
|
|
33
34
|
*
|
|
@@ -15,7 +15,7 @@ declare const Component: {
|
|
|
15
15
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
16
16
|
prototype: videojs.ModalDialog;
|
|
17
17
|
};
|
|
18
|
-
getComponent(name: "
|
|
18
|
+
getComponent(name: "Menu" | "menu"): {
|
|
19
19
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
20
20
|
prototype: videojs.Menu;
|
|
21
21
|
};
|
|
@@ -23,7 +23,7 @@ declare const Component: {
|
|
|
23
23
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
24
24
|
prototype: videojs.MenuButton;
|
|
25
25
|
};
|
|
26
|
-
getComponent(name: "
|
|
26
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
27
27
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
28
28
|
prototype: videojs.MenuItem;
|
|
29
29
|
};
|
|
@@ -14,7 +14,7 @@ declare const Component: {
|
|
|
14
14
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const Component: {
|
|
|
22
22
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
package/dist/projects/player/src/components/landing-splash/metadata/splash-title/splash-title.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const Component: {
|
|
|
14
14
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const Component: {
|
|
|
22
22
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
|
@@ -14,7 +14,7 @@ declare const Component: {
|
|
|
14
14
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const Component: {
|
|
|
22
22
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
|
@@ -5,13 +5,6 @@ declare const BaseMenu: {
|
|
|
5
5
|
};
|
|
6
6
|
export declare class Menu extends BaseMenu {
|
|
7
7
|
isDisposed_: boolean;
|
|
8
|
-
private simpleBar;
|
|
9
|
-
createEl(): HTMLDivElement;
|
|
10
|
-
contentEl(): Element;
|
|
11
|
-
dispose(): void;
|
|
12
|
-
addItem(component: string | videojs.MenuItem): void;
|
|
13
|
-
lockShowing(): void;
|
|
14
|
-
recalculateScrollBar(): void;
|
|
15
8
|
/**
|
|
16
9
|
* The video.js Menu handleBlur function checks if the target is an immediate child
|
|
17
10
|
* but we have scenarios where the target is not an immediate child
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { VideoJsPlayerOptions } from 'video.js';
|
|
2
1
|
import './player.scss';
|
|
3
2
|
export declare const IS_IPOD: boolean;
|
|
4
3
|
export declare const IS_ANDROID: boolean;
|
|
5
|
-
export interface PlayerWrapperOptions extends VideoJsPlayerOptions {
|
|
6
|
-
setMaxHeight?: boolean;
|
|
7
|
-
}
|
|
8
4
|
declare module 'video.js' {
|
|
9
5
|
interface VideoJsPlayer {
|
|
10
6
|
lock(callback: (success: () => void) => void): void;
|
|
@@ -14,7 +14,7 @@ declare const SubCapsMenuItem: {
|
|
|
14
14
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const SubCapsMenuItem: {
|
|
|
22
22
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
|
@@ -14,7 +14,7 @@ declare const TextTrackMenuItem: {
|
|
|
14
14
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const TextTrackMenuItem: {
|
|
|
22
22
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
|
@@ -48,8 +48,7 @@ declare const TextTrackMenuItem: {
|
|
|
48
48
|
};
|
|
49
49
|
export declare class SubtitleSearchMenuItem extends TextTrackMenuItem {
|
|
50
50
|
constructor(player: VideoJsPlayer);
|
|
51
|
-
private
|
|
52
|
-
private bindTrackEvents;
|
|
51
|
+
private toggleHidden;
|
|
53
52
|
handleClick(): void;
|
|
54
53
|
}
|
|
55
54
|
export {};
|
|
@@ -14,7 +14,7 @@ declare const TextTrackMenuItem: {
|
|
|
14
14
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const TextTrackMenuItem: {
|
|
|
22
22
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
package/dist/projects/player/src/components/subtitle-search-button/subtitle-search-button.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ declare const MenuButton: {
|
|
|
8
8
|
};
|
|
9
9
|
export declare class SubtitleSearchButton extends MenuButton implements CollapsibleComponent {
|
|
10
10
|
constructor(player: VideoJsPlayer, options?: videojs.MenuButtonOptions);
|
|
11
|
-
private bindTrackEvents;
|
|
12
11
|
createItems(): SubtitleResultMenuItem[];
|
|
13
12
|
search(text: string): void;
|
|
14
13
|
private findMatches;
|
|
@@ -14,7 +14,7 @@ declare const BaseTextTrackSettings: {
|
|
|
14
14
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const BaseTextTrackSettings: {
|
|
|
22
22
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
|
@@ -15,7 +15,7 @@ declare const Component: {
|
|
|
15
15
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
16
16
|
prototype: videojs.ModalDialog;
|
|
17
17
|
};
|
|
18
|
-
getComponent(name: "
|
|
18
|
+
getComponent(name: "Menu" | "menu"): {
|
|
19
19
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
20
20
|
prototype: videojs.Menu;
|
|
21
21
|
};
|
|
@@ -23,7 +23,7 @@ declare const Component: {
|
|
|
23
23
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
24
24
|
prototype: videojs.MenuButton;
|
|
25
25
|
};
|
|
26
|
-
getComponent(name: "
|
|
26
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
27
27
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
28
28
|
prototype: videojs.MenuItem;
|
|
29
29
|
};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { VideoJsPlayer } from 'video.js';
|
|
1
|
+
import { VideoJsPlayer, VideoJsPlayerOptions } from 'video.js';
|
|
2
2
|
import 'videojs-contrib-quality-levels';
|
|
3
|
-
import 'projects/player/plugins/persist-volume-plugin/persist-volume-plugin';
|
|
4
|
-
import 'projects/player/plugins/fullscreen-on-rotate-plugin/fullscreen-on-rotate-plugin';
|
|
5
|
-
import 'projects/player/plugins/open-externally-plugin/open-externally-plugin';
|
|
6
|
-
import 'projects/player/plugins/touch-controls-plugin/touch-controls-plugin';
|
|
7
3
|
import 'projects/player/plugins/progressive-files-plugin/progressive-files-plugin';
|
|
8
4
|
import 'projects/player/plugins/localcache-plugin/localcache-plugin';
|
|
9
5
|
import 'projects/player/plugins/persist-subtitle-settings-plugin/persist-subtitle-settings-plugin';
|
|
@@ -36,8 +32,6 @@ import { ExternalLinkOptions } from 'projects/player/plugins/open-externally-plu
|
|
|
36
32
|
import { PlaybackObject } from 'projects/player/interfaces/models/PlaybackObject';
|
|
37
33
|
import { AnalyticsPlayerType, AnalyticsService } from 'projects/player/services/analytics-service';
|
|
38
34
|
import { ProgressEvent } from 'projects/player/plugins/progress-reporter-plugin/progress-reporter-plugin';
|
|
39
|
-
import { PlayerWrapperOptions } from 'projects/player/components/player/player';
|
|
40
|
-
import { HashObject } from 'libs/analytics/interfaces';
|
|
41
35
|
export interface BasePlayerOptions {
|
|
42
36
|
autoplay?: boolean;
|
|
43
37
|
viewKey: string;
|
|
@@ -74,12 +68,11 @@ export declare abstract class BasePlayer {
|
|
|
74
68
|
protected configurePlugins(): void;
|
|
75
69
|
protected onFlushProgress(events: ProgressEvent[]): void;
|
|
76
70
|
protected buildVideoJs(): VideoJsPlayer;
|
|
77
|
-
protected getPlayerOptions():
|
|
71
|
+
protected getPlayerOptions(): VideoJsPlayerOptions;
|
|
78
72
|
protected fetch(): Promise<void>;
|
|
79
73
|
private fetchConfig;
|
|
80
74
|
protected additionalSetup(playbackObject: PlaybackObject): void;
|
|
81
75
|
private setupAnalyticsService;
|
|
82
|
-
protected getAdditionalAnalyticsData(playbackObject: PlaybackObject): HashObject;
|
|
83
76
|
protected logStream(): void;
|
|
84
77
|
protected getAnalyticsPlayerType(): AnalyticsPlayerType;
|
|
85
78
|
protected createEl(id: string | Element): HTMLVideoElement;
|
|
@@ -6,8 +6,6 @@ import { PlaybackObject } from 'projects/player/interfaces/models/PlaybackObject
|
|
|
6
6
|
import { AnalyticsPlayerType } from 'projects/player/services/analytics-service';
|
|
7
7
|
import { ProgressEvent } from 'projects/player/plugins/progress-reporter-plugin/progress-reporter-plugin';
|
|
8
8
|
import 'projects/player/plugins/interactive-plugin/interactive-plugin';
|
|
9
|
-
import { PlayerWrapperOptions } from '../components/player/player';
|
|
10
|
-
import { HashObject } from 'libs/analytics/interfaces';
|
|
11
9
|
export interface InteractivePlayerOptions extends BasePlayerOptions {
|
|
12
10
|
mode?: InteractiveMode;
|
|
13
11
|
imageApi?: URL;
|
|
@@ -23,12 +21,10 @@ export declare class InteractivePlayer extends BasePlayer {
|
|
|
23
21
|
private resultsService;
|
|
24
22
|
private totalProgress;
|
|
25
23
|
constructor(id: string | Element, options: InteractivePlayerOptions);
|
|
26
|
-
protected getPlayerOptions(): PlayerWrapperOptions;
|
|
27
24
|
protected onFlushProgress(events: ProgressEvent[]): void;
|
|
28
25
|
protected additionalSetup(playbackObject: PlaybackObject): Promise<void>;
|
|
29
26
|
private setupUpClipPlugin;
|
|
30
27
|
private setupViewInteractivePlugin;
|
|
31
|
-
protected getAdditionalAnalyticsData(playbackObject: PlaybackObject): HashObject;
|
|
32
28
|
protected getSeekBarOptions(): any;
|
|
33
29
|
protected getAnalyticsPlayerType(): AnalyticsPlayerType;
|
|
34
30
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { BasePlayer, BasePlayerOptions } from './base-player';
|
|
2
|
+
import 'projects/player/plugins/example-plugin/example-plugin';
|
|
3
|
+
import 'projects/player/plugins/persist-volume-plugin/persist-volume-plugin';
|
|
4
|
+
import 'projects/player/plugins/fullscreen-on-rotate-plugin/fullscreen-on-rotate-plugin';
|
|
5
|
+
import 'projects/player/plugins/open-externally-plugin/open-externally-plugin';
|
|
2
6
|
import 'projects/player/plugins/clip-plugin/clip-plugin';
|
|
7
|
+
import 'projects/player/plugins/touch-controls-plugin/touch-controls-plugin';
|
|
3
8
|
import 'projects/player/plugins/next-video-plugin/next-video-plugin';
|
|
4
9
|
import 'projects/player/plugins/create-clip-button-plugin/create-clip-button-plugin';
|
|
5
10
|
import 'projects/player/plugins/resources-plugin/resources-plugin';
|
|
@@ -15,7 +15,7 @@ declare const Component: {
|
|
|
15
15
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
16
16
|
prototype: videojs.ModalDialog;
|
|
17
17
|
};
|
|
18
|
-
getComponent(name: "
|
|
18
|
+
getComponent(name: "Menu" | "menu"): {
|
|
19
19
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
20
20
|
prototype: videojs.Menu;
|
|
21
21
|
};
|
|
@@ -23,7 +23,7 @@ declare const Component: {
|
|
|
23
23
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
24
24
|
prototype: videojs.MenuButton;
|
|
25
25
|
};
|
|
26
|
-
getComponent(name: "
|
|
26
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
27
27
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
28
28
|
prototype: videojs.MenuItem;
|
|
29
29
|
};
|
|
@@ -15,7 +15,7 @@ declare const Component: {
|
|
|
15
15
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
16
16
|
prototype: videojs.ModalDialog;
|
|
17
17
|
};
|
|
18
|
-
getComponent(name: "
|
|
18
|
+
getComponent(name: "Menu" | "menu"): {
|
|
19
19
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
20
20
|
prototype: videojs.Menu;
|
|
21
21
|
};
|
|
@@ -23,7 +23,7 @@ declare const Component: {
|
|
|
23
23
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
24
24
|
prototype: videojs.MenuButton;
|
|
25
25
|
};
|
|
26
|
-
getComponent(name: "
|
|
26
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
27
27
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
28
28
|
prototype: videojs.MenuItem;
|
|
29
29
|
};
|
|
@@ -14,7 +14,7 @@ declare const Component: {
|
|
|
14
14
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const Component: {
|
|
|
22
22
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: import("video.js").VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
|
@@ -14,7 +14,7 @@ declare const Component: {
|
|
|
14
14
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
15
15
|
prototype: videojs.ModalDialog;
|
|
16
16
|
};
|
|
17
|
-
getComponent(name: "
|
|
17
|
+
getComponent(name: "Menu" | "menu"): {
|
|
18
18
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
19
19
|
prototype: videojs.Menu;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const Component: {
|
|
|
22
22
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
23
23
|
prototype: videojs.MenuButton;
|
|
24
24
|
};
|
|
25
|
-
getComponent(name: "
|
|
25
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
26
26
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
27
27
|
prototype: videojs.MenuItem;
|
|
28
28
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './example-button.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,30 +1 @@
|
|
|
1
|
-
import videojs, { VideoJsPlayer } from 'video.js';
|
|
2
|
-
declare const Plugin: {
|
|
3
|
-
new (player: VideoJsPlayer, options?: any): videojs.Plugin;
|
|
4
|
-
prototype: videojs.Plugin;
|
|
5
|
-
BASE_PLUGIN_NAME: string;
|
|
6
|
-
deregisterPlugin(name: string): void;
|
|
7
|
-
getPlugin(name: string): any;
|
|
8
|
-
getPluginVersion(name: string): string;
|
|
9
|
-
getPlugins(names?: string[]): {
|
|
10
|
-
[name: string]: videojs.Plugin;
|
|
11
|
-
};
|
|
12
|
-
isBasic(plugin: string | (() => any)): boolean;
|
|
13
|
-
registerPlugin<T, K>(name: string, plugin: (this: VideoJsPlayer, ...options: K[]) => T): (...options: K[]) => T;
|
|
14
|
-
registerPlugin<T_1 extends any>(name: string, plugin: T_1): () => T_1;
|
|
15
|
-
};
|
|
16
|
-
declare class FullscreenOnRotatePlugin extends Plugin {
|
|
17
|
-
constructor(player: VideoJsPlayer);
|
|
18
|
-
private initialize;
|
|
19
|
-
private onFullscreenChange;
|
|
20
|
-
private onRotate;
|
|
21
|
-
private hasScreenOrientation;
|
|
22
|
-
private hasScreenLock;
|
|
23
|
-
private getAngle;
|
|
24
|
-
}
|
|
25
|
-
declare module 'video.js' {
|
|
26
|
-
interface VideoJsPlayer {
|
|
27
|
-
fullscreenOnRotatePlugin(): FullscreenOnRotatePlugin;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
1
|
export {};
|
|
@@ -16,7 +16,7 @@ declare const Component: {
|
|
|
16
16
|
new (player: VideoJsPlayer, options?: videojs.ModalDialogOptions): videojs.ModalDialog;
|
|
17
17
|
prototype: videojs.ModalDialog;
|
|
18
18
|
};
|
|
19
|
-
getComponent(name: "
|
|
19
|
+
getComponent(name: "Menu" | "menu"): {
|
|
20
20
|
new (player: VideoJsPlayer, options?: videojs.MenuOptions): videojs.Menu;
|
|
21
21
|
prototype: videojs.Menu;
|
|
22
22
|
};
|
|
@@ -24,7 +24,7 @@ declare const Component: {
|
|
|
24
24
|
new (player: VideoJsPlayer, options?: videojs.MenuButtonOptions): videojs.MenuButton;
|
|
25
25
|
prototype: videojs.MenuButton;
|
|
26
26
|
};
|
|
27
|
-
getComponent(name: "
|
|
27
|
+
getComponent(name: "MenuItem" | "menuitem"): {
|
|
28
28
|
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
29
29
|
prototype: videojs.MenuItem;
|
|
30
30
|
};
|
|
@@ -2,7 +2,6 @@ import { VideoJsPlayer } from 'video.js';
|
|
|
2
2
|
import { Interaction, InteractionTypeId, Interactive, Timepoint } from 'libs/shared/interfaces';
|
|
3
3
|
import { InteractiveMode, LatestSession } from 'projects/player/plugins/interactive-plugin/interfaces';
|
|
4
4
|
import { ResultsService } from 'projects/player/plugins/interactive-plugin/utils/ResultsService';
|
|
5
|
-
import { AnalyticsService } from 'projects/player/services/analytics-service';
|
|
6
5
|
interface UseStateManagerProps {
|
|
7
6
|
mode: InteractiveMode;
|
|
8
7
|
timepoint: Timepoint;
|
|
@@ -10,7 +9,6 @@ interface UseStateManagerProps {
|
|
|
10
9
|
player: VideoJsPlayer;
|
|
11
10
|
resultsService?: ResultsService;
|
|
12
11
|
latestSession?: LatestSession;
|
|
13
|
-
analyticsService: AnalyticsService;
|
|
14
12
|
setOpen: (open: boolean) => void;
|
|
15
13
|
addCue: (timepointId: string) => void;
|
|
16
14
|
updateCue: (oldTimepointId: string, timepointId: string) => void;
|
|
@@ -4,7 +4,6 @@ import { CurrentUser, Interactive } from 'libs/shared/interfaces';
|
|
|
4
4
|
import { InteractiveMode, LatestSession } from 'projects/player/plugins/interactive-plugin/interfaces';
|
|
5
5
|
import { ResultsService } from 'projects/player/plugins/interactive-plugin/utils/ResultsService';
|
|
6
6
|
import { ProgressEvent } from 'projects/player/plugins/progress-reporter-plugin/progress-reporter-plugin';
|
|
7
|
-
import { AnalyticsService } from 'projects/player/services/analytics-service';
|
|
8
7
|
import 'projects/player/plugins/interactive-plugin/components/interactive/interactive-component';
|
|
9
8
|
import 'projects/player/plugins/interactive-plugin/components/continue-session/continue-session';
|
|
10
9
|
import './interactive-plugin-styles.scss';
|
|
@@ -33,7 +32,6 @@ interface InteractivePluginOptions {
|
|
|
33
32
|
progress?: ProgressEvent[];
|
|
34
33
|
latestSession?: LatestSession;
|
|
35
34
|
clipOffset?: number;
|
|
36
|
-
analyticsService: AnalyticsService;
|
|
37
35
|
}
|
|
38
36
|
declare class InteractivePlugin extends Plugin {
|
|
39
37
|
private options;
|
|
@@ -30,7 +30,7 @@ declare class NextVideoPlugin extends Plugin {
|
|
|
30
30
|
setShouldPlayNext(val: boolean): void;
|
|
31
31
|
private setChapterTrack;
|
|
32
32
|
private bindListeners;
|
|
33
|
-
|
|
33
|
+
private unbindListeners;
|
|
34
34
|
private onTimeUpdate;
|
|
35
35
|
private showUpNext;
|
|
36
36
|
private hideUpNext;
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
import videojs, { VideoJsPlayer } from 'video.js';
|
|
2
|
-
import { ExternalLinkOptions } from 'projects/player/plugins/open-externally-plugin/interfaces/ExternalLinkOptions';
|
|
3
1
|
import 'projects/player/plugins/open-externally-plugin/components/open-externally-button';
|
|
4
|
-
declare const Plugin: {
|
|
5
|
-
new (player: VideoJsPlayer, options?: any): videojs.Plugin;
|
|
6
|
-
prototype: videojs.Plugin;
|
|
7
|
-
BASE_PLUGIN_NAME: string;
|
|
8
|
-
deregisterPlugin(name: string): void;
|
|
9
|
-
getPlugin(name: string): any;
|
|
10
|
-
getPluginVersion(name: string): string;
|
|
11
|
-
getPlugins(names?: string[]): {
|
|
12
|
-
[name: string]: videojs.Plugin;
|
|
13
|
-
};
|
|
14
|
-
isBasic(plugin: string | (() => any)): boolean;
|
|
15
|
-
registerPlugin<T, K>(name: string, plugin: (this: VideoJsPlayer, ...options: K[]) => T): (...options: K[]) => T;
|
|
16
|
-
registerPlugin<T_1 extends any>(name: string, plugin: T_1): () => T_1;
|
|
17
|
-
};
|
|
18
|
-
interface OpenExternallyPluginOptions {
|
|
19
|
-
getExternalLink: (options: ExternalLinkOptions) => string;
|
|
20
|
-
}
|
|
21
|
-
declare class OpenExternallyPlugin extends Plugin {
|
|
22
|
-
private options;
|
|
23
|
-
constructor(player: VideoJsPlayer, options: OpenExternallyPluginOptions);
|
|
24
|
-
private onReady;
|
|
25
|
-
}
|
|
26
|
-
declare module 'video.js' {
|
|
27
|
-
interface VideoJsPlayer {
|
|
28
|
-
openExternallyPlugin(oprions: OpenExternallyPluginOptions): OpenExternallyPlugin;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -20,6 +20,7 @@ interface PersistSubtitleSettingsPluginOptions {
|
|
|
20
20
|
}
|
|
21
21
|
declare class PersistSubtitleSettingsPlugin extends Plugin {
|
|
22
22
|
private options;
|
|
23
|
+
private trackGuess;
|
|
23
24
|
constructor(player: VideoJsPlayer, options: PersistSubtitleSettingsPluginOptions);
|
|
24
25
|
private initialize;
|
|
25
26
|
private safeGet;
|