confused with flv/swf formats
I am trying to put a .flv file on my webpage. I finally figured out how to get it working, but I am trying to tweak it.
In the left column of the web page:
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.
Any help would be appreciated.
Want you want is something like this?
Copy and adapt as you see fit.
<!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">
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
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.
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.
Hello - sorry for posting in the reply section
It says I can post a new topic but I don't have anything but a reply to thread button.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)