FLV (Flash Video) is a file format designed for video playback on the Internet. FLV animations, games and videos are extremely popular on the Internet because their high compression rates allow them to be streamed efficiently. This means that Web surfers can view videos on websites with little or no delay. The downside of FLV is that a player needs to be installed on the server where the website is hosted for the FLV file to be accessible to visitors. This article is about how to embed FLV files on a website.
Things You'll Need
- FTP program
- FLV player
Open the FTP program of your preference and connect to your website. Input your username and password if necessary. Double-click on your public_html folder.
Create a new folder within the public_html folder entitled flash. Drag your FLV movie files from your hard drive to this new flash folder via your FTP program. Your FLV files now reside on your server.
Install an FLV player to the flash directory folder. Two popular choices are Flash 8 Professional or JW FLV Media Player, which is open source (see References). That means you can use it free on a personal website. Follow the directions that come with the media player to complete the installation.
Copy and paste the following code into your website:
<embed src ="FlashPlayer.swf?file=FlashVideo.flv" width="800" height="600" allowfullscreen="true" />
Replace FlashPlayer.swf with the location of your flash player, and FlashVideo.flv with your video URL.
Tips & Warnings
- If you run into technical difficulties, there are numerous forums where you can get assistance embedding your FLV files.
- You can add other parameters to make the video play automatically.
- Don't make changes to your live website. Rename your files and get the code working before uploading them to your main server.
- Photo Credit Christopher Robbins/Photodisc/Getty Images
How to Play FLV Files Online & Off-line
FLV files can be played online directly from a Web page or downloaded and played off-line. Play FLV computer files online using...