At work today, I stumbled upon a problem when creating a standalone flv player. Everything seemed all and well, but the file insisted on fully downloading before playing. The only part I could find in the Adobe Docs was this useful hint:
While using an ActionScript 3 file, the video begins playing only when enough of it has downloaded so that it can play the FLV file from start to finish. This behavior can be altered using ActionScript.
Fantastic!
So I was stuck. I then began to notice that the metaData was received only after the file had been loaded. Hmm. After a little while of searching, I found this gem of a blog post.
Such a simple answer:
- Rename the flv to a mov
- Open it in Quicktime
- Save as over the top of the original
- Rename it back to flv
And all is well again, the file loads as soon as the buffer limit is reached!
Hopefully someone may find this useful, it took me long enough to figure out!
Tags: AS3, Eureka, Flash, flv player