gbif / portal16

GBIF.org website
https://www.gbif.org
Apache License 2.0
24 stars 15 forks source link

Add links to A/V files from Macaulay Library #463

Open gbif-portal opened 7 years ago

gbif-portal commented 7 years ago

Add links to A/V files from Macaulay Library

It would be a great improvement to add links to this collection, which is focused audio and video recordings of birds, particularly since the occurrences themselves appear to be relatively up to date (compared to totals listed on the Library's site: https://macaulaylibrary.org/search?open_advanced=1)

It's unfortunate that the records included in a dataset for 'the world’s premier scientific archive of natural history audio, video, and photographs' appear without anything to indicate associated media.


fbitem-dataset7f6dd0f7-9ed4-49c0-bb71-b2a9c7fed9f1 Reported by: @kcopas System: Safari 10.1.0 / Mac OS X 10.12.4 Referer: https://demo.gbif.org/dataset/7f6dd0f7-9ed4-49c0-bb71-b2a9c7fed9f1/origin Window size: width 1237 - height 793 API log&_a=(columns:!(request,response,clientip),filters:!(),index:'prod-varnish-',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'response:%3E499%20AND%20(request:%22%2F%2Fapi.gbif.org%22)')),sort:!('@timestamp',desc))&indexPattern=uat-varnish-&type=histogram) Site log&_a=(columns:!(request,response,clientip),filters:!(),index:'prod-varnish-',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'response:%3E399%20AND%20(request:%22%2F%2Fdemo.gbif.org%22)')),sort:!('@timestamp',desc))&indexPattern=uat-varnish-&type=histogram)

ahahn-gbif commented 7 years ago

In progess, see comments under the original thread

MortenHofft commented 7 years ago

Hi @ahahn-gbif The original issue was in fact two issues. One about the data and one about the presentation of media in general. At least that is how I understood the issue. So I copied it to the portal project and left the original for you to close once the data part was done with. I closed it by accident and therefore reopened it again.

ahahn-gbif commented 7 years ago

@MortenHofft ah ok, got it!

MattBlissett commented 6 years ago

https://www.gbif.org/occurrence/1612033091 is an example of an occurrence with a correct multimedia definition for video. The website tries to display it as an image at present.

https://www.gbif.org/occurrence/143162171 is an example in MPEG-1, which a web browser won't show.

https://www.gbif.org/occurrence/1050349898 has lots of videos.

There are also audio examples.

MattBlissett commented 6 years ago

Embedding the publisher's videos directly might be really slow, most of the ones I've tried are on very slow servers. But caching them here (e.g. during a crawl) could use a lot of storage if more than the current ~700 are published.

Also, I don't know if it's acceptable to embed HTTP videos on an HTTPS page.

MortenHofft commented 6 years ago

Last I checked videos came to us in a lot of formats and I couldn't see a simple way to get that to work even decently in all browsers. But I might have been unreasonably pessimistic.

https://www.gbif.org/occurrence/1612033091 is an example of an occurrence with a correct multimedia definition for video. The website tries to display it as an image at present.

that indeed is a bug. It isn't intended to show any videos at this point. only link to them.

MattBlissett commented 6 years ago

I think we should add some checks at ingestion time, to see

This is the kind of thing that should be easy to add once we have Beam working.

MortenHofft commented 6 years ago

checking that video, images etc exists would be very useful. it is a challenge to use media given that we never know up front if it is still there.

kcopas commented 3 years ago

Nearly 25 million records in this dataset now: https://search.macaulaylibrary.org/catalog

We have something like 288k