moved p[layback button functionality to template