Embedding Movies Embedding Movies on a Web Page Streaming Video Converting File Types Exporting FLA as a Movie Embedding Movies in Flash
Adding Movies to a Web Page • To put a movie on a Web page with Dreamweaver, follow these steps: • In the design window, click to position your cursor at the spot where you want the movie. • Pull down the Insert menu and choose Media > Plugin; the Select File dialog appears. • Use the dialog to select the movie.
Sizing the Movie Window • After inserting the movie with Dreamweaver, you must size it. • Use QuickTime’s Movie > Get Movie Properties menu to find out the size of your movie. • In the movie’s Property panel in Dreamweaver, enter the exact width of the movie, then enter the movie’s height plus 16 extra pixels for the movie controller.
Setting Movie Parameters • By default, the movie starts playing when the Web page appears. To make the movie wait until the user clicks play, follow these steps: • In the movie’s Property box, click the Parameters button. • When the Parameters dialog appears, type autoplay, then set the value of autoplay to false.
Streaming Video Reasons for StreamingStreaming ClientsVodcasting
What is Streaming? • Wikipedia defines streaming media as “media that is consumed (read, heard, viewed) while it is being delivered.” • An important advantage of streaming is that the user can begin viewing a movie without having to wait for the entire file to download. • Another advantage is that providers can prevent movies from being downloaded and shared illegally.
Media Streaming Options • Apple’s QuickTime Streaming technical brief defines three mechanisms for streaming: • Live—the server “reflects” real-time video of a live event (concert, news, sports). • Simulated live—the server uses a playlist consisting of pre-recorded events. • On demand—each user initiates the stream individually, so it always starts at the beginning.
Streaming Technologies • Popular streaming media technologies include: • Microsoft Windows Media • Apple QuickTime • RealNetworks • Macromedia Flash
Vodcasting • In a previous lecture/demo, you learned how to create a podcast consisting of an MP3 file. • Vodcasting follows the same process, except you create a video; the V in Vodcasting stands for video. • The latest version of QuickTime Pro enables you to convert movies into the H.264 format (MPEG-4 Part 10), which plays on the video iPod.
Converting Movies You may encounter situations in which you need to convert a movie to a different file type.
Getting QuickTime Pro • QuickTime is Apple’s greatest gift to multimedia and the Web. • QuickTime Pro can open and save movies in a wide variety of formats. • You get QuickTime from www.apple.com/quicktime. • The cost of unlocking the Pro features is $29.99.
Converting a Movie • To convert a movie, you begin by opening it with QuickTime Pro. • Then you pull down the File menu and choose Export. • When the Export dialog box appears, click the Options button to set the compression options. • The H.264 compressor is considered best for Web pages.
Exporting a FLA as a Movie Flash can export a FLA as a QuickTime movie.
Exporting a FLA as a Movie • Use Flash to create or open the FLA. • Pull down the File menu and choose Export > Export Movie. • In the Export Movie dialog box, set the Save as Type box to the QuickTime *.mov setting. • Save the movie in the folder of your choice. • If you get a message telling you QuickTime does have a handler for this kind of movie, use the File > Publish menu to scale back the version of Flash being published, such as to Version Flash Player 5, and repeat these instructions to try again.
Embedding Movies in Flash Flash can import movies and publish them as a SWF.
Embedding Movies In Flash • A powerful feature of Flash is its ability to import movies in a wide variety of formats, and convert them into a SWF file. • A tutorial at the Flash Support Center walks you through the basics of Imported Images and Video.