I'm switching from old embed tags to Apple's JavaScript for Quicktime.
I have it working if I hard code the full path to my movie file. I can't seem to get it working if I use PHP variables.
This works:
<script language="JavaScript" type="text/javascript">
QT_WriteOBJECT('http://www.mysite.com/media_files/Joe/movie1.m4v','300','256','','AUTOPLAY', 'True','SCALE','Aspect');
</script>
This does not. What am I missing? I'm trying to send the User ID and the movie file in as variables.
<script language="JavaScript" type="text/javascript">
QT_WriteOBJECT('http://www.mysite.com/media_files/'.<?$uid?>.'/'.<?$row['media_tra_name']?>,'300','256','','AUTOPLAY', 'True','SCALE','Aspect');
</script>
I have it working if I hard code the full path to my movie file. I can't seem to get it working if I use PHP variables.
This works:
<script language="JavaScript" type="text/javascript">
QT_WriteOBJECT('http://www.mysite.com/media_files/Joe/movie1.m4v','300','256','','AUTOPLAY', 'True','SCALE','Aspect');
</script>
This does not. What am I missing? I'm trying to send the User ID and the movie file in as variables.
<script language="JavaScript" type="text/javascript">
QT_WriteOBJECT('http://www.mysite.com/media_files/'.<?$uid?>.'/'.<?$row['media_tra_name']?>,'300','256','','AUTOPLAY', 'True','SCALE','Aspect');
</script>