implemented autoplaymode and resumemode to player