>- see footer for list info -<
Hi There Karthik,
The FLV or Flash Video files are not nativly playable inside the flash
player, they must be 'hosted' by a flash movie or an SWF in this case.

What you really want to do is make a nice SWF player that talks to your CFC
and works out if the user can see the content, then the CFC can pass
(securely over SSL if you want) the name of the FLV to the player and it
will play it.

Unfortunately this does mean that the FLV does need to be 'web accessible'
the only way to make it not web accessible is by streaming it using FlashCom
server.

Hope this helps,
Lucas.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:dev-
> [EMAIL PROTECTED] On Behalf Of Karthik
> Sent: Thursday, March 10, 2005 4:21 PM
> To: [EMAIL PROTECTED]
> Cc: [email protected]
> Subject: Re: [CF-Dev] Problems with cfcontent
> 
> >- see footer for list info -<
> Hi,
> 
>   I'm not sure I understand what you mean.. the point of this script
> is to prevent external hotlinking of the FLV files. The files are in a
> protected directory, and accessed with this script. I hope that makes
> it clearer.
> 
> Cheers
> -K
> 
> 
> On Thu, 10 Mar 2005 16:16:16 -0000, Paul Fennell <[EMAIL PROTECTED]>
> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Um,
> > I used <object> to embed files to pages
> > And cfcontent those -
> >
> > - -----Original Message-----
> > From: Karthik [mailto:[EMAIL PROTECTED]
> > Sent: 10 March 2005 15:56
> > To: [EMAIL PROTECTED]
> > Cc: Coldfusion Development
> > Subject: Re: [CF-Dev] Problems with cfcontent
> >
> > This is actually being done as a security precaution. I'm currently
> > doing something like :
> >
> > <cfcontent name="Content-type" value="video/x-flv">
> > <cfcontent name="Content-length" value="4391">
> >
> > which seems to return an FLV file, but it doesn't seem to be
> > recognised by Flash. The equivalent script works in PHP. I've
> > hardcoded the file length in here as I can't seem to find a filesize
> > function anywhere. Messing around with the CFDirectory filters might
> > help I suppose, but there has to be a better way?
> >
> > Cheers
> > - -K
> >
> > On Thu, 10 Mar 2005 15:42:20 -0000, Paul Fennell <[EMAIL PROTECTED]>
> > wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Would Cflocation be a better soultion and take the load of cf
> > > server ?
> >
> > - --
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 09/03/2005
> >
> > - --
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 09/03/2005
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: PGP Personal Privacy 6.5.3
> >
> > iQA/AwUBQjBy0FA768D4gVAEEQIEIgCfbyZpIwMkB2/q8dRxFMSAhsqeFcQAoML7
> > TwZaWZGAB6l1hyL6036Bfmqv
> > =glRT
> > -----END PGP SIGNATURE-----
> >
> >
> _______________________________________________
> 
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
> 
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -
> <
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to