SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 171 | Next

Richard Wagner

"Professional iPhone and iPod touch Programming: Building Applications for Mobile Safari"

Once you
save this file, you then reference it in your application. You can download MakeRefMovie at developer
.apple.com/quicktime/quicktimeintro/tools . At the time of this writing, MakeRefMovie is not
available for Microsoft Windows platforms.
A second alternative for making reference movies is with the PhpMovieRef ( www.zkm.de/static/
phprefmovie.html ). At the cost of more complexity, it??™s free, cross-platform, and can generate reference
movies dynamically.
Make sure the Web server that hosts the video files supports byte-range requests (which are sometimes
referred to as content-range or partial-range requests). And, as indicated before, RTP/RTSP is not
supported.
In addition, configure your server to send the correct MIME type for the following file types: .mov
(video/QuickTime), .mp4 (video/mp4), .m4v (video/x-m4v), and .3gp (video/3gpp). For example on
Apache, you can set these by configuring your mime.types file or using the AddType directive in a
.htaccess file.
Chapter 6: Advanced Programming Topics: Canvas and Video
151
Embedding Video or Audio Files
Once you have the video files converted, reference movie created, and your Web server configured to
handle video files (see the ???Hosting Media Files??? section), you are ready to reference them in your Web
page or application.


Pages:
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183