Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day

(singke) #1
ptg16476052

388 LESSON 14: Integrating Multimedia: Video and Sound


The disadvantages of using external video hosting sites are that you cede some control
over your video and how it is presented. The YouTube player works well, but it’s obvi-
ous to your users that it’s the YouTube player—the same is true of the Vimeo player.
Plus there are restrictions to what you can post to these sites, such as longer videos. There
are also automated systems to check for copyright violations, but there can be false-
positives that may flag your videos and have them automatically removed. Although it’s
important to not post copyrighted videos (or the music in the videos), it can be a hassle to
prove that you have the rights to something if YouTube or Vimeo decide to remove your
content. You may want to host the video yourself if you don’t want your customers to be
distracted by YouTube, you need to host extremely large videos, or you want to use your
own player.

Uploading Videos to YouTube


YouTube provides a number of ways to upload video to the site. You can take video
with your webcam and upload it directly, or even send video taken on a smartphone to
YouTube. In this case, I’m going to upload an existing video file using the web interface.
To start the process, go to https://www.youtube.com/upload and drag a video you want to
upload onto the upload box, as in Figure 14.3.

FIGURE 14.3
The YouTube file
upload page.

YouTube supports a wide variety of video formats, including those
used by most camcorders. Supported formats include MP4, MOV,
AVI, MWV, and FLV.

NOTE
Free download pdf