changed syntax of Player constructor bc of android compilation error. no effect on ios.