This commit is contained in:
2025-09-05 22:07:01 +08:00
parent 4028e54629
commit c998dfc91c
2 changed files with 3 additions and 82 deletions

View File

@@ -355,13 +355,11 @@
</head>
<body>
<div class="container">
<h1>🎙️ 在线录音机</h1>
<h1>🎙️ 英语朗读评测</h1>
<div class="format-selector">
<label for="audioFormat">选择音频格式:</label>
<select id="audioFormat">
<option value="webm">WebM (默认)</option>
<option value="mp4">MP4</option>
<option value="wav">WAV</option>
</select>
</div>
@@ -600,8 +598,8 @@
getMimeType() {
const format = this.audioFormat.value;
const supportedTypes = {
'webm': 'audio/webm;codecs=opus',
'mp4': 'audio/mp4',
'webm': 'audio/webm;codecs=opus',
'mp4': 'audio/mp4',
'wav': 'audio/wav'
};