I have two videos stacked on top of each other. The first video is a .swf file and I really like the way it opens up in it's own sized box (this code was given to me with the file).
The 2nd video (has a yellow arrow pointing at it) is a .flv file and I am trying to figure out how to get it to display like the .swf file above it does.
I really don't understand why you can't just use the same code, but inter change a .swf file or a .flv file. I tried, but it didn't work. So I scoured the web looking for something that would play my .flv file, but not really happy with the way it looks.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
Copy and adapt as you see fit.
As for the question of .swf or .flv… they are nothing alike, except that they are used by Flash. The swf is a proprietary, compiled file, sort of a self contained program that runs in a Flash player.
The .flv is a container file format (sort of like a box) which contains both an audio file inside it and a video file inside it. That’s all… there’s nothing inside it to play those 2 files.
Eye for Video www.cidigitalmedia.com
Thank you for the code Eye for Video. This has been driving me crazy. Can you recommend any good reference material to understand this area better? I'm not intereted in making my own video, just incorporating it into web design.
When placing Flash on Web pages you should also look into using "swfobject.js". This will allow you to create alternate content in html which can be indexed by Google and other robots and spiders. So for example, you could write a short narrative about the video, and for viewers without Flash and Google robots, they would read your narrative. Viewers with Flash would see the video. But since Google has read the story, the content would be indexed as belonging to that Web page. http://www.adobe.com/devnet/flashpla...swfobject.html
You can play SWF video on your webpage but the loading time will be very slow... the reason FLV is used if for video streaming purpose, so video starts to play as soon as sufficient buffering is done (e.g. first 5% of video). All those video sites such as Youtube are using FLV. You can use some flash video player software to ease this process as they can convert your videos to FLV then create a video player code with different skinss automatically. You can use the default on in Adobe CS 3 too. But with only 1 skin.