-
Notifications
You must be signed in to change notification settings - Fork 22
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
Multiple players on the same page not working #1
Comments
Do you have an example page? Are you giving the two players different ids? The id defaults to 'jwPlayer', but you'll need to set it to something else if you have a second player on the page. |
Yes, I am giving the two players different ids. I got it to work by not using this jQuery version, and reverting to the standard javascript method of embedding jwplayer, as provided on the longtail video site. Which sucks, because I can do a lot more UI stuff if I could get this to work. Your example / demo only shows one player working. Have you tested this with multiple players on the same page? If so, I'd love to see an example, and I could probably get mine to work by comparing it to yours to see where I've gone wrong. I'd have to recode my previous verison to give you a sample of what it looks like, and since I'm embedding it through Expression Engine CMS, it would look a little messy. |
Yes, I have used it for multiple players on the same page, but it's quite possible there's a bug. The plugin hasn't been used by many people yet, so I don't doubt there are things I'll have to fix as people uncover them. I'll see about adding a second player to the demo page tomorrow. |
Thanks so much. I really appreciate it. I was already able to get a really nice UI effect working with this jquery plugin on another site: http://www.exportassist.org/video/filterby/episode-002/ (but with only one player). It would be nice to be able to do similar things, but with multiple players. |
The demo now has two players and works for me. It would be good to find out what difference caused your attempt not to work. |
Thanks for your help. Seeing your code for two players on the same page is very useful, and after seeing how you did it, my guess is that I forgot to code a separate playerReady function for each player. When I get caught up on some client work, I'll attempt another multi-player version using this jquery plugin. And when I do, I'll let you know how it goes. Best! |
I don't think multiple instances of the player on the same page are working. I can get it to work with the non-jquery version.
Ideas?
Thanks ahead of time.
~Jeremy
jeremy@writeclickmedia.com
The text was updated successfully, but these errors were encountered: