Platform/Layout/Web Animations: Difference between revisions

Jump to navigation Jump to search
m
Line 172: Line 172:
  }
  }


<code>playNow</code> creates a new <code>Player</code> with a <code>startTime</code> set to the current time of the <a>Timeline</a>.
<code>playNow</code> creates a new <code>Player</code> with a <code>startTime</code> set to the current time of the <code>Timeline</code>.


<code>play</code> creates a new <code>Player</code> whose <code>startTime</code> is initially <code>null</code>. The UA starts it at the earliest possible time ensuring that it begins from the first frame. When it is started, the <code>startTime</code> is filled in and the Future is resolved (passing in the <code>Player</code> as the argument).
<code>play</code> creates schedules a new <code>Player</code> to be created and run. The UA starts it at the earliest possible time ensuring that it begins from the first frame. When it is started, the <code>startTime</code> is filled in and the Future is resolved (passing in the <code>Player</code> as the argument).


=== Issue 4: Out of range keyframe offsets ===
=== Issue 4: Out of range keyframe offsets ===
Confirmed users
166

edits

Navigation menu