Flashembed can work as both, a standalone script and as a jQuery plugin.
Configuring Flash with JSON
Flashembed has an unique feature of configuring your Flash objects with JSON. This gives you the ability to supply complex configurations directly upon embedding. JSON is a JavaScript based syntax and much more flexible and simpler than XML which has historically been used in Flash configuration.
Flowplayer is one example Flash application that accepts JSON based configurations. Here is our flashembed call.
flashembed("player", "/swf/flowplayer-3.0.7.swf", {
// "config" parameter is a complex JSON object. not just a simple value
config: {
clip: {
autoPlay: false,
autoBuffering: true,
url: 'http://player-e7.simplecdn.net/flowplayer.flv'
}
}
});
click here to see result or visit the offisial FlowPlayer website





there is a new jquery plugin for flash embedding named JFE.. check it @ http://www.eightclaws.com