Skip to content

Commit 6ae17e9

Browse files
authored
Relax audio editor file input accept so it accepts m4a from Google recorderChange audio file input to accept all audio formats
1 parent 4f6d8e4 commit 6ae17e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascripts/audio-editor/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
</head>
136136
<body>
137137
<p>MP3s require more time to encode but result in a smaller file size. Ctrl + scroll to zoom. Assembled by <a href="https://scratch.mit.edu/users/Sheep_maker/">Sheep_maker</a> on Scratch. <button id="open-desktop-audio">Try recording desktop audio</button> </p>
138-
<p><label for="add-sound">Add sound: </label><input type="file" id="add-sound" accept=".mp3,.wav"> <button id="new-sound">Add empty sound</button> <a href="about.html">About</a></p>
138+
<p><label for="add-sound">Add sound: </label><input type="file" id="add-sound" accept="audio/*"> <button id="new-sound">Add empty sound</button> <a href="about.html">About</a></p>
139139
<fieldset id="desktop-audio" class="hidden">
140140
<legend>Record desktop audio</legend>
141141
<p>Recording desktop audio is only supported on <a href="https://caniuse.com/#feat=mdn-api_mediadevices_getdisplaymedia_audio-capture-support">Windows or ChromeOS in Edge or Chrome</a>.</p>

0 commit comments

Comments
 (0)