Trying to adapt the play buffer delay when the page is hidden