Using HTML5 in SMIL

While IAdea players can directly play HTML5 files, there are several benefits if HTML5 is scheduled as a media element in SMIL.

Please note that to activate support for HTML5 content type, the SMIL body element must be attributed with systemComponent="http://www.w3.org/1999/xhtml", such as:

<smil>
  <head/>
  <body systemComponent="http://www.w3.org/1999/xhtml">
    <!-- ... -->
  </body>
</smil>

Then HTML content can be referenced using one of the following ways:

    <text src="http://server/path/doc.html" type="text/html" />

or

    <ref src="http://server/path/doc.wgt" type="application/widget" />

where a widget (.wgt) file is a zipped tree of an HTML document named "index.html" stored with all its external assets.

The media element can be given a display duration, start and end condition, etc. just like any other media object referenced in SMIL.