Exercise 7: Optimizing Your Webpage

BY: Brian and Rubani                                        (November 14th 2011)

How do you optimize video for the web and incorporate it in your web page?

After being rendered, video files use up a lot of disk space. They must be compressed into smaller files, and in order to do so, we must compress them to low-resolution files such as MPEG-4 or a low quality AVI file. FLV files work well too, but hosting sites such as Youtube don’t support these files.An embed code for a video should be used in order to incorporate the video into a webpage. This is what the code should look like:

“<object width=”560″ height=”315″><param name=”movie” value=”http://www.youtube.com/v/6_AToaRxdq0?version=3&amp%3Bhl=en_US”></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param>[ youtube http://www.youtube.com/watch?v=6_AToaRxdq0&version=3&hl=en_US ]</object>”

After pasting this code into the HTML page of your webpage, the boundaries/allignment can be set in the CSS master file.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: