Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Use replaceCurrentItem to allow playing different audio files #7

Merged
merged 3 commits into from
Jul 22, 2017
Merged

Use replaceCurrentItem to allow playing different audio files #7

merged 3 commits into from
Jul 22, 2017

Conversation

oakes
Copy link
Contributor

@oakes oakes commented Jul 22, 2017

On iOS, I could not play different sound files one after the other; it would always play just the one. I figured out that you need to call replaceCurrentItem so the player object can get a new player item when the URL changes.

@rxlabz rxlabz merged commit fa1b6c4 into rxlabz:master Jul 22, 2017
@rxlabz
Copy link
Owner

rxlabz commented Jul 22, 2017

thanks @oakes !

@oakes
Copy link
Contributor Author

oakes commented Jul 22, 2017

You're welcome! I forgot to mention that I also added a seek method in the PR, too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants