I'm trying to put the following code into a post to djow a video hosted on my own server

Code
<script type='text/javascript' src='/jwplayer/jwplayer.js'></script>
 
<div id='mediaspace'>This text will be replaced</div>
 
<script type='text/javascript'>
  jwplayer('mediaspace').setup({
    'flashplayer': '/jwplayer/player.swf',
    'file': '/cgtv/Ironclad.flv',
    'image': '/cgtv/ironclad.jpg',
    'backcolor': '000000',
    'frontcolor': 'FFFFFF',
    'stretching': 'exactfit',
    'controlbar': 'bottom',
    'width': '518',
    'height': '384'
  });
</script>

Now, it works in a test page uploaded to the server ( here) but not in a post ( here).

I have the markup set to allow HTML in the post.

Is there anything I can do to make this work?

I'd like to be able to insert the code in the posts for videos on my own hosted server.

I use the normal tags for videos elsewhere.