mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-01 16:55:21 +03:00
Adding a download link to the clip page
This commit is contained in:
parent
09a4d6d030
commit
cada5bb7bd
@ -61,6 +61,7 @@ export default function Event({ eventId }) {
|
||||
src={`${apiHost}/clips/${data.camera}-${eventId}.mp4`}
|
||||
controls
|
||||
/>
|
||||
<a href={`${apiHost}/clips/${data.camera}-${eventId}.mp4`} download>Download Clip</a>
|
||||
</Fragment>
|
||||
) : (
|
||||
<p>No clip available</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user