Skip to content

Conversation

luizhf42
Copy link
Member

@luizhf42 luizhf42 commented Jun 3, 2025

This PR updates Player.vue to handle changes introduced in [email protected], where getCurrentTime() and getDuration() now return Promises instead of direct values. Previously, these Promises were passed to the time formatter, causing JavaScript's Date to break due to invalid input.

The time-related handlers have been updated to use async/await accordingly to restore correct playback behavior.

- getCurrentTime and getDuration now return promises, needing to be awaited
@luizhf42 luizhf42 self-assigned this Jun 3, 2025
@luizhf42 luizhf42 requested a review from a team as a code owner June 3, 2025 17:22
@luizhf42 luizhf42 added kind/bug Something isn't working area/ui javascript Pull requests that update Javascript code labels Jun 3, 2025
@gustavosbarreto gustavosbarreto merged commit 5bdaa11 into master Jun 3, 2025
40 checks passed
@gustavosbarreto gustavosbarreto deleted the fix/session-playback-time branch June 3, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui javascript Pull requests that update Javascript code kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants