eleventy-base-blog icon indicating copy to clipboard operation
eleventy-base-blog copied to clipboard

<audio> source paths break, depending on whether URL ends in an /

Open Nekkowe opened this issue 11 months ago • 0 comments

These two links point to the same page:

  1. https://nekkowe.com/blog/posts/guilty-gear-strive-umineko-sound-mods/#1-umineko-clash-wall-break
  2. https://nekkowe.com/blog/posts/guilty-gear-strive-umineko-sound-mods#1-umineko-clash-wall-break

However, the audio players only work for the first one:

image

But not the second (note the 0:00 length):

image

image

It appears that with the first link, the

I'm not sure what's going on here. Ideally, the src URLs of <audio> tags etc. should probably become absolute URLs in the final HTML, as URLs for <img> tags already do.

Nekkowe avatar Nov 04 '24 13:11 Nekkowe