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

Add insert and replace methods #157

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pdf
Copy link

@pdf pdf commented Apr 23, 2013

Both methods take the arguments index, media, playNow. The
insert method adds the media to the playlist immediately preceeding
the specified index. The replace method inserts the media, then
removes the playlist entry that was previously at that position.

This PR depends on #151, and probably obsoletes #102.

I though I'd get this PR into the queue even though #151 has not been
reviewed yet - I'll rebase this if #151 is merged.

pdf added 2 commits April 23, 2013 18:54
Blocking removes for animations makes for plenty of headaches and timing
shenanigans.  Let's not do that.

Instead, store a reference to the generated element on the playlist and
original arrays and use that as the selector for removal and
highlighting.
Both methods take the arguments `index`, `media`, `playNow`.  The
`insert` method adds the `media` to the playlist immediately preceeding
the specified `index`.  The `replace` method `insert`s the `media`, then
`remove`s the playlist entry that was previously at that position.
@thepag
Copy link
Contributor

thepag commented Nov 20, 2014

This is generic notification that all users issuing pull requests must sign our CLA before we can consider merging with the jPlayer project.

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

Successfully merging this pull request may close these issues.

2 participants