That is because of flash way to play video.
The Load trait in case of video element prepares server connection when using RTMP and creates objects required for playback NetStream, client for it etc. Actual stream request goes in PlayTrait. In case of progressive video (your case): netStream.play("http://server.com/file.flv") command issued upon PLAY request, resulting in StreamNotFound error if pointed to nonexisting file. so there is no actual "loading" of video in the first place.
Thank you very much for answer. But what functions to use if I want to just preload
bunch of files and only after start to play (i.e. they all have been preloaded)?
Thank you in advance,
I'm afraid there is no direct way to do it in OSMF.
I guess you need something like:
1) A bunch of proxy elements that implement custom load traits.
2) Set a buffer time of video elements to something enough for you - so playback does not start before it is enough video buffered.
4) Begin playback in LoadTrait while "blocking" all other traits - playback would not start unless the buffer is filled.
3) Manage the BufferFull stream message in custom load trait, pause a stream and rise LoadState.READY upon that event.
4) "Unblock" the rest of VideoElement traits.
Then if you put your videos in parallel they should not start while all of them are in LoadState.READY.
Something like this, I guess.
Also there have been other posts here concerning the prebuffering already - so you may serch for them.