
MP3 Streaming
I downloaded today last version of jwPlayer and I'm trying to implement a simple example that plays a long MP3 file. As long as I have read on other posts, under HTML5, seek functions and partial download are fully supported.
In Chrome, I can see that Chrome's player sends a 206 Partial Content for getting a piece of the file instead of downloading it completely. However, under JWPlayer it seems like the file has to be downloaded until where the cursor is placed for playing. I believe that what it should be done once advancing the cursor is another 206 request for the piece of audio that I'm looking for. The same happens if I call the seek function. The play does not start on the seek time until the content file is downloaded from the begining.
Below is my code example:
<div id="myElement"></div>
<script>
jwplayer("myElement").setup({
file: "http://blogtalk.vo.llnwd.net/o23/show/6/279/show_6279635.as217347.mp3",
width: 640,
height: 30,
type: "mp3",
primary: 'html5'
});
</script>
</div>