@vkontakte/videoplayer 1.1.35 → 1.1.36-dev.35d4a782.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/es2015.cjs.js +17 -17
- package/es2015.esm.js +17 -17
- package/es2018.cjs.js +17 -17
- package/es2018.esm.js +17 -17
- package/esnext.cjs.js +16 -16
- package/esnext.esm.js +13 -13
- package/evergreen.esm.js +13 -13
- package/index.d.ts +3 -0
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ interface IUIConfig {
|
|
|
101
101
|
};
|
|
102
102
|
interactive: {
|
|
103
103
|
historyMaxLength: number;
|
|
104
|
+
noInteractionEventTimeout: number;
|
|
104
105
|
};
|
|
105
106
|
}
|
|
106
107
|
interface ISDKConfig {
|
|
@@ -161,6 +162,7 @@ interface IVKVideoPlayerCallbacks {
|
|
|
161
162
|
onReplayInteractiveVideo?: () => void;
|
|
162
163
|
onInteractiveHistoryChanged?: (chapterIds: string[]) => void;
|
|
163
164
|
onDisabledInteractiveClick?: () => void;
|
|
165
|
+
onInteractiveTimeIconClick?: () => void;
|
|
164
166
|
onPrevVideoClick?: () => boolean;
|
|
165
167
|
onNextVideoClick?: () => boolean;
|
|
166
168
|
onTrafficSavingEnabledChanged?: (isEnabled: boolean) => void;
|
|
@@ -186,6 +188,7 @@ interface IVKVideoPlayerCallbacks {
|
|
|
186
188
|
onChromecastChanged?: (value?: IControlInfo) => void;
|
|
187
189
|
onPipChanged?: (value?: IControlInfo) => void;
|
|
188
190
|
onVkLogoChanged?: (value?: IControlInfo) => void;
|
|
191
|
+
onInteractiveTimeIconChanged?: (value?: IControlInfo) => void;
|
|
189
192
|
onPlayerSizeChanged?: (value?: {
|
|
190
193
|
width: number;
|
|
191
194
|
height: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.36-dev.35d4a782.0",
|
|
4
4
|
"author": "vk.com",
|
|
5
5
|
"description": "Videoplayer based on the vk.com platform",
|
|
6
6
|
"homepage": "https://vk.com",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"**/*.d.ts"
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@vkontakte/videoplayer-core": "
|
|
53
|
-
"@vkontakte/videoplayer-interactive": "
|
|
52
|
+
"@vkontakte/videoplayer-core": "2.0.103-dev.c555938f.0",
|
|
53
|
+
"@vkontakte/videoplayer-interactive": "1.0.11-dev.29af1a10.0",
|
|
54
54
|
"@vkontakte/videoplayer-shared": "^1.0.35",
|
|
55
|
-
"@vkontakte/videoplayer-statistics": "
|
|
55
|
+
"@vkontakte/videoplayer-statistics": "1.0.49-dev.0fce10b9.0"
|
|
56
56
|
}
|
|
57
57
|
}
|