jQuery Tools includes a flashembed API which accepts many parameters. Is there one which accepts callback function and fires after the success state of the flash player load event?
playerdiv.flashembed(url+'/VIPlayer.swf','knds_player',300,250,'8.0.0',false,flashVars);
Information: official website.
Note: This is possible in Google swfobject library as below:
swfobject.embedSWF(url+'/VIPlayer.swf','knds_player',300,250,'8.0.0',false,flashVars,callBack);
function callBack(event){
event after successful display of code
}
But I need to use only flashembed. Can you please help me here?
Thanks in Advance 🙂
The flashembed method has an
onFailargument which takes a callback as a value:It inadvertently fires on both success AND failure. Search for the
,character to distinguish between the two states. On error, it shows up as the delimiter in the version string, such as11,0rather than11.0:References
FlashEmbed Configuration
Migrating mutation and property change events to mutation observers