Video Clips - HTML

There are three major types of video:

  • MPEG (short for Motion Picture Experts Group), which includes video versions of MP3
  • AVI, used primarily on Windows
  • QuickTime, originally an Apple-only format but now widely available onWindows and Apple machines.

You can either link to video files or embed them directly into your Web page.Generally, it’s best to give people fair warning that your Web page contains a video, so you should at a minimum link to the page that contains the embedded video, and then embed the video into that linked page. You can also embed video in presentations made with Flash MX and above (Flash MX 2004). In fact, Flash MX handles video so well that many people are turning to that as their presentation environment for video. Flash itself is not video (unless you consider the animations it creates video), but is instead a presentation platform that can include video, music, and pictures as part of the finished presentation. To link to a video file, simply include it in an a element.

When a user clicks the link and has the supporting software, the video will play in the user’s default media player. You can also use the object element (and the embed element if you’re targeting Netscape users), but keep in mind that there are some preferred ways of including multimedia that have already been discussed. In other words, you can embed a video, such as an mpg file, directly in your Web page, but you’ll be at the mercy of whatever system setup your user has. It’s better to target a specific or group of specific media players by including your video in a SMIL or ASX file (discussed later in this chapter), or each of them, then giving your users a choice of which they’d like to view. For example, you could provide a link that says, “Window Media Player Users Click Here” for ASX files, and then target QuickTime and RealOne users with SMIL documents.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

HTML Topics