Hello Nick,
The current jPlayer cannot do what you want easily. jPlayer does
everything through a single instance of an <audio> or Flash fallback,
which means the preload only works with the current track specified by
the setFile.
Bitography suggests that you use 2 jPlayer instances to solve your
problems. Here, the 1st instance could deal with the ODD tracks and
the 2nd with the EVEN tracks. However, you would have to disable the
default interface ID association and write your own click handlers for
play, pause, stop and the progress bars. Here, you want to direct the
actions to the 1st instance while playing an ODD track, the 2nd while
playing an even track. The volume controls should affect both.
The demo code for demo 2 is written to work with a single instance.
You'd need to write your code to switch between the 2 instances.
I suggest that you just accept the short delay between tracks. If you
try and use the 2 instances, then I would expect problems on the iPad.
It can only play 1 at a time, unlike normal browsers, and trying to
preload 1 instace while playing the other may well break it.
I will consider this problem while looking at the next version. In
theory, the HTML5 <timed> track may be the solution to this particular
issue. Support for the <timed> element and how each browser deals with
preloading the individual tracks is still untested.
Best regards,
Mark P