fixing edit and delete buttons in video player