@desynova-digital/player 3.6.0 → 3.7.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/components/Player.js +4 -2
- package/package.json +1 -1
package/components/Player.js
CHANGED
|
@@ -290,9 +290,11 @@ var Player = function (_Component) {
|
|
|
290
290
|
}
|
|
291
291
|
}, {
|
|
292
292
|
key: 'onSegmentClick',
|
|
293
|
-
value: function onSegmentClick(start_time, end_time) {
|
|
293
|
+
value: function onSegmentClick(start_time, end_time, seek) {
|
|
294
294
|
this.actions.handleMarkerUpdate(start_time, end_time);
|
|
295
|
-
|
|
295
|
+
if (!seek) {
|
|
296
|
+
this.actions.play();
|
|
297
|
+
}
|
|
296
298
|
this.actions.handleVideoRewind(false);
|
|
297
299
|
this.actions.seek(start_time);
|
|
298
300
|
this.actions.handleVideoPreview(true);
|