Closed colinbdclark closed 9 years ago
This is due to the fact that the default behaviour for this type of button is to completely tear down the environment, destroying all of its nodes whenever the button is paused. This is a sensible approach for a context like the Playground, where you want throw away all previous context, but heavy handed for other use cases. This teardown behaviour should be factored into a separate grade used by the Playground (and, eventually, the embeddable code editor module).
Fixed in 8022acc4020c95ae0bedd2450739bebea23e8147
The new
flock.ui.enviroPlayButton
component is intended as a reusable component that Flocking users can embed into their own application UIs. It works quite nicely, but only through one play/pause cycle. After pausing and then pressing play again, no sound is heard.