Web page Production WEBJX article introduction: The Adobe Flash Ajax Video (Favideo) component is a lightweight, open-source component that uses Ajax+flash to play the FLV. It can be used in Ajax programs. It makes it easy to control video in Javascript as it does in Flash. HTML head titlevarious ways to work with Favideo/title script Src=ac_runa |
The Adobe™flash™ajax Video (Favideo) component is a lightweight, open-source component that uses Ajax+flash to play the FLV. It can be used in Ajax programs. It makes it easy to control video in Javascript as it does in Flash.
<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>
<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>
Run Screenshots:
Official detailed Address (English):
Http://labs.adobe.com/wiki/index.php/Flash-Ajax_Video_Component