Shouldn't the MIME type be video/x-ms-wmv?

And there appears to be a space in value of the vid parameter in the url, which may be causing problems

Hello CFAussie,

I am using CFCONTENT to pull .wmv video files, but does not seem to work for Netscape 7.1 or Firefox 0.8, can anyone shed some light on what I am doing wrong please.


It has no spaces...
<cfparam name="d" default=""><cfswitch expression="#d#"><cfcase value="video"><cfoutput><cfcontent file="#DirectoryRoot#\media\#Vid#" type="video/x-msvideo"></cfoutput></cfcase></cfswitch>


...and the calling page
<object id="mediaPlayer" classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"
        height="208" width="230">
  <param name="uiMode" value="full" />
  <param name="autoStart" value="true" />
  <param name="URL" value="videos.cfm?d=video&vid=pk q3.wmv" />

Your browser does not support the ActiveX Windows Media Player
</object>



Best regards,
Carl Vanderpal
Po Box 3462 Dural, NSW 2158
mailto:[EMAIL PROTECTED]


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to