SMIL introduktion

SMIL is an easy-to-learn language similar to HTML, used to describe audiovisual presentations (audiovisual presentations).

The basic knowledge you should have

Before continuing your studies, you should have a basic understanding of the following knowledge:

  • HTML
  • XHTML
  • XML
  • XML namespace

If you wish to learn these projects first, please visit ourHome pageAccess these tutorials.

What is SMIL?

  • SMIL stands for Synchronized Multimedia Integration Language
  • The pronunciation of SMIL is "smile"
  • SMIL is a language used to describe audiovisual presentations
  • SMIL is easy to learn and understand
  • SMIL is a language similar to HTML
  • SMIL is written using XML
  • SMIL presentations (SMIL presentations) can be written using a text editor
  • SMIL is a W3C standard

Simplified SMIL example:

<smil>
<body>
  <seq repeatCount="indefinite">
    <img src="image1.jpg" dur="3s" />
    <img src="image2.jpg" dur="3s" />
  </seq>
</body>
</smil>

From the above example, you can see that SMIL is a language based on XML, easy to understand, and can be written with a simple text editor.

<smil></smil> The tag defines the SMIL document.<body> Element definition presents the main body.<seq> definierar visningssekvensen.repeatCount egenskap definierade en icke-säker upprepning. Varje <img> element används src egenskap för att definiera bildresurs, medan dur Egenskap definierar visningens varaktighet.

Vad kan SMIL göra?

  • SMIL kan användas för att skapa Internet och intranätprogram
  • SMIL kan användas för att skapa presentationer
  • SMIL har beskrivits som Internet motsvar till PowerPoint
  • SMIL presentationer kan visa flera filtyper (text, video, ljud ...)
  • SMIL kan visa flera filer samtidigt
  • SMIL kan visa filer från flera webbserver
  • SMIL kan innehålla länkar till andra SMIL presentationer
  • SMIL presentationer kan innehålla kontrollknappar (stoppa, starta, nästa ...)
  • SMIL har funktioner för att definiera elementsekvens och varaktighet
  • SMIL har funktioner för att definiera elementposition och synlighet

I W3Cs SMIL

Sedan 1997 har W3C utvecklat SMIL som ett språk för att exakt konstruera multimediespresentationer, för att i realtid kombinera video, ljud, text och grafik.

I november 1997 lämnades SMIL in som ett arbetsutkast.

SMIL 1.0 blev en W3C standard i juni 1998.

SMIL 2.0 etablerades som W3C standard i augusti 2001.