  function fullscreen() {
        mutedVideo.requestFullscreen();
    }

    mutedVideo.addEventListener('playing', (event) => {
     document.querySelector('.playbackState').innerHTML="Media file is playing";
    });

    mutedVideo.addEventListener('pause', (event) => {
        document.querySelector('.playbackState').innerHTML="Media file is paused";
    });
</script>
</body>
</html>
