Allow .ts files to be picked in examples

This commit is contained in:
Vanilagy
2026-01-16 17:08:19 +01:00
parent 7e8f9fbbb1
commit 2695921ed4
4 changed files with 4 additions and 4 deletions
@@ -124,7 +124,7 @@ const compressFile = async (resource: File | string) => {
selectMediaButton.addEventListener('click', () => {
const fileInput = document.createElement('input');
fileInput.type = 'file';
fileInput.accept = 'video/*,video/x-matroska,audio/*,audio/aac';
fileInput.accept = 'video/*,video/x-matroska,video/mp2t,.ts,audio/*,audio/aac';
fileInput.addEventListener('change', () => {
const file = fileInput.files?.[0];
if (!file) {