apache / apache/cordova-plugin-media
Cannot preload sound files
- Dominant language
- JavaScript
- Stars
- 391
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
With media plugin version 1.0.1, you can preload sound files, and play them without any problem.
With the latest media plugin, if you preload multiple sound files, only the last one will be played.
For example:
var a = new Media(file1);
var b = new Media(file2);
a.play(); // works in v.1.0.1 but not the latest version
I'd been using 1.0.1 to bypass the issue but it seems no longer possible with new ios build requirements.
Preloading is quite important for me. Could someone please help? Thank you!
Contributor guide
Research direction
Start by reproducing the issue with multiple Media instances and preloaded sound files, comparing plugin version 1.0.1 with the latest version on iOS. Trace the Media constructor and the preload/play behavior described in the report. Done means multiple preloaded files can each be played, rather than only the last one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100