function status() {
  if (!mmedia.ended) {
    const size = Math.floor(mmedia.currentTime * maxim / mmedia.duration);
    progress.style.width = size + "px";
  } else {
    progress.style.width = "0px";
    play.value = "Play";
    clearInterval(loop);
  }
}