@vidispine/vdt-react 0.15.0-pre.24 → 0.15.0-pre.25
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/index.es.js +7 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.es.js
CHANGED
|
@@ -3263,9 +3263,13 @@ function useHoverScrub() {
|
|
|
3263
3263
|
var uri = srcList[index];
|
|
3264
3264
|
|
|
3265
3265
|
if (uri && typeof uri === 'string') {
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3266
|
+
try {
|
|
3267
|
+
var timeCodeFromURI = uri.split('version')[1].split('/')[1].split('?')[0];
|
|
3268
|
+
var timecodeText = formatTimeCodeText(timeCodeFromURI);
|
|
3269
|
+
timeCodes.push(timecodeText.toSeconds().toFixed(0));
|
|
3270
|
+
} catch (error) {
|
|
3271
|
+
return;
|
|
3272
|
+
}
|
|
3269
3273
|
}
|
|
3270
3274
|
}
|
|
3271
3275
|
|