LiteratureInContext / LiC-app

Application development for Literature in Context. Staging on development branch (http://anthologydev.lib.virginia.edu), production on master (http://anthology.lib.virginia.edu).
Other
6 stars 1 forks source link

Audio files/librivox #301

Open tonyahowe opened 1 month ago

tonyahowe commented 1 month ago

The librivox is great! It plays continuously, as long as the popup is open. However, clicking off, play stops. Would it be possible to have the box float with scrolling, and stay open while clicking other notes? If the user goes off the page, it should stop, and if the audio box is deliberately closed, it should stop. Not sure what problems this might pose, but the idea is to allow users to actively read while listening.

wsalesky commented 1 month ago

@tonyahowe remind me of a test record where this is working?

tonyahowe commented 1 month ago

Goldsmith-village.xml has audio!

Get Outlook for iOShttps://aka.ms/o0ukef


From: Winona Salesky @.> Sent: Friday, May 10, 2024 12:22:33 PM To: LiteratureInContext/LiC-app @.> Cc: Tonya Howe @.>; Mention @.> Subject: Re: [LiteratureInContext/LiC-app] Audio files/librivox (Issue #301)

@tonyahowehttps://github.com/tonyahowe remind me of a test record where this is working?

— Reply to this email directly, view it on GitHubhttps://github.com/LiteratureInContext/LiC-app/issues/301#issuecomment-2104886688, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIZTOBPN4AZZHAU5IAHCL3ZBTX4TAVCNFSM6AAAAABHFPTFKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUHA4DMNRYHA. You are receiving this because you were mentioned.Message ID: @.***>

wsalesky commented 1 month ago

Can you link to where the audio file is in the xml, link to github? Thanks

tonyahowe commented 1 month ago

I think I'm doing this right...: https://github.com/LiteratureInContext/LiC-data/blob/8ba29fc3dcdd2e06ba4becb2cdad8ab9b264ae49/data/Goldsmith/goldsmith-deserted.xml#L223

tonyahowe commented 1 week ago

This is related to #192 -- but would require different functionality. There are times when there will be 1 long audiobook, but other times when the text will be composed of several smaller audio files. Is there a way to manage this variability? If one audiobook is present, put the tab at the top; if more than one, it can appear in line, in a popup that persists until closed? Not sure what a good solution here is.

wsalesky commented 3 days ago

It might make sense to check if there is any audio, then add a tab to the top allowing you to chose any of them, AND allow playing inline as well. What do you think?

tonyahowe commented 3 days ago

I like it!

Get Outlook for iOShttps://aka.ms/o0ukef


From: Winona Salesky @.> Sent: Friday, June 28, 2024 7:26:01 AM To: LiteratureInContext/LiC-app @.> Cc: Tonya Howe @.>; Mention @.> Subject: Re: [LiteratureInContext/LiC-app] Audio files/librivox (Issue #301)

It might make sense to check if there is any audio, then add a tab to the top allowing you to chose any of them, AND allow playing inline as well. What do you think?

— Reply to this email directly, view it on GitHubhttps://github.com/LiteratureInContext/LiC-app/issues/301#issuecomment-2196681667, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIZTOGK237PIETD4VG7XHDZJVB4TAVCNFSM6AAAAABHFPTFKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGY4DCNRWG4. You are receiving this because you were mentioned.Message ID: @.***>