zarebin-player-library 1.1.3 → 1.1.4
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/src/videoPlayerLibrary/shared/helpers/helpers.d.ts +0 -1
- package/dist/src/videoPlayerLibrary/shared/images/importImages.d.ts +0 -1
- package/dist/src/videoPlayerLibrary/shared/interfaces/enums.d.ts +2 -3
- package/dist/src/videoPlayerLibrary/shared/interfaces/interfaces.d.ts +16 -16
- package/dist/src/videoPlayerLibrary/shared/services/services.d.ts +2 -0
- package/dist/zarebin-player-library.css +2 -6
- package/dist/zarebin-player-library.js +349 -57
- package/dist/zarebin-player-library.js.map +1 -1
- package/package.json +1 -1
|
@@ -86,5 +86,4 @@ export declare const sortLanguages: (array: any) => any;
|
|
|
86
86
|
export declare const hexToRGB: (hex: string, alpha?: number) => string;
|
|
87
87
|
export declare const checkIsOnPremise: (baseUrl: string) => string;
|
|
88
88
|
export declare const handle360: () => Promise<View360>;
|
|
89
|
-
export declare const providerHandler: (ignoreSendProvider?: boolean) => string | undefined;
|
|
90
89
|
export declare const getRandomAd: (ads: Ad[]) => Ad;
|
|
@@ -31,8 +31,7 @@ export declare const enum zIndex {
|
|
|
31
31
|
maxPopover = 1000005,
|
|
32
32
|
videoPlayerInPictureInPicture = 1000006,
|
|
33
33
|
trailer = 1000007,
|
|
34
|
-
commentAnswer = 1000008
|
|
35
|
-
ad = 1000001
|
|
34
|
+
commentAnswer = 1000008
|
|
36
35
|
}
|
|
37
36
|
export declare const enum ContentTypes {
|
|
38
37
|
Vod = 0,
|
|
@@ -288,6 +287,7 @@ export declare const enum ConditionName {
|
|
|
288
287
|
has360 = "has360",
|
|
289
288
|
hasRedirectOnEndedUrlParams = "hasRedirectOnEndedUrlParams",
|
|
290
289
|
hasDaaniTokenParams = "hasDaaniTokenParams",
|
|
290
|
+
hasAd = "hasAd",
|
|
291
291
|
getRecommendationList = "getRecommendationList",
|
|
292
292
|
getLiveDetailsInIntervals = "getLiveDetailsInIntervals",
|
|
293
293
|
getDetails = "getDetails",
|
|
@@ -310,7 +310,6 @@ export declare const enum ConditionName {
|
|
|
310
310
|
handleOverflowHidden = "handleOverflowHidden",
|
|
311
311
|
thresholdOnlineViewers = "thresholdOnlineViewers",
|
|
312
312
|
setSubtitleFirstPlay = "setSubtitleFirstPlay",
|
|
313
|
-
hasAd = "hasAd",
|
|
314
313
|
showQuizPopover = "showQuizPopover",
|
|
315
314
|
showUserStatus = "showUserStatus",
|
|
316
315
|
isQuizStatusEqual1 = "isQuizStatusEqual1",
|
|
@@ -91,11 +91,11 @@ export interface IParams {
|
|
|
91
91
|
uuid?: string;
|
|
92
92
|
handleRedirectCards?: (id: string, type: string) => void;
|
|
93
93
|
homeButtonClickFlag?: number | null;
|
|
94
|
+
redirectOnEndedUrl?: string;
|
|
94
95
|
ad?: {
|
|
95
96
|
adUserId: string;
|
|
96
97
|
onAdView?: (ad: Ad) => void;
|
|
97
|
-
}
|
|
98
|
-
redirectOnEndedUrl?: string;
|
|
98
|
+
};
|
|
99
99
|
lang?: "ar" | "fa" | "en";
|
|
100
100
|
}
|
|
101
101
|
export interface IDetails {
|
|
@@ -435,8 +435,21 @@ export interface IVideoDataSlice {
|
|
|
435
435
|
showScreen: boolean;
|
|
436
436
|
trailer: any[];
|
|
437
437
|
hlsLiveSyncPosition: number;
|
|
438
|
-
adData
|
|
438
|
+
adData?: Ad;
|
|
439
439
|
}
|
|
440
|
+
export type Ad = {
|
|
441
|
+
id: number;
|
|
442
|
+
url: string;
|
|
443
|
+
ad_link: string;
|
|
444
|
+
play_weight: number;
|
|
445
|
+
mandatory_play_time: number;
|
|
446
|
+
channel: number;
|
|
447
|
+
banner?: string;
|
|
448
|
+
video_id?: number;
|
|
449
|
+
user_id?: number;
|
|
450
|
+
content_id?: number;
|
|
451
|
+
content_type?: number;
|
|
452
|
+
};
|
|
440
453
|
export interface ISubtitle {
|
|
441
454
|
id: number;
|
|
442
455
|
lang: string;
|
|
@@ -1135,16 +1148,3 @@ export interface ICommentSettingsPopoverProps {
|
|
|
1135
1148
|
y: number;
|
|
1136
1149
|
};
|
|
1137
1150
|
}
|
|
1138
|
-
export type Ad = {
|
|
1139
|
-
id: number;
|
|
1140
|
-
url: string;
|
|
1141
|
-
ad_link: string;
|
|
1142
|
-
play_weight: number;
|
|
1143
|
-
mandatory_play_time: number;
|
|
1144
|
-
channel: number;
|
|
1145
|
-
banner?: string;
|
|
1146
|
-
video_id?: string;
|
|
1147
|
-
user_id?: number | null;
|
|
1148
|
-
content_id?: number;
|
|
1149
|
-
content_type?: number;
|
|
1150
|
-
};
|
|
@@ -11072,6 +11072,8 @@ video {
|
|
|
11072
11072
|
bottom: 85px !important;
|
|
11073
11073
|
}.\!pl-left-0{
|
|
11074
11074
|
left: 0px !important;
|
|
11075
|
+
}.\!pl-left-10{
|
|
11076
|
+
left: 2.5rem !important;
|
|
11075
11077
|
}.\!pl-left-8{
|
|
11076
11078
|
left: 2rem !important;
|
|
11077
11079
|
}.\!pl-right-0{
|
|
@@ -11080,8 +11082,6 @@ video {
|
|
|
11080
11082
|
right: -10px !important;
|
|
11081
11083
|
}.\!pl-right-\[-38px\]{
|
|
11082
11084
|
right: -38px !important;
|
|
11083
|
-
}.\!pl-right-\[-40px\]{
|
|
11084
|
-
right: -40px !important;
|
|
11085
11085
|
}.\!pl-right-\[-48px\]{
|
|
11086
11086
|
right: -48px !important;
|
|
11087
11087
|
}.\!pl-right-\[10px\]{
|
|
@@ -11278,8 +11278,6 @@ video {
|
|
|
11278
11278
|
z-index: 2;
|
|
11279
11279
|
}.pl-z-\[3\]{
|
|
11280
11280
|
z-index: 3;
|
|
11281
|
-
}.pl-z-\[4\]{
|
|
11282
|
-
z-index: 4;
|
|
11283
11281
|
}.pl-order-1{
|
|
11284
11282
|
order: 1;
|
|
11285
11283
|
}.pl-order-2{
|
|
@@ -11444,8 +11442,6 @@ video {
|
|
|
11444
11442
|
margin-right: 6px;
|
|
11445
11443
|
}.pl-mr-auto{
|
|
11446
11444
|
margin-right: auto;
|
|
11447
|
-
}.pl-ms-1{
|
|
11448
|
-
margin-inline-start: 0.25rem;
|
|
11449
11445
|
}.pl-mt-0\.5{
|
|
11450
11446
|
margin-top: 0.125rem;
|
|
11451
11447
|
}.pl-mt-1{
|