bugfix for autoplay
Merge pull request #63 from jayli/master

bugfix for autoplay