Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

player working, seeking forward not working, unless video charged completely


Hello, here is the player i'm working on :
http://www.lamandarine.com/player/

the problem is, to use the seeking buttons under the player, i have to wait that the part that has to be reached is loaded.

here is my code :

<HTML>
<HEAD>
<TITLE>PLAYER DF</TITLE>

<script type='text/javascript' src='jwplayer/jwplayer.js'></script>

<div id='mediaplayer'></div>

<script type="text/javascript">
jwplayer('mediaplayer').setup({
'flashplayer': 'jwplayer/player.swf',
'id': 'playerID',
'width': '720',
'height': '404',
'file': 'jwplayer/video2.mp4',
'image': 'jwplayer/preview2.jpg',
'skin': 'skins/stijl.zip',
'plugins': {
'fbit-1': {},
'sharing-2': {
'link': 'http://www.lamandarine.com/player/',
}
}
});
</script>

<ul>
<li><a href="#" onclick="jwplayer().seek(0);">bonjour a tous</a> (00:00)</li>
<li><a href="#" onclick="jwplayer().seek(30);">accelerer le telechargement</a> (00:24)</li>
<li><a href="#" onclick="jwplayer().seek(50);">tout un ensemblde de services google</a> (00:48)</li>
<li><a href="#" onclick="jwplayer().seek(60);">personnaliser son telephone</a> (00:56)</li>
</ul>


</HEAD>
<BODY>
</BODY>
</HTML>

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

@bertrand – You need to use streaming in order to seek ahead to unbuffered parts of the video.

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12534/video-delivery-http-pseudo-streaming

JW Player

User  
0 rated :

Example from my source:

<script type="text/javascript" src="player/jwplayer.js"></script>
<script type="text/javascript">
jwplayer("mediaplayer").setup({
flashplayer: "player/player.swf",
controlbar: "bottom",
file: "file.mp4",
width: "450",
height: "300",
provider: "http",
skin: "player/beelden.zip",
....
put this in your code: provider: "http"
this code will allow to seek.

Remco van Bree

JW Player Support Agent  
0 rated :

Note that seeking will still only work if the server supports seeking, which is the documentation page that Ethan linked to.

This question has received the maximum number of answers.