 'hidden';
                        }
                    });
                } else if (mimeType.includes('audio/')) {
                    mediaElement = document.createElement('audio');
                    mediaElement.controls = true;
                } else if (mimeType.includes('video/')) {
                    mediaElement = document.createElement('video');
                    mediaElement.controls = true;
                } else {
                    mediaElement = document.createElement('div')