 {
                if (player != null) {
                    player.unload();
                    player.detachMediaElement();
                    player.destroy();
                    player = null;
                }
                if (captionRenderer != null) {
                    captionRenderer.dispose();
                    captionRenderer = null;
                }
                if (superimposeRenderer != null) {
                    superimposeRenderer.dispose();
                    superimposeRende