begin, dur, end,
repeat
<t:par begin="1s" repeatDur="indefinite">
<t:audio src="media/talk.mp3" syncBehavior="locked" />
<p timeContainer="seq" >
<span dur="2.9s" >
SMIL Timing syntax consists of a set of </span><br>
<span dur="3s" >
<em>attributes</em> for controlling the behavior of media, </span><br>
<span dur="2s" >
and several types of <em>time containers</em> </span><br>
<span dur="4s" >
that group media together for coordinated presentation. </span>
</p>
</t:par>
SMIL Timing syntax consists of a set of
attributes for controlling the behavior of media,
and several types of time containers
that group media together for coordinated presentation.
img begin="foo.begin" end="bar.end" ...
begin="foo.click" end="img3.load"
begin and end Lists begin and endbegin/end times restart attribute<p id="red" begin="0; green.end-2s" dur="4s" .../> <p id="blue" begin="red.end-2s" dur="4s" .../> <p id="green" begin="blue.end-2s" dur="4s" .../>
Red
Blue
Green
Red
Blue
Green
animate supports generic interpolation
of scalar valuesanimateMotion abstracts object
motionanimateColor abstracts color
interpolationset supports simplest discrete
animation casestargetElement references the
elementattributeName references the
specific propertyspeed, accelerate
and decelerate, autoReverse
<h1 style="position:absolute; top:0; left:0" timeContainer="par" >
Bounce
<t:animateMotion by="0,100" dur="3s" accelerate="1" autoReverse="true"
repeatCount="indefinite" />
<t:animateMotion by="500,0" additive="sum" dur="18s" repeatCount="indefinite" />
<t:animateColor attributeName="color" from="white" to="gold"
dur="3s" accelerate="1" autoReverse="true" repeatCount="indefinite" />
</h1>
animate speed='2.5' ...animate accelerate='0.5' ...accelerate and decelerate
do not affect the durationanimate autoReverse="true"begin/end valuesvideo, audio, et al.par, seq,
excltimeContainer attributebegin,
end, et al.begin mean for div or strong?timeAction controls semantics of adding timing
to HTML elementsintrinsic: defined for phrasal and presentation
elements, reverts to visibility for text, div, etc.
Schedules media.display, visibility
control stylestyle controls inline style
(CSS/XSL)class adds class name to
XML class propertytimeActiontimeActiontimeAction,
no mediatimeActions are
easy: just do all of themtimeActiontimeAction is essential