@clickview/player 0.0.11-rc.5 → 0.0.12-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.
@@ -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 { User } from 'libs/analytics/interfaces/User';
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<User>;
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 User extends BaseObject {
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?: number;
14
+ crmId?: string;
15
15
  role?: string;
16
16
  userGroup?: UserGroup;
17
17
  yearGroup?: string;
@@ -1,5 +1,5 @@
1
1
  export * from './AnalyticsTypes';
2
- export * from './User';
2
+ export * from './AnalyticsUser';
3
3
  export * from './Config';
4
4
  export * from './Owner';
5
5
  export * from './Folder';
@@ -30,7 +30,7 @@ export interface CollectionEventUserData {
30
30
  country: CountryCode;
31
31
  region: Region;
32
32
  customerGuid: string;
33
- crmId: number;
33
+ crmId: string;
34
34
  openCustomer: boolean;
35
35
  };
36
36
  }
@@ -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;
@@ -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:"" !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}
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