In Dreamweaver, it is quite easy to add flv videos to your web page without having to resort to the Flash authoring tool. In order to do this, you will need to have an encoded flv file of your video. In the next few sections, we take a look at how you can be able to achieve this on your web projects. Videos are rich multimedia and can add a lot of rich information to your web page. They can be used to add content that the user can relate to and adds to the user experience. With a video, you are able to pass across more information than you could have with a page of text and it will also keep the user more attentive on what is being passed across in the video.
How Dreamweaver does the insertion is simply by inserting a SWF component which will display our flv file when it is viewed in a web browser. The selected flv file will be displayed as well as a number of playback controls for pausing, stopping, navigation and so on. You have two options to choose from when delivering flv video to your visitors. The first one is progressive download video where the flv file is downloaded to the user’s hard drive and it is then played. The video can start playing even before the download has completed hence giving the user a smooth watching experience. The second option is streaming video where the video is streamed on the web page after a short period of buffering in order to ensure a smooth experience. When you insert flv files in a web page, Dreamweaver will automatically insert code to detect whether the user has flash player installed or not. In case they do not, they will be prompted to install the latest version of flash player in order to view the video.
The actual process of inserting an flv file into your web page is quite simple involving just a couple of steps.
1. Go to Insert> Media> FLV
2. In the dialog box that appears, select the video file you would like to insert and specify the width and height for the video player. You can select Autoplay such that the video starts to play as soon as the user has loaded the page on their browser. This can be used when you want to capture the attention of the user.
As simple as that and you are ready to go. The extra files will be added automatically by Dreamweaver leaving you free to go about sprucing up your website.