Add Flash videos

In addition to playing back animations and hosting games, the Flash player plays back videos, too. In fact, Flash video, as this feature is called, is likely the most common way to play video on the Web. If you’ve visited a little site called YouTube, you’ve seen Flash video in action. High among this format’s advantages—compared to competing standards like QuickTime or Windows Media Video—is that you can reasonably count on every visitor having the new Flash program to view your videos.

Dreamweaver makes it a snap to embed videos. Unfortunately, Flash can’t play back videos in just any old format, like MPEG or AVI. And Dreamweaver can’t transform videos in these formats to the Flash video format (which has the extension .flv). Instead, you need one of several Adobe products to create Flash video files. If you bought the Creative Suite, you’re in business; it includes the Flash video Encoder. Otherwise, you need Flash CS5 Pro or Flash CS4 Pro.

Note

For a quick intro to creating Flash videos, visit www.adobe.com/devnet/flash/quickstart/video_encoder/. Adobe also dedicates an entire section of their site to Flash video: www.adobe.com/devnet/video/.

Fortunately, creating the .flv file is the hard part. Dreamweaver makes the rest easy. Follow these few simple steps to inserts a Flash video into your page, complete with DVD-like playback controls.

  1. Click the place on the page where you want to insert the video.

    Like other Flash movies, you’ll want an open area of your page. ...

Get Dreamweaver CS5: The Missing Manual now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.