Replace JS and reload flash with jquery?

Replace JS and reload flash with jquery?

Hi! I am forced to use a traditional flash player for my client's project. Since flash is outdated (not supported by Apple iOs) I am not into flash and used the LongTail Player. The problem is the website designer told me to use a gallery with roll over. So I roll with the mouse over thumbnails (<a>) and the video box source is replaced. Code of the box looks like this:

  1. <div id="mediaspace">This text will be replaced</div>
     <script type="text/javascript">
    var so = new SWFObject("videoplayer.swf","mp4","384","288","9");
    so.addVariable("file","videocontainer1_1.mp4" );
    so.addVariable("image","videocontainer1_1.jpg");
    so.write("mediaspace");
    </script>
    </div>






And my jquery so far like this:

  1. $("a").hover(
    function () {

    $("#mediaspace").???????????????;
    },
    function () {

    });







I want to replace the file location and reload the flash .swf file. Is it possible to do this with jquery?

Thanks!

bye