autoStart and loop options
added autoStart and loop options to examples