Building SlideSix - Part 2

Posted By : todd sharp Posted At : May 15, 2008 7:42 AM Posted In: SlideSix

2

Here's a quick lesson learned regarding embedded video with <cfpresentation>. I had run some local tests in my dev test bed where I embedded an .FLV movie in a cfpreso and everything worked fine when I viewed the presentation. However, when I ran the same tests in a different local site in IIS for SlideSix the video never showed up. A quick check in Firebug showed me that the call to retrieve the FLV was failing. I opened the URL for the FLV and quickly found an IIS error that showed a missing MIME type mapping. So the lesson learned here is to make sure your web server can serve up FLV files when embedding them in a cfpreso. In IIS it's simply a matter of adding the .FLV extension with a MIME type of 'video/x-flv'.

Related Blog Entries

Comments (2)

Ben Nadel's Gravatar Yeah, I have hit that wall a few times as well. I love the way it sort of fails silently. I guess, that's how Flash movies usually fail - I am just used to seeing a big fat CF error when something goes wrong :)

todd sharp's Gravatar Yeah I here ya. I had to dig deep into Firebug to find it too, and even when I saw it it didn't jump out at me. I kinda wish it would show the HTTP requests in the Console like an Ajax call does, but I suppose since it's loaded when the page is requested it goes in the 'Net' tab...