Skip to content

open with neurosift for video files - particularly for embargoed datasets #2641

@magland

Description

@magland

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),

https://neurosift.app/video?url=https://api.dandiarchive.org/api/assets/14f51177-6db9-46e3-8421-31feaf4a3ebf/download/&dandisetId=001343&dandisetVersion=draft

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.

@bendichter

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions