Streaming Media - August/September 2007 - (Page 52) viewer stops watching the video halfway through, you’ve only transferred half of the video file. If they were watching a progressive video, the whole video may have been downloaded and cached by the time they’ve watched half. So you’ve just transferred twice as much data as you needed to for the same experience. Cha-ching. • Do you want to have the ability to detect the viewer’s bandwidth fluctuations and adjust the quality of the video to assure a smooth viewing experience? One great benefit to streaming video is the ability to swap out the video on-thefly during playback. You can detect the viewer’s bandwidth, and if it dips, you can swap in a lower bit rate video without interrupting their viewing experience. You can detect bandwidth when using progressive delivery as well, but you’d have to stop playing the current video and start playing the lower bit rate video from the beginning. (Caveat: There are ways to start playback in the midpoint of a progressive video, but they involve some tricky serverside scripting.) • What’s the scale of your project? Will there be steady, heavy traffic or traffic spikes? If you expect a lot of viewers (one can hope!), you may want to consider hosting your videos with a content delivery network (CDN). CDNs offer load balancing and geo-targeting to assure fast, reliable video delivery. These services can be used for both progressive and streaming video. a crash course in flash video can choose to create either an ActionScript 2 file or an ActionScript 3 file. If you choose AS2, it will be playable in Flash Player 8 or 9. If you choose an AS3 file, viewers will need Flash Player 9. (In these examples, though we’re working in Flash CS3, the steps for Flash 8 are virtually the same. I’ll point out any differences along the way.) Step Two: Open the Components panel if it’s not open already. You’ll see a menu similar to Figure 3 (p. 48). From the Video directory in the panel, click and drag an FLVPlayback component onto the stage. Your stage should look something like Figure 4 (p. 48). Step Three: Now, with the component selected, take a look at the Parameters panel (Figure 5, p. 50). This is where you specify all the parameters for the component you’ve got selected. (Note that all of these properties can also be set in ActionScript, if you prefer to write code instead of setting them in the Flash workspace.) There are really just two important parameters to set for most simple uses: source and skin. The other parameters are explained in Table 1. Though most CDNs offer support for Flash Video, there are five companies that have officially partnered with Adobe to fully support Flash Video streaming: Akamai, Limelight, VitalStream, Mirror Image, and J-Stream. These companies participate in the Flash Video Streaming Service (FVSS) program, working closely with Adobe to optimize their networks specifically for FLV streaming using Flash Media Server. If you’re going to stream large amounts of Flash Video, I recommend that you look at one of these companies first. Figure 6. Choosing a skin for the FLVPlayback component. How Do I Get FLVs into Flash? All right, now that all that is settled, let’s take a look at how you actually get an FLV to play in Flash. There are two options: the FLVPlayback component or a Video object. Arguably the easiest way to play an FLV is by using the FLVPlayback component that ships with Flash (Figure 2, p. 48). There are a variety of player control skins available to use with the component, or you can create your own. The newest version of the FLVPlayback component that ships with Flash CS3 is actually pretty easy to customize (compared to the older Flash 8 component). This new CS3 version was completely rewritten to be easier to skin, and has a much smaller file size. Using the FLVPlayback component is quite easy; it’s just a matter of dropping the component on the stage in Flash, setting a few parameters, and publishing your movie. Let’s walk through the process: Step One: Open a new document in Flash. If you’re working in Flash 8, you’ll be creating an ActionScript2 file. In Flash CS3, you 52 STREAMING MEDIA August/September 2007 Step Four: To choose a skin (playback controls) for your video player, select the skin parameter in the Properties panel, and then click on the magnifying glass icon. From here, you can choose one of the skins included with Flash CS3 from the drop-down menu. You can also specify a custom skin URL if you’ve created your own (see Figure 6). Step Five: After choosing a skin, click OK. Then publish the SWF to watch your video, complete with playback controls. See, wasn’t that just too easy? The second, more Zen-like option to get an FLV playing in Flash is to use a simple Video object. This is basically just a box that the video will play in. You specify the size of the box, the filename of the video you want to play, and voila! There are no skins, player controls, or other bells and whistles. This can be perfect if you just want a small, lightweight SWF that plays video, or if you’re building a customized player. The Video object can be just the building block you need. To use it, however, you have to write a bit of ActionScript. Not much—the magic happens with
Table of Contents Feed for the Digital Edition of Streaming Media - August/September 2007 Table of Contents Sweet Sixteen Letters to the Editor Technology and Business Trends IBM Takes Webcasting to the Desktop ROI in the EDU Bank Serves Espresso, Enterprise Video Online Video Advertising: Hit or Miss MLB’s Foul Bawl A Crash Course in Flash Video Newspapers in Multimedia Metamorphosis Webcasting Large Entertainment Events: Seeing Through the Hype Webcasting With Windows Media Can’t Start A Fire . . . A WiMAX Primer Mobile Video at Last Telestream Episode Pro Grass Valley ProCoder 3 Silverlight Is No Flash Killer Streaming Media - August/September 2007 Streaming Media - August/September 2007 - (Page Cover1) Streaming Media - August/September 2007 - (Page Cover2) Streaming Media - August/September 2007 - (Page 1) Streaming Media - August/September 2007 - (Page 2) Streaming Media - August/September 2007 - (Page 3) Streaming Media - August/September 2007 - (Page 4) Streaming Media - August/September 2007 - (Page 5) Streaming Media - August/September 2007 - (Page 6) Streaming Media - August/September 2007 - (Page 7) Streaming Media - August/September 2007 - (Page 8) Streaming Media - August/September 2007 - (Page 9) Streaming Media - August/September 2007 - Table of Contents (Page 10) Streaming Media - August/September 2007 - Table of Contents (Page 11) Streaming Media - August/September 2007 - Sweet Sixteen (Page 12) Streaming Media - August/September 2007 - Sweet Sixteen (Page 13) Streaming Media - August/September 2007 - Letters to the Editor (Page 14) Streaming Media - August/September 2007 - Letters to the Editor (Page 15) Streaming Media - August/September 2007 - Letters to the Editor (Page 16) Streaming Media - August/September 2007 - Letters to the Editor (Page 17) Streaming Media - August/September 2007 - Letters to the Editor (Page 18) Streaming Media - August/September 2007 - Letters to the Editor (Page 19) Streaming Media - August/September 2007 - Technology and Business Trends (Page 20) Streaming Media - August/September 2007 - Technology and Business Trends (Page 21) Streaming Media - August/September 2007 - IBM Takes Webcasting to the Desktop (Page 22) Streaming Media - August/September 2007 - IBM Takes Webcasting to the Desktop (Page 23) Streaming Media - August/September 2007 - IBM Takes Webcasting to the Desktop (Page 24) Streaming Media - August/September 2007 - IBM Takes Webcasting to the Desktop (Page 25) Streaming Media - August/September 2007 - IBM Takes Webcasting to the Desktop (Page 26) Streaming Media - August/September 2007 - ROI in the EDU (Page 27) Streaming Media - August/September 2007 - Bank Serves Espresso, Enterprise Video (Page 28) Streaming Media - August/September 2007 - Bank Serves Espresso, Enterprise Video (Page 29) Streaming Media - August/September 2007 - Bank Serves Espresso, Enterprise Video (Page 30) Streaming Media - August/September 2007 - Bank Serves Espresso, Enterprise Video (Page 31) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 32) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 33) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 34) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 35) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 36) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 37) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 38) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 39) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 40) Streaming Media - August/September 2007 - Online Video Advertising: Hit or Miss (Page 41) Streaming Media - August/September 2007 - MLB’s Foul Bawl (Page 42) Streaming Media - August/September 2007 - MLB’s Foul Bawl (Page 43) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 44) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 45) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 46) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 47) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 48) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 49) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 50) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 51) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 52) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 53) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 54) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 55) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 56) Streaming Media - August/September 2007 - A Crash Course in Flash Video (Page 57) Streaming Media - August/September 2007 - Newspapers in Multimedia Metamorphosis (Page 58) Streaming Media - August/September 2007 - Newspapers in Multimedia Metamorphosis (Page 59) Streaming Media - August/September 2007 - Newspapers in Multimedia Metamorphosis (Page 60) Streaming Media - August/September 2007 - Newspapers in Multimedia Metamorphosis (Page 61) Streaming Media - August/September 2007 - Newspapers in Multimedia Metamorphosis (Page 62) Streaming Media - August/September 2007 - Newspapers in Multimedia Metamorphosis (Page 63) Streaming Media - August/September 2007 - Newspapers in Multimedia Metamorphosis (Page 64) Streaming Media - August/September 2007 - Newspapers in Multimedia Metamorphosis (Page 65) Streaming Media - August/September 2007 - Webcasting Large Entertainment Events: Seeing Through the Hype (Page 66) Streaming Media - August/September 2007 - Webcasting Large Entertainment Events: Seeing Through the Hype (Page 67) Streaming Media - August/September 2007 - Webcasting Large Entertainment Events: Seeing Through the Hype (Page 68) Streaming Media - August/September 2007 - Webcasting Large Entertainment Events: Seeing Through the Hype (Page 69) Streaming Media - August/September 2007 - Webcasting Large Entertainment Events: Seeing Through the Hype (Page 70) Streaming Media - August/September 2007 - Webcasting Large Entertainment Events: Seeing Through the Hype (Page 71) Streaming Media - August/September 2007 - Webcasting With Windows Media (Page 72) Streaming Media - August/September 2007 - Webcasting With Windows Media (Page 73) Streaming Media - August/September 2007 - Webcasting With Windows Media (Page 74) Streaming Media - August/September 2007 - Webcasting With Windows Media (Page 75) Streaming Media - August/September 2007 - Webcasting With Windows Media (Page 76) Streaming Media - August/September 2007 - Webcasting With Windows Media (Page 77) Streaming Media - August/September 2007 - Webcasting With Windows Media (Page 78) Streaming Media - August/September 2007 - Webcasting With Windows Media (Page 79) Streaming Media - August/September 2007 - Can’t Start A Fire . . . (Page 80) Streaming Media - August/September 2007 - Can’t Start A Fire . . . (Page 81) Streaming Media - August/September 2007 - A WiMAX Primer (Page 82) Streaming Media - August/September 2007 - A WiMAX Primer (Page 83) Streaming Media - August/September 2007 - A WiMAX Primer (Page 84) Streaming Media - August/September 2007 - A WiMAX Primer (Page 85) Streaming Media - August/September 2007 - Mobile Video at Last (Page 86) Streaming Media - August/September 2007 - Mobile Video at Last (Page 87) Streaming Media - August/September 2007 - Mobile Video at Last (Page 88) Streaming Media - August/September 2007 - Mobile Video at Last (Page 89) Streaming Media - August/September 2007 - Telestream Episode Pro (Page 90) Streaming Media - August/September 2007 - Telestream Episode Pro (Page 91) Streaming Media - August/September 2007 - Telestream Episode Pro (Page 92) Streaming Media - August/September 2007 - Telestream Episode Pro (Page 93) Streaming Media - August/September 2007 - Telestream Episode Pro (Page 94) Streaming Media - August/September 2007 - Telestream Episode Pro (Page 95) Streaming Media - August/September 2007 - Telestream Episode Pro (Page 96) Streaming Media - August/September 2007 - Telestream Episode Pro (Page 97) Streaming Media - August/September 2007 - Grass Valley ProCoder 3 (Page 98) Streaming Media - August/September 2007 - Grass Valley ProCoder 3 (Page 99) Streaming Media - August/September 2007 - Grass Valley ProCoder 3 (Page 100) Streaming Media - August/September 2007 - Grass Valley ProCoder 3 (Page 101) Streaming Media - August/September 2007 - Grass Valley ProCoder 3 (Page 102) Streaming Media - August/September 2007 - Silverlight Is No Flash Killer (Page 103) Streaming Media - August/September 2007 - Silverlight Is No Flash Killer (Page 104) Streaming Media - August/September 2007 - Silverlight Is No Flash Killer (Page Cover3) Streaming Media - August/September 2007 - Silverlight Is No Flash Killer (Page Cover4)
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.