beginning of player and playback