@capillarytech/creatives-library 6.11.7 → 6.11.8
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capillarytech/creatives-library",
|
|
3
3
|
"author": "meharaj",
|
|
4
|
-
"version": "6.11.
|
|
4
|
+
"version": "6.11.8",
|
|
5
5
|
"description": "Capillary creatives ui",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"module": "./index.es.js",
|
|
@@ -34,4 +34,4 @@
|
|
|
34
34
|
"webpack-bugsnag-plugins": "^1.4.3",
|
|
35
35
|
"whatwg-fetch": "2.0.1"
|
|
36
36
|
}
|
|
37
|
-
}
|
|
37
|
+
}
|
|
@@ -198,7 +198,8 @@ export const LineVideo = ({
|
|
|
198
198
|
const updateMetadataLoaded = () => {
|
|
199
199
|
const { current: { duration, videoHeight, videoWidth } = {} } = videoEl;
|
|
200
200
|
if (duration) {
|
|
201
|
-
|
|
201
|
+
const value = moment('1900-01-01 00:00:00').add(duration, 'seconds').format("HH.mm.ss");
|
|
202
|
+
updateVideoDuration(value);
|
|
202
203
|
updateVideoHeight(videoHeight);
|
|
203
204
|
updateVideoWidth(videoWidth);
|
|
204
205
|
updateMessageState({
|
|
@@ -214,7 +215,7 @@ export const LineVideo = ({
|
|
|
214
215
|
actionUrl,
|
|
215
216
|
videoHeight,
|
|
216
217
|
videoWidth,
|
|
217
|
-
videoDuration,
|
|
218
|
+
videoDuration: value,
|
|
218
219
|
selectedAction,
|
|
219
220
|
messageType: 'videoSrc',
|
|
220
221
|
});
|