        function playerToggle() {
            if (video.paused) {
                video.play();
            } else {
                video.pause();
            }
        }

        function playerSetBaseRate(value) {
            video.playbackRate = value;
        }

        function playerSetLevel(level) {
            // do nothing
        }

        function playerSeek(value) {
            video.currentTime = value;
        }

        function playerSetIsMuted(value) {
            video.muted = value;
   