SMIL Introduction
- Previous Page SMIL Yananarancin
- Next Page SMIL File
SMIL 是一种用于描述视听呈现(audiovisual presentations)的易于学习的类似 HTML 的语言。
什么是 SMIL?
- SMIL 指同步多媒体集成语言
- SMIL 的发音是 "smile"
- SMIL 是一种用于描述视听呈现的语言
- SMIL 易于学习和理解
- SMIL 是一种类似 HTML 的语言
- SMIL 使用 XML 编写
- SMIL 呈现(SMIL presentations)可以使用文本编辑器来编写
- SMIL 是 W3C 标准
简化的 SMIL 例子:
<smil> <body> <seq repeatCount="indefinite"> <img src="image1.jpg" dur="3s" /> <img src="image2.jpg" dur="3s" /> </seq> </body> </smil>
从上面的例子,您可以看到 SMIL 是一门基于 XML、容易理解,而且可以被简单的文本编辑器编写的语言。
<smil></smil> 标签定义 SMIL 文档。<body> 定义呈现的主要元素。<seq> defines the display sequence.repeatCount Attribute defines an indefinite loop. Each <img> Elements are all src Attribute to define image resources, while dur Attribute defines the display duration.
What can SMIL do?
- SMIL can be used to create Internet and intranet applications
- SMIL can be used to create slide show presentations
- SMIL has been described as the Internet equivalent of PowerPoint
- SMIL presentations can display multiple file types (text, video, audio...)
- SMIL can display multiple files simultaneously
- SMIL can display files from multiple web servers
- SMIL can include links to other SMIL presentations
- SMIL presentations can include control buttons (stop, start, next...)
- SMIL has functions to define element sequence and duration
- SMIL has functions to define element position and visibility
In W3C's SMIL
Since 1997, W3C has been developing SMIL as a language for fine-grained multimedia presentation, combining video, audio, text, and graphics in real time.
In November 1997, SMIL was submitted as a working draft.
SMIL 1.0 became a W3C standard in June 1998.
SMIL 2.0 was established as a W3C standard in August 2001.
- Previous Page SMIL Yananarancin
- Next Page SMIL File