Experiment No-5:
Use of Video on web pages.
Create a web page
that plays a video infinite number of times with controls. The displayed video
should have dimensions 200 X 150 pixels. The video must begin playing on user
interaction.
Create another web page
that plays a video without controls for some specific number of times. The
dimensions of the file should be 150 X 200 pixels. The video should play when
the mouse is placed over the video area.
The video files should be
provided by the examiner and need not be encoded or created by students. Any AVI, MOV or MPEG file may
be used.
Video With Control.html
<html>
<head>
<title>Video With
Control</title>
</head>
<body>
<h1><center>Video
With Control </h1>
<embed src =
"Wildlife.wmv" loop="-1" width="200"
height="150" autostart=”false”>
</center>
</body>
</html>
Video Without Control.html
<html>
<head>
<title>
Video Without Control</title>
</head>
<body>
<h1><center>Video
Without Control </h1>
<img dynsrc = "
Wildlife.wmv" loop="6"
width="150" height="200"
start="mouseover">
</center>
</body>
</html>
No comments:
Post a Comment