views:

61

answers:

0

Hi

Im trying to script a website that will play a video, and when the video is done it should redirect to another page. However the instructions on apples website wont match. Any tips?

Here is some of the code.

<script language="JavaScript"  type="text/javascript">
    QT_WriteOBJECT('<?php echo $play_me; ?>','<?php echo $moduleWidth ?>','<?php echo $moduleHeight ?>','',
    'enablejavascript','true',
    'controller','false',
    'bgcolor','000000',
    'autoplay','true',
    'cache','true',
    'scale','tofit',
    'qtnext1','<www.example.com> T<myself>'
);
    //'qtnext1','GOTO0'
</script>

Ideal would be if the link could be created with javascript, ie parent.location='www.example.com';

Thanks