10 Player modified then pause()/play() on and off the compositor. The two boxes should have identical motions.
13 <div id=
"target1"></div>
14 <div id=
"target2"></div>
17 var player1
= target1
.animate([
22 direction
: 'alternate',
26 var player2
= target2
.animate([
27 {transform
: 'translate(0px)'},
28 {transform
: 'translate(800px)'},
31 direction
: 'alternate',
35 setInterval(function() {
36 player1
.currentTime
= 0;
39 player2
.currentTime
= 0;