472084
472084

Reputation: 17886

jPlayer not playing right away

I have jPlayer installed on a website and it works great in Chrome but in other browsers it waits to download the whole video before starting to play - If i look at the demos on the jPlayer website they all work fine in all browsers. Could there be something that i am doing which is stopping it working correctly?

Here is the code i am using: http://pastebin.com/KCWLi22C - not including the rest of the page..

Thanks.

Upvotes: 1

Views: 418

Answers (1)

Tak
Tak

Reputation: 11704

I believe it's an issue with the M4V file format (your code mentions M4V so I assume that's the format you're using).

The best format for streaming video in a Flash player is FLV. Or ideally switch to HTML5 video.

If you're stuck with M4V files this thread has some suggestions on adjusting the files to allow streaming. The problem is that M4V files by default store important information at the start and at the end of the file, so it can't be played without the whole file being downloaded. By adjusting the file and moving all the important information to the start of the file it can begin playing immediately.

Hope that helps

Upvotes: 1

Related Questions