Copy link to clipboard
Copied
I am trying to stream (Progressive DL) h264 video in a quicktime container or (an flv for that matter) to a flash video player (Slidesho pro). Whilst I can get video as a downloaded file which plays correctly.
If I call the qt movie directly there is no problem, the player handles it.
<cfheader name="content-disposition" value="inline">
<cfheader name="content-type" value="video/quicktime">
<cfcontent type="video/quicktime" file="blah.mov">
What else do I need to put in this response to make it work ?
Does it need to be an octet stream ?
Finally I have NOT put in a content length as I understand that cfcontent usesand internal buffer so doesn't load the whole source file into memory first. (Thanks Ben Nadel's Blog)
REASON: Securing video.... Any answers out there please !!!!
Gus
Copy link to clipboard
Copied
This question has been posed again and again all over the internet. I have the same question and I have never seen an answer. I cannot get Flash to load an FLV unless the path is a real path to the file (which doesn't allow you to use CF for user authentication and securing the video). This should be easy. These are two Adobe products. Why won't Adobe answer this question?
Copy link to clipboard
Copied
Your headers might work only on Apple, because the Quicktime movie is native to Apple. In general, you would need an Apple plugin.
You should leave out the cfheader and cfcontent tag. Embed the movie using HTML's object and embed tags, much in the same way you would our own Adobe Flash movies.
<object id="moviePlayer" width="320" height="245"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="blah.mov">
<param name="autoplay" value="false">
<param name="controller" value="true">
<embed src="blah.mov" width="320" height="240"
autoplay="false" controller="true"
pluginspage="http://www.apple.com/quicktime/download/">
</embed>
</object>