From http://www.w3schools.com (Copyright Refsnes Data)
| « Previous | Next Chapter » |
A SMIL file describes a multimedia presentation.
A SMIL file contains all the information necessary to describe a multimedia presentation.
SMIL files are stored with the file extension .smil
A SMIL file contains the following:
Since SMIL is based on XML, the tags are case sensitive. All SMIL tags requires lowercase letters.
A SMIL document must start with a <smil> tag and end with a </smil> closing tag. It may contain a <head> element and must contain a <body> element.
The <head> element is used to store information about the presentation layout and other meta information.
The <body> element contains the media elements.
|
<smil> <body> <seq repeatCount="indefinite"> <img src="image1.jpg" dur="3s" /> <img src="image2.jpg" dur="3s" /> </seq> </body> </smil> |
To view a SMIL presentation, you will need a SMIL player installed on your computer.
Apple's Quicktime player, Windows Media Player, and RealNetworks RealPlayer support SMIL.
It would be convenient to show SMIL files natively in web browser, eliminating the requirement of a separate SMIL player or plug-in.
Microsoft's Internet Explorer has limited support for SMIL. The open-source Mozilla project is incorporating SMIL, but the progress is slow.
Note: The rest of this tutorial uses IE 5.5 or later, to demonstrate SMIL.
| « Previous | Next Chapter » |
From http://www.w3schools.com (Copyright Refsnes Data)