@clickview/player 0.0.11 → 0.0.12-rc.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/libs/analytics/src/clients/CollectionApiClient.d.ts +2 -2
- package/dist/libs/analytics/src/interfaces/{User.d.ts → AnalyticsUser.d.ts} +3 -3
- package/dist/libs/analytics/src/interfaces/index.d.ts +1 -1
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +1 -0
- package/dist/player-app.css +1 -1
- package/dist/player-app.js +2 -2
- 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/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/subs-caps-button/SubCapsMenuItem.d.ts +2 -2
- package/dist/projects/player/src/components/subs-caps-button/subtitle-search-menu-item.d.ts +2 -2
- package/dist/projects/player/src/components/subs-caps-button/subtitle-size-menu-item.d.ts +2 -2
- 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/player.d.ts +1 -1
- 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/engagement-overlay-plugin/components/engagement-overlay/engagement-overlay.d.ts +2 -2
- package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-items.d.ts +2 -2
- package/dist/projects/player/src/plugins/next-video-plugin/next-video-plugin.d.ts +2 -2
- package/dist/projects/player/src/plugins/points-of-interest-plugin/components/point-of-interest-indicator/point-of-interest-indicator.d.ts +2 -2
- package/dist/projects/player/src/plugins/touch-controls-plugin/components/touch-controls/touch-controls.d.ts +2 -2
- 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 +3 -0
- package/package.json +71 -71
|
@@ -2,7 +2,7 @@ import 'whatwg-fetch';
|
|
|
2
2
|
import { IncomingEvent } from 'libs/analytics/models/CollectionEvent';
|
|
3
3
|
import { HashObject } from 'libs/analytics/interfaces/HashObject';
|
|
4
4
|
import { RegionalUrl } from 'libs/analytics/interfaces/RegionalUrl';
|
|
5
|
-
import {
|
|
5
|
+
import { AnalyticsUser } from 'libs/analytics/interfaces/AnalyticsUser';
|
|
6
6
|
import { RegionName } from 'libs/analytics/enums/RegionName';
|
|
7
7
|
interface CollectionApiClientOptions {
|
|
8
8
|
productName: string;
|
|
@@ -10,7 +10,7 @@ interface CollectionApiClientOptions {
|
|
|
10
10
|
regionName: RegionName;
|
|
11
11
|
collectionApiUrls: RegionalUrl;
|
|
12
12
|
collectionApiClientId: string;
|
|
13
|
-
getUser: () => Promise<
|
|
13
|
+
getUser: () => Promise<AnalyticsUser>;
|
|
14
14
|
shouldLog?: (event: IncomingEvent) => boolean;
|
|
15
15
|
formatData?: (event: IncomingEvent) => HashObject | HashObject[];
|
|
16
16
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { BaseObject } from 'libs/analytics/interfaces';
|
|
2
1
|
export declare enum UserGroup {
|
|
3
2
|
Staff = "staff",
|
|
4
3
|
Learner = "learner",
|
|
5
4
|
Unknown = "unknown"
|
|
6
5
|
}
|
|
7
|
-
export interface
|
|
6
|
+
export interface AnalyticsUser {
|
|
7
|
+
id?: string;
|
|
8
8
|
countryCode?: string;
|
|
9
9
|
contentRegion?: string;
|
|
10
10
|
instanceRegion?: string;
|
|
11
11
|
customerId?: string;
|
|
12
12
|
customerGuid?: string;
|
|
13
13
|
customerName?: string;
|
|
14
|
-
crmId?:
|
|
14
|
+
crmId?: string;
|
|
15
15
|
role?: string;
|
|
16
16
|
userGroup?: UserGroup;
|
|
17
17
|
yearGroup?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseObject, Country, ContentRegionObject, Organisation, Logo } from 'libs/shared/interfaces';
|
|
2
2
|
export interface Customer extends BaseObject {
|
|
3
3
|
crmId: string;
|
|
4
|
+
customerGuid?: string;
|
|
4
5
|
instanceRegion: string;
|
|
5
6
|
contentRegion: ContentRegionObject;
|
|
6
7
|
organisation?: Organisation;
|
package/dist/player-app.css
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
.cv-chapters-button+.vjs-menu .vjs-menu-content{max-width:30%}.cv-chapters-button+.vjs-menu .vjs-menu-title{text-align:left;padding:0.4em 0.8em;text-transform:none;font-weight:normal;font-size:1.2em;margin:0}.video-js .vjs-chapters-button .vjs-icon-placeholder:before{font-family:CVPlayer;content:"\f106"}
|
|
42
42
|
|
|
43
|
-
.video-js .cv-collapsorator .vjs-subs-caps-button .vjs-icon-placeholder:before{font-family:CVPlayer;content:"
|
|
43
|
+
.video-js .cv-collapsorator .vjs-subs-caps-button .vjs-icon-placeholder:before{font-family:CVPlayer;content:"\f105" !important}.video-js .cv-subtitle-search-menu-item:before{font-family:CVPlayer;content:"\f120";position:absolute;left:0.1em;width:1em;height:1em;display:inline-block;font-size:1.6em}.video-js .cv-subtitle-size-menu-item:before{content:"Aa";position:absolute;left:0.4em;width:1em;height:1em;display:inline-block;font-style:italic}
|
|
44
44
|
|
|
45
45
|
.video-js .cv-quality-button{cursor:pointer}.video-js .cv-quality-button .vjs-icon-placeholder::before{font-family:CVPlayer !important;content:'\f103'}.video-js .vjs-quality-button .vjs-local-cache-indicator-icon{position:absolute;width:1.8em;height:1.8em;top:50%;right:0;margin-top:-0.9em}
|
|
46
46
|
|