Bug #19998
closedHypoths.is not working on media Library PDF
0%
Description
Hi All,
A user today alerted me that hypothesis is not working on a pdf they uploaded to a public commons site:
https://socialannotation.commons.gc.cuny.edu/annotating-a-pdf/
I was able to recreate the issue here:
https://classtestbmcc.commons.gc.cuny.edu/2024/03/18/testing-hypothesis-on-pdf-commons/
The expected behavior of a public Commons site running hypothes.is plugin with annotation on media library PDFs enabled would be:
1. user uploads PDF to site media library
2. Insert PDF on page or post
3. Site visitor clicks PDF link from page/post
4. When PDF from media library opens, plugin adds "https://via.hypothes.is" prefix to PDF view and visitor is able to annotate.
I believe something might be going wrong in step #4. Is it possible the Commons is blocking the addition of the via prefix?
Thanks for looking into this!