colthreepv / colthreepv/angular-media-player
Playback fails if attempted immediately after setting playlist
- Dominant language
- JavaScript
- Stars
- 228
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
Playback seems to fail when I try to set a playlist and play it in one action. It works fine if the playlist is set when the page loads, and then playback started later. It also works on subsequent playlist changes / playback attempts. It only fails when the initial playlist is set and played in one action.
Scenario 1: User visits page. When the user clicks play, the playlist is set and playback started. FAILS.
Scenario 2: User visit page and playlist is set in advance. User clicks play to start playback. WORKS.
This is important in an app where the user is browsing various playlist pages (e.g. album pages), but I do not want to change the playlist until the user clicks play.
I'm currently using a hacky workaround, but hopefully there is a simple bug that can be fixed.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the two playlist and playback scenarios described in the issue, comparing playback when the initial playlist is set in the same action versus in advance. Done means playback succeeds when the initial playlist is set and played together, without breaking later playlist changes or playback attempts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angularjs, javascript
- Domain
- audio-video-rtc, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100