| HTML Tutorials |
|
|
| XML Tutorials |
|
|
| Browser Scripting |
|
|
| Server Scripting |
|
|
| .NET (dotnet) |
|
|
| Multimedia |
|
|
| Web Building |
|
|
| Java Tutorials |
|
|
| Programming Langauges |
|
|
| Soft Skills |
|
|
|
|
SMIL in Parallel
|
Objects inside the <par> element will be played parallel.
|
|
The Parallel Element <par>
|
|
The most common attributes of <par> element are:
|
| Attribute |
Value |
Description |
| begin |
time |
Sets the delay before the element is displayed |
| dur |
time |
Sets the duration for the display |
| endsync |
"first"|"last"|id(clip) |
Synchronizes the stopping of elements |
| repeatCount |
number |
Sets the number of repetitions for the display |
|
Synchronization
|
A parallel groups of clips can be stopped at the same time by using the
endsync attribute in the <par> tag.
endsync="first" stops all the clips in the <par> groups when the shortest
clip are finished regardles of any time parameter set for the other clips.
endsync="last" concludes the <par> group when all clips have finished
playing. It is by default.
endsync="id(ID)" concludes the <par> group when the clip with the
identified (ID) clip are finished. The ID is referring to the value of the clip
id attributes.
|
|
Example: Displaying Things Simultaneously
|
|
<html xmlns:t="urn:schemas-microsoft-com:time">
<head>
<?import namespace="t" implementation="#default#time2">
<style>.t {behavior: url(#default#time2)}</style>
</head>
<body>
<par>
<t:audio
src="liar.wav"
repeatCount="indefinite"
type="wav" />
<t:seq repeatCount="indefinite">
<h2 class="t" dur="1s">
I will display for one second</h2>
<h2 class="t" dur="2s">
I will display for two seconds</h2>
</t:seq>
</par>
</body>
</html>
|
Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
Keywords: smil player,
smil tutorial,
smil example,
smil multimedia,
mms smil,
smil download,
smil video,
smil text,
smil media,
parallel c++,
smil audio,
rs232 parallel,
parallel algorithms,
parallel analysis,
parallel communication,
parallel algorithm,
real smil,
parallel c,
parallel programming,
parallel interface,
graph parallel,
parallel serial,
data parallel,
parallel usb,
parallel port,
parallel code
parallel model,
parallel program,
parallel implementation
|
|
| HTML Quizes |
|
|
| XML Quizes |
|
|
| Browser Scripting Quizes |
|
|
| Server Scripting Quizes |
|
|
| .NET (dotnet) Quizes |
|
|
| Multimedia Quizes |
|
|
| Web Building Quizes |
|
|
| Java Quizes |
|
|
| Programming Langauges Quizes |
|
|
| Soft Skills Quizes |
|
|
|