hipstas / AudiAnnotate

Workflows for generating AV editions and exhibits using IIIF manifests by HiPSTAS and Brumfield Labs.
https://hipstas.github.io/AudiAnnotate/
Apache License 2.0
15 stars 8 forks source link

Multi-page project - audio player display issue #162

Open bethanycayeradcliff opened 3 years ago

bethanycayeradcliff commented 3 years ago

@kywark and I have both been working on multi-page projects for the classroom lesson plan.

The programming historian style project is here: https://bethanycayeradcliff.github.io/sensitive-audio-lesson

And the more traditional lesson plan formatted as a guide is here: https://kywark.github.io/example-sensitive-audio-lesson-beecher/

Both of us have had issues, particularly when adding pages with an audio item.

When I was building the programming historian project, I first added all the non-audio item pages, then added the audio item, and the page never appeared on navigation.

I started over, thinking I made a mistake, and built the existing project starting with the audio item (here: https://bethanycayeradcliff.github.io/sensitive-audio-lesson/example-project-using-criminal-syndicalism-case-mccomb-mississippi-from-the-john-beecher-collection-at-the-harry-ransom-center/) and then adding the pages. This time it worked! But now the player is broken, which I think happened after I updated the navigation to remove the multiple pages that appeared. Here's a screenshot from this page with the broken player:

Screen Shot 2021-04-19 at 9 42 12 PM

Kylie's project also seems to have the same error on this page:

Screen Shot 2021-04-19 at 9 43 54 PM

The other audio item in Kylie's project seems to be displaying fine on this page:

Screen Shot 2021-04-19 at 9 45 12 PM

Interestingly, that page doesn't have any introductory text, so I wonder if something is glitching when those .md pages are updated?

Let us know what you find out and if you have any questions for us!

saracarl commented 3 years ago

The reason the audio isn't playing is that there isn't a manifest link: IIIF manifest: <a href=""></a> Next step is to figure out why.

saracarl commented 3 years ago

The manifest is created, but not passed to the item page & UV.

benwbrum commented 3 years ago

The problem was introduced when the item was renamed in this edit -- in addition to the renamed title, the manifest_name line containing a link we use to construct the manifest URI was eliminated, so that keeps the GH pages site from passing a manifest to UV.

@bethanycayeradcliff, can you tell whether that edit was done through the web app, or was it something you did by editing the markdown file itself?

bethanycayeradcliff commented 3 years ago

Sorry I missed these notifications! @benwbrum @saracarl I think I was editing directly to the markdown file for that edit.

bethanycayeradcliff commented 3 years ago

Oh I think this is maybe where I changed the project title? Could that have affected the manifest URI?

benwbrum commented 3 years ago

I think you accidentally removed the manifest_name line from the top of the file. If you add this back, things should work:

manifest_name: example-project-using-criminal-syndicalism-case-mccomb-mississippi-from-the-john-beecher-collection-at-the-harry-ransom-center
kywark commented 3 years ago

I am also having a similar issue with the audio player for the gentle-improvement project, but I haven't made any edits beyond merges. On some items it's displaying fine, but for the Hecht and Atwood items, the audio player and manifests are missing.

saracarl commented 3 years ago

Hi Kylie,

It seems the repo name was changed from link-tests to gentle-improvement (??). We need to fix that in the manifest's IDs: Try merging these in https://github.com/kywark/gentle-improvement/pulls to fix it.

On Mon, May 3, 2021 at 12:34 PM kywark @.***> wrote:

I am also having a similar issue with the audio player for the gentle-improvement https://github.com/kywark/gentle-improvement project, but I haven't made any edits beyond merges. On some items it's displaying fine, but for the Hecht https://kywark.github.io/gentle-improvement/pages/anthony-hecht-at-sgwu-1966.html and Atwood https://kywark.github.io/gentle-improvement/pages/margaret-atwood-1974.html items, the audio player and manifests are missing.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hipstas/AudiAnnotate/issues/162#issuecomment-831414180, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFM7VSJ7J6SUZYFVYFLWI3TL3NAXANCNFSM43HHFDCA .

-- Sara Brumfield Partner, Brumfield Labs Creators of FromThePage http://www.fromthepage.com https://www.fromthepage.com

kywark commented 3 years ago

Hello!

Weird! I didn’t know I knew how to do that — thank you for the help!

Kylie

On May 7, 2021, at 11:18 AM, Sara Brumfield @.***> wrote:

Hi Kylie,

It seems the repo name was changed from link-tests to gentle-improvement (??). We need to fix that in the manifest's IDs: Try merging these in https://github.com/kywark/gentle-improvement/pulls to fix it.

On Mon, May 3, 2021 at 12:34 PM kywark @.***> wrote:

I am also having a similar issue with the audio player for the gentle-improvement https://github.com/kywark/gentle-improvement project, but I haven't made any edits beyond merges. On some items it's displaying fine, but for the Hecht https://kywark.github.io/gentle-improvement/pages/anthony-hecht-at-sgwu-1966.html and Atwood https://kywark.github.io/gentle-improvement/pages/margaret-atwood-1974.html items, the audio player and manifests are missing.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hipstas/AudiAnnotate/issues/162#issuecomment-831414180, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFM7VSJ7J6SUZYFVYFLWI3TL3NAXANCNFSM43HHFDCA .

-- Sara Brumfield Partner, Brumfield Labs Creators of FromThePage http://www.fromthepage.com https://www.fromthepage.com — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hipstas/AudiAnnotate/issues/162#issuecomment-834586511, or unsubscribe https://github.com/notifications/unsubscribe-auth/APETNQYV2UFDI3JVRKFMHZLTMQHETANCNFSM43HHFDCA.