Re: How do you use Flash promotional videos?
[QUOTE=gaydemon;12982]I would like to try and use promotional Flash videos but it all seems to be very confusing, there are several formats and most of them use different type of code. On top of that, most if not all Flash code to use (HTML) is invalid and doesnt validate.
It just seems more difficult than I would have thought. Specially with all the youtube videos etc, isnt it supposed to be easy to use Flash videos?
How are you supposed to use them, what formats etc… How do you use flash videos?[/QUOTE]
I’ll tell you what I aspire to, but don’t have the clout to achieve (given that you have more clout you might be able to achieve it)… I’ve done this with corporate stuff, but getting what I need from sponsors in the adult industry is basically impossible (especially since I like to hotlink stuff off their servers)…
First, use SWFObject. For starters, it’s XHTML compliant, and second it works on the idea that you replace non-Flash content with Flash via Javascript. It also isn’t affected by the Eolas lawsuit that Microsoft lost that requires you to click twice to do anything with Flash in IE.
So the basic idea is you’d first have say a screenshot that a person with without Flash could click on to see/download a .wmv or .mpg. Then if the person has Flash (95% do), SWFObject will confirm they have an adequate version of Flash and replace the <div> with the non-Flash content with the Flash content. Not that you worry about it, but this helps make you ADA compliant. It also helps to give search engine spiders something they can understand.
So the next thing I’d do is use my own FLV player for a consistent user experience. If you want to get one off the shelf FlowPlayer is pretty good.
So SWFObject will load FlowPlayer and then FlowPlayer requires a playlist. That play list can be a single flv file, or it can be a screen capture image followed by one or more flvs (or mpgs, if the user has Flash v9,0,115 or greater). If you’re really anal you’ll modify SWFObject to have FlowPlayer play H.264 mpgs if the user has a version of Flash that supports it, otherwise flvs…
The best in terms of bandwidth is to load a jpg screen capture, and then when the user clicks is when the movie is loaded. This is critical if there are multiple movies on the page. On a page with a single movie you can tweak it to start pre-loading the video.
Of course, you’ll need to get flvs from your sponsors, or create them off the videos they provide you… You don’t want or need “embed codes” - you want the underlying Flash-compatible video files…
To me, that’s the optimal way to do it. I wish I were in a position to do things at that level, but it’s just not going to happen any time soon…