Can't get my videoplayer to resize the html...hrm

I’ve coded a flv videoplayer that loads clips dynamically from a MySQL db. The problem I have is as follows:

Some of the loaded clips are big, some are small, and I’ve designed the videoplayer to resize when a new flv is loaded - that part works. But when you export the swf, the size of the swf is hardcoded into the html. This means that you can’t get the html window (which will be a pop-up) to resize to the new size of the swf. Am I clear enough?

Hope someone understands what I’m trying to ask… :h: