Closed sadeghim closed 4 years ago
I think these files are in "3gpp" format, rather than m4a - have a mime type of "video/3gpp"
https://images.ala.org.au/image/9531ea1d-702f-4036-8706-563421228176
which is a video format, but we should be able to display / play it in biocache-hubs
Scratch that, the original file is
https://static.inaturalist.org/sounds/17827.m4a?1518841509
the mime type we store is derived using the library
https://github.com/drewnoakes/metadata-extractor
which gives the "video/3gpp" value.
We could use the mime type in the DwCA if provided (which it is for iNaturalist)
This will be fixed in version 1.0.10, but will also require some database updates to fix some of the existing images.
Example fixed in images-dev
https://images-dev.ala.org.au/image/2bd372cc-f25a-45b8-90b3-9742e159cc7d
like this observation: https://www.inaturalist.org/observations/9888116 https://biocache.ala.org.au/occurrences/6f6ba651-1a83-490e-b9d9-784486342de0 And no media is shown.