Add support for mp3 demuxer/decoder.

This commit is contained in:
Alf
2023-01-09 21:20:20 -08:00
parent 3add6d7e2b
commit 14b62ad7bf
2 changed files with 21 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
<b-form-file
v-if="protocol === 'file'"
id="file"
accept=".mp4, .mkv"
accept=".mp4, .mkv, .mp3"
v-model="file"
:state="Boolean(file)"
placeholder="Choose a file or drop it here..."
@@ -59,7 +59,7 @@
<Overview :info="data" />
</div>
</b-tab>
<b-tab title="Frames" class="mt-2" lazy>
<b-tab v-if="file.type !== 'audio/mpeg'" title="Frames" class="mt-2" lazy>
<Frames :file="file" />
</b-tab>
</b-tabs>