set autoplay for player