-
Notifications
You must be signed in to change notification settings - Fork 18
Description
As far as I know, there is currently no easy way to stream a video file in a dandiset (eg .mp4) to the browser when the dandiset is embargoed. If you click on the file, it opens in a new tab, but you get an error because user is not authenticated.
Neurosift now has a /video route that utlizes the DANDI_API_KEY if it is stored in the neurosift settings.
For example (from 001343 - embargoed),
Since that's an embargoed dandiset, you will only be able to view it if you have access and you have set your dandi api key in neurosift settings.
Here's an example of a non-embargoed video (from 000231, so you should be able to see it
https://neurosift.app/video?url=https://api.dandiarchive.org/api/assets/bceab4dc-f921-444c-9a85-d26fa5e9b1c6/download/&dandisetId=000231&dandisetVersion=draft
Would be great to be able to "open with" neurosift for video files.
I could make a PR, but thought I'd post this issue to get some guidance/feedback first.