CS 101 Web Construction, Summer 2006, Instructor: Jeffrey Horn
Assignment 6 "Video Voting"
Find or create a minimum of three (3) short videos.
By short, I mean 10 MBytes or smaller file size, and maybe 5 minutes long MAX.
You can try any video format you like, but all that we have tested so far are ".mpg" and ".mpeg", which both refer to the MPEG 1 standard. It also "seemed" that ".avi" works as well. By "works", I mean that most of the media player plug-ins that are configured in each browser will play that format video. (Note that the playability of a particular video file also depends on the plug-in having the right "codec" (coder-decoder) that was used to create that video file! Video is not an easy medium to support across multiple browsers, operating systems, and platforms (e.g., computers, PDAs, cell phones, MP3 players, etc.), but that is what we are here to learn about!)
Create a separate web page for HW6 and embed your videos in them. ONE of the videos should autostart and loop. The other two should NOT start on initial page load.
To do this, you will need to host your video somewhere. You can host them on your own server or you can use a public video hosting service such as YouTube, or you can simply embed an existing video already being served somewhere (including on YouTube!):
Existing video (already being served on web):
E.g., <embed width = "300" height = "200" src= "http://www.tizag.com/files/html/htmlexample.mpeg" autostart="true" loop = "true" />
On your own server: Just use the above <embed> tag but with your own URL. E.g., here is how to embed my own homemade video which is being served on myweb: <embed width = "300" height = "200" src= "http://myweb.nmu.edu/~jhorn/Videos/LetsMakeADeal_intro.wmv." autostart="true" loop = "true" />
YouTube hosting: For this, you'll have to go to YouTube.com and get a free account, if you do not have one already, and follow the instructions for uploading a video. Once you have your video being served by YouTube, you can get the correct html code to copy and paste into your html file from the YouTube page for your video. Look on the right side for a field labeled "embed". Copy and paste the entire string from that window. You can try editing the string to customize the look of the embedded video, but the original string of html, as created by YouTube, should work in all browsers as is. (For example, see this YouTube video, and look on the right side of the page for the "embed" string.)
<select name="D1">
<option selected>A
<option>B
<option>C
<option>D
<option>E
</select>