I have 10 videos in a playlist, right in the Player does not use XML. I do not want to use the listbar, need only link the index the video I want to watch. I'm watching the video index [0], then I click the link for the video index [2], then it switches to video 2, and continues to playlist usually roll from there.
Currently, what I do is link the video, but I lose the sequence Playlist.
bc.. <a href="#mediaplayer" onclick=" javascript:jwplayer().load({file:'http://www.youtube.com/watch?v=_-lO_1QCuoI'> Video 1 </ a>
<a href="#mediaplayer" onclick=" javascript:jwplayer().load({file:'http://www.youtube.com/watch?v=-eUU2MJMvuE'> Video 2 </ a>
<a href="#mediaplayer" onclick=" javascript:jwplayer().load({file:'http://www.youtube.com/watch?v=pFl-kH199Gg'> Video 3 </ a>
It Works, in your code.. When I passed to my JWPLAYER5, didn't work more. The problem is my local jwplayer.js, I guess...
In really, I wish a little bit more simple code... Only call by the link, a index that is in playlist... Link to example;
http://www.oenxame.com.br/jwp/
See... When I click in video link, he load a new playlist, with one video only. I want to load a index position and continue playlist, from that video.
Would be a good idea, but the player stops, When I add a new song in Playlist .. So is returning back to the first index, which is bad for me ..
If you get me this code to version 5, I could try to adapt it to my project. It sure would help a lot! Because I think about doing it via $ _SESSION in PHP if no other plausible solution.
But what I really need in my current reality is a link to play an index on a playlist that already exists. Do not send new songs to Playlist, only play a song by index, from the location that is the playlist, and then it usually the next songs.
The code for JW5 and JW6 are almost the same. However, adding new items into a playlist will always make the player stop playback, regardless if you are using JW5 or JW6.
Ok, I understand, but it seems you do not understand what I need.
It's pretty simple. I just need to know how to make a link to play a video which is already on the Playlist without it create a new playlist and play alone. The example that I sent is well understandable.
Example: I have a playlist:
video 1 video 2 video 3 video 4 video 5 video 6 video 7
I want a separate link for each of these videos, we will call it the index, and then continue the playlist.
If the video is playing 2 and I click on the video link 4, 4 video started playing, and then if I do not click on another link, to follow video 5 Video 6 Video 7.
Ethan helps me, is simple. Does not have to be complicated as this .. See the example, try to help me.
Because the links of the items will be in different parts of text/page ..
For example:
"Hip Hop began in the 80s in New York come from Jamaican rhythms (video link 1). Your first icon was DJ Kool Herc (video link 2). After popularized in NY, appeared on the scene several DJs, who did a technique called Back2Back (video link 3), that allowed the MCs would put vocals on the songs (video link 4).
The first song of Hip-Hop that came up the charts was the single Rapper's Delight (video link 5), launched in 1980 by the group The Sugarhill Gang.
The genre gained new styles with the influence of crime ghettos of NY City, then appeared classics like The Message (video link 6) Grandmaster Flash, among others."
I can do this in DOM, in example for you understand my problem. Can you understand?
Can not you have no way to do this easily. Basically just have the index number and call him. I would not do the Load a new playlist, I just call the item index, as it does when I click an item in listbar.
All topic with far more complex issues have solution.
I said, it's simpleeeeee... Thanks Ethan, Thanks James Herrieven... I think it's so simple, it seemed complicated .. lol ... Thanks again, for now it solves my issue.