Приглашаем посетить
Литература 20 век (20v-euro-lit.niv.ru)

Workshop

Previous Page
Table of Contents
Next Page

Workshop

The workshop contains quiz questions and activities to help you solidify your understanding of the material covered. Try to answer all questions before looking at the "Answers" section that follows.

Quiz

1:

What's the simplest way to let the widest possible audience see a video on your web site?

2:

Write the HTML to embed a video file named myvideo.avi into a web page so that the users of all major web browsers will be able to see it. The video requires an area on the page that is 320x305 pixels in size.

3:

How would you code a <param> tag within an <object> tag so that a media clip is played repeatedly?

Answers

A1:

Just link to it:

<a href="myvideo.avi">my video</a>

A2:

Because the video clip is in a Microsoft format (AVI), it makes sense to embed a Windows Media player object. Use the following HTML code:

<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
width="320" height="305">
  <param name="type" value="video/x-ms-avi" />
  <param name="URL" value="myvideo.avi" />
  <param name="uiMode" value="full" />
  <param name="autoStart" value="true" />
  <embed width="320" height="305" type="video/x-ms-avi"
  src="myvideo.avi" controls="All" loop="false" autostart="true"
  pluginspage="http://www.microsoft.com/windows/windowsmedia/"></embed>
</object>

A3:

<param name="loop" value="true" />


Previous Page
Table of Contents
Next Page