Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The currentTime set to a value > 0 and < 1s is not working, it will always be 0. #1531

Open
wjs opened this issue Dec 12, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@wjs
Copy link

wjs commented Dec 12, 2024

Current Behavior:

The currentTime set to a value > 0 and < 1s is not working, it will always be 0.
Cases:

  1. When I preview the video frame by frame, it will not working in the first second.
  2. When I want to get some thumbnails in the first second, it will always get the 0s as snapshot.

Expected Behavior:

The currentTime should be what I set if it is a valid value.

Steps To Reproduce:

  1. use a demo video with scene change in the first second
  2. set the current time, player.currentTime = 0.5 or remote.seek(0.5)
  3. see the if the preview has changed

Environment:

  • Framework: React
  • Node: 20.0.0
  • Chrome Version 131.0.6778.109 (Official Build) (arm64)
    Model Name: MacBook Pro
    Model Identifier: Mac15,3
    Model Number: Z1C80004ECH/A
    Chip: Apple M3
    Total Number of Cores: 8 (4 performance and 4 efficiency)
    Memory: 16 GB
    System Firmware Version: 11881.41.5
    OS Loader Version: 11881.41.5

Anything Else?

@wjs wjs added the bug Something isn't working label Dec 12, 2024
@ameytessact
Copy link

I am facing the same issue. currentTime automatically sets to 0 when I set it under 1 second.

@ndeshpande2022
Copy link

Confirmed to have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants