'commit'
This commit is contained in:
@@ -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'
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user