diff --git a/crates/librqbit/webui/src/components/FileListInput.tsx b/crates/librqbit/webui/src/components/FileListInput.tsx index 9ec5410..323ba1c 100644 --- a/crates/librqbit/webui/src/components/FileListInput.tsx +++ b/crates/librqbit/webui/src/components/FileListInput.tsx @@ -158,8 +158,7 @@ const FileTreeComponent: React.FC<{ const fileLink = (file: TorrentFileForCheckbox) => { if ( allowStream && - torrentId != null && - /\.(mp4|mkv|avi)$/.test(file.filename) + torrentId != null ) { return API.getTorrentStreamUrl(torrentId, file.id, file.filename); } diff --git a/crates/librqbit/webui/src/components/forms/FormCheckbox.tsx b/crates/librqbit/webui/src/components/forms/FormCheckbox.tsx index dbe4f12..f2e0a47 100644 --- a/crates/librqbit/webui/src/components/forms/FormCheckbox.tsx +++ b/crates/librqbit/webui/src/components/forms/FormCheckbox.tsx @@ -39,6 +39,7 @@ export const FormCheckbox: React.FC<{ {labelLink ? ( {label}