Kap: Preview time is not computed correctly when start time is not 0

Created on 28 Oct 2019  路  1Comment  路  Source: wulkano/Kap

macOS version: 10.14.6
Kap version: 3.0.0 (latest code)

Steps to reproduce

  • Record video
  • Set start time to random point
  • Hover inside the new interval

Current behaviour

The preview after start time shows the video starting from 00:00 instead of starting from start time

Expected behaviour

Preview the current start-end time interval

Workaround

None

Additional information

As you can see, I have a recording of 2 rectangles. Once I shorten the interval, even though it only contains the blue rectangle, the preview shows the pink one.

preview_issue

Help Wanted Planned Bug

Most helpful comment

Looking deeper, the problem is that Preview component uses time for both the time label on the preview and also the preview video currentTime.

Since the src is always the full video, we'll have to separate Preview.this.props.time into srcTime and labelTime in order for both to be correct

>All comments

Looking deeper, the problem is that Preview component uses time for both the time label on the preview and also the preview video currentTime.

Since the src is always the full video, we'll have to separate Preview.this.props.time into srcTime and labelTime in order for both to be correct

Was this page helpful?
0 / 5 - 0 ratings

Related issues

albinekb picture albinekb  路  4Comments

freeassange picture freeassange  路  3Comments

pedromassango picture pedromassango  路  3Comments

albinekb picture albinekb  路  3Comments

petetnt picture petetnt  路  4Comments