Home

Downloads

FAQs

Sample Book

Features

Forum

 

FLVPlayback

Short videos may be embedded in a Flash document ok. If it is quite a big video though you are likely to encounter lipsync problems.

An FLV is a streamed format - which means small chunks of video and audio data are sent together. This reduces the lipsync problem. It also means the video can start playing much more quickly and doesn't have to wait for the whole thing to be downloaded first.

When you develop pages which use an FLVPlayback component you must realise that the path to the FLV will change when the page is loaded into pageFlip.

There is a solution to this. Add the following code to frame 1 of your page fla :-

// this code assumes your FLVplayback instance is called flv

if(_parent) // only true when the page is opened in pageFlip

{

flv.contentPath="pages/myvideo.flv"; //this will be the path to your FLV

flv.skin="pages/skin.swf"; //this will be the path to the FLV skin you selected (if any)

}