Autoplay to false div player

yeah sorry, I really am just new to js. but is this the one? pause():void Pauses the player. ? how do I even put it to code?