Using JS to swap QuickTime movies

So I have a drop down menu that has a list of audio (mp3) and video (mov) that i have to load into an area to the left of the drop down.

I’m thinking I’ll hook into the onchange event and do one of two things:

  1. Use javascript to replace the object/embed code with the new path to the video
  2. Use javascript to change the value of the src attribute in the embed and param tags.

Anyone have any experience doing something similar? Is this the way to go?