Skip to content

Commit

Permalink
Fix the problem with restarting playback in the stack demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Harvey committed Apr 23, 2010
1 parent 5d615de commit f7eeaf1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Stack.js
Expand Up @@ -210,7 +210,9 @@ var onPlay = function () {
}
else {
play.textContent = "Play";
player = createPlayer();
if (!player) {
player = createPlayer();
}
source.pause();
source.position = 0;
}
Expand Down

0 comments on commit f7eeaf1

Please sign in to comment.