Himalayan-Academy / Siva-Siva-App

Code Repository for the Siva Siva Mobile App
11 stars 3 forks source link

Listen: pausing audio and resuming it, causes it to restart #276

Closed soapdog closed 3 years ago

soapdog commented 3 years ago

Pausing the audio being played using the pause button and then pressing the play button to resume playing causes the audio to restart.

This is probably related to sDuration being changed to tDuration in some handler.

Related to #274

soapdog commented 3 years ago

This code needs different routines for desktop and mobile.

Currently sTimestamp is stored in milliseconds but this is not compatible with the currentTime of a player's object which is an integer between zero and the duration of the player object, which is not given in milliseconds.

soapdog commented 3 years ago

Fixed.