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

Duration NaN on source change #774

Closed
mihar-22 opened this issue Feb 13, 2023 · 0 comments
Closed

Duration NaN on source change #774

mihar-22 opened this issue Feb 13, 2023 · 0 comments
Assignees
Labels
bug Something isn't working player

Comments

@mihar-22
Copy link
Member

Current Behavior:

When source is set late the duration/buffer and other time related properties are not a number.

Expected Behavior:

Setting source late should not result in undefined time properties.

Steps To Reproduce:

  • Render player without a source
  • Wait for mount and then set source

The same happens if you fire player.play() right after the can-play event with autoplay enabled

Anything Else

Discord Thread

@mihar-22 mihar-22 added bug Something isn't working player labels Feb 13, 2023
@mihar-22 mihar-22 added this to the Release 0.3.0 milestone Feb 13, 2023
@mihar-22 mihar-22 self-assigned this Feb 13, 2023
@mihar-22 mihar-22 changed the title Undefined time properties Undefined time properties on source change Feb 13, 2023
@mihar-22 mihar-22 changed the title Undefined time properties on source change Duration NaN on source change Feb 15, 2023
mihar-22 added a commit that referenced this issue Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working player
Projects
None yet
Development

No branches or pull requests

1 participant