Project

General

Profile

Actions

Bug #19998

closed

Hypoths.is not working on media Library PDF

Added by Laurie Hurson 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
WordPress Plugins
Target version:
Start date:
2024-03-18
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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!

Actions

Also available in: Atom PDF