Ajithmanmu on Coldfusion,Web2.0

Playing SWF files using cfcontent

July 14, 2009 · 1 Comment

Playing swf files using cfcontent is very simple.

The video will not play when we call only the HTML page in which the flash video is embedded. Instead we also need to call the swf file using cfcontent to play the video files.

Playing flash files embedded in HTML can be done by the following code snippet:-

<cfcontent type=”application/x-shockwave-flash;” file=”#FilePathandFileNameOfSWFFile#” deletefile=”no”>

<cfcontent type=”text/html” file=”#FilePathandFileNameOfHTMLFile#” deletefile=”no”>

Categories: cold fusion
Tagged: , ,

1 response so far ↓

Leave a Comment