Adobe™Flash™The Ajax Video (FAVideo) component is a lightweight, open-source component that uses Ajax + Flash to play flv. It can be used in Ajax programs. It makes controlling Video in javascript as easy as in Flash.
<Html>
<Head>
<Title> Various ways to work with FAVideo </title>
<Script src = "AC_RunActiveContent.js" type = "text/javascript"> </script>
<Script src = "FAVideo. js" type = "text/javascript"> </script>
</Head>
<Body onLoad = "">
<Div id = "divOne"> </div>
<Script type = "text/javascript">
PlayerOne = new FAVideo (
"DivOne", "demo_video.flv", 0, 0, {autoLoad: true, autoPlay: true });
</Script>
<Script>
PlayerOne. addEventListener ("playheadUpdate", this, myHandler );
PlayerOne. removeEventListener ("playheadUpdate", this, myHandler );
Function myHandler (){
// Alert ("eh ");
}
</Script>
</Body>
</Html>
Run:
Official Address (English ):
Http://labs.adobe.com/wiki/index.php/Flash-Ajax_Video_Component