leoasis / leoasis/react-sound

onPlaying returns the duration as 0 on older Android devices.

Open
#76 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
490
Forks
80
PR merge metrics
No merged PRs in 30d

Description

I open the page with the player on Android 4 via WebView, in
"onPlaying" returns the "duration" as 0.
On newer devices, everything is fine.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the player’s onPlaying behavior in an Android 4 WebView and compare the reported duration with newer devices. Trace the player callback and determine where duration becomes 0; done means duration is reported correctly on the affected devices without regressing newer Android behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.