• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

27.1. How SMIL Works

SMIL uses tags to control the layout and timeline of a multimedia presentation. It is fairly intuitive, so the best way to get a quick understanding of SMIL is to look at a simple example. The following SMIL code creates a 15-second-long narrated slideshow, in which an audio track plays as a series of three images display in sequence.

<par dur="15s">
<audio src="audio_file.mp3" begin="0s">
   <seq>
      <img src="image_1.jpg" begin="0s">
      <img src="image_2.jpg" begin="5s">
      <img src="image_3.jpg" begin="10s">
   </seq>
</par>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint