hyku icon indicating copy to clipboard operation
hyku copied to clipboard

Universal Image viewer is not working with Generic Work that does work for me new workset I have created. #49

Open AkashAAD opened this issue 6 years ago • 1 comments

summary

Suppose I have created the four works for new works data sets. The image universal viewer does work fine for me. But If I create the work for Generic data The Universal viewer does show error message to me. The version of Hyrax is 2.3.3

Error

Mixed Content: The page at 'https://my-url/concern/datasets/48d53c4c-a56d-456d-b5bb-557b14a764ea?locale=en#?c=0&m=0&s=0&cv=0' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://my-url/images/d673c070-3ec5-4034-afa6-c87f12ea7737%2Ffiles%2F72489555-bba9-477f-a28f-7bfd0413bd62/info.json'. This request has been blocked; the content must be served over HTTPS. For some time that universal viewer disappear.

AkashAAD avatar Feb 07 '19 08:02 AkashAAD

@AkashAAD I believe this might be fixed with the latest versions of hyku and hyrax. I see a switch to the full URI being passed to UV in Hyku 1.0.1 and in Hyrax 2.4.0: https://github.com/samvera-labs/hyku/blob/master/app/views/hyrax/base/_representative_media.html.erb#L4 https://github.com/samvera/hyrax/blob/master/app/views/hyrax/base/iiif_viewers/_universal_viewer.html.erb#L3

cjcolvar avatar Feb 07 '19 13:02 cjcolvar