createPlayer with objectLayer