rer = null;
                }
            }
            player = mpegts.createPlayer(mediaDataSource, {
                enableWorker: true,
                enableWorkerForMSE: true,
                liveSync: document.getElementById('liveSync').checked,
            });
            player.attachMediaElement(element);
            player.load();

            captionRenderer = new aribb24js.CanvasRenderer({
                data_identifer: 0x80,
                forceStrokeColor: 'black',
                normalFon