Are there any examples of HTML hyperlinks that can jump the video to a position using SEEK, even if the video is not playing? I'll be using RTMP. The problem is that calling SEEK will not start the video.
Here is the example I'm looking at:
http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/JW_API_xmpl_5-1-0-0.html
I'd like to simulate a playlist as HTML links, such as this:
<p><a href="#" onclick="player.sendEvent('SEEK', 120)">Tutorial 1</a></p>
<p><a href="#" onclick="player.sendEvent('SEEK', 220)">Tutorial 2</a></p>
<p><a href="#" onclick="player.sendEvent('SEEK', 320)">Tutorial 3</a></p>
<p><a href="#" onclick="player.sendEvent('SEEK', 420)">Tutorial 4</a></p>These links only work if the video is playing. I'd like them to start the video and jump to those spots.

<script type="text/javascript">var player = null;
var seek = 0;
var seekFlag = false;
var currentState;
function playerReady(obj)
{
player = gid(obj.id);
player.addModelListener('STATE', 'stateMonitor');
};
function stateMonitor(obj)
{
if((obj.newstate == 'PLAYING') && (seekFlag))
{
seekFlag = false;
setTimeout("player.sendEvent('SEEK', seek)", 100);
}
currentState = obj.newstate;
};
function seekSome(some)
{
seek = some;
if(currentState == 'PLAYING')
{
player.sendEvent('SEEK', seek)
}
else
{
seekFlag = true;
player.sendEvent('PLAY', 'true');
}
};
function gid(name)
{
return document.getElementById(name);
};
</script>
<a href="#" onclick="seekSome(20); return false;">SEEK 20</a>