Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop autoplay next song #22

Closed
jorguema opened this issue Apr 12, 2014 · 3 comments
Closed

Stop autoplay next song #22

jorguema opened this issue Apr 12, 2014 · 3 comments

Comments

@jorguema
Copy link

I have a question about a playlist in this awesome directive.

There's some existing configuration to stop autoplay the next song in a playlist?.

When i play($index) automatically, after end the song, goes to the next one. ¿How i can make stop?

Thank you!

@dnissley
Copy link

It doesn't look like there is a built in way of doing this. What is your use case?

I think the best way to do this without modifying the source would be to listen for the loadstart event and then pause within the event handler.

@colthreepv
Copy link
Owner

This is the type of issues i want, use cases that i haven't pre-evented.
Yes seems reasonable to me, i could add a boolean parameter to the play function, like: play([arrayPosition], [singlePlay])

I will keep you posted on this

@colthreepv
Copy link
Owner

Fixed in 0.5.1, there are not automatic tests on the functionality because it would be very slow, but it's implemented!

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

No branches or pull requests

3 participants