From 3279dddae50d42465dde0c1a9a55ce6ee010c0ef Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Tue, 29 Sep 2026 09:20:15 -0400 Subject: [PATCH] Reader: ESV chapter audio The Reader's player follows the translation on screen: ESV plays its own recording via a server route that resolves the ESV API's audio redirect; other translations keep the BSB narrators. Co-Authored-By: Claude Sonnet 5.5 --- server/bibleApi.js | 21 +++++++++++++++++ src/App.jsx | 2 +- src/components/reader/AudioSheet.jsx | 6 +++-- src/hooks/useAudio.js | 35 ++++++++++++++++++++-------- 4 files changed, 51 insertions(+), 13 deletions(-) diff --git a/server/bibleApi.js b/server/bibleApi.js index 77da414..91cc1c9 100644 --- a/server/bibleApi.js +++ b/server/bibleApi.js @@ -59,6 +59,27 @@ export function registerBibleRoutes(app, requireAuth) { }))); }); + // ESV chapter audio (read by David Cochran Heath). The ESV API answers with a + // redirect to a public mp3; hand that URL to the browser's