question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Background Audio: Support non-looping audio

See original GitHub issue

Feature Description

Some creators are using background audio to narrate the story.

They would like the page level background audio to be non-looping and to be considered for the “auto” page advancement calculation.

For this to work we’d need to:

  • Store the audio length together with the URL when saving the audio
  • Add background audio as an <amp-video element instead of with a background-audio attribute
  • Update the advancement calculation to take into account the page background audio

Alternatives Considered

Additional Context

Note: narration also means there’s a need for captions, hence the idea of using <amp-video> for audio. See #8821

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:14

github_iconTop GitHub Comments

3reactions
swissspidycommented, Jan 25, 2022

Thanks for raising that; as mentioned in our chat today this is an opportunity to revamp the audio “player” experience a little bit.

Ideally we:

  • Use the file’s actual title if available (instead of the file name)
  • Display the video length
  • Link to the audio file so you could download it / listen to it outside the editor
1reaction
spacedmonkeycommented, Jan 24, 2022

Maybe we should only show the looping checkbox if the audio length is present? Meaning on an existing story with audio already set, the loop option you would see it. But if you create a new story or remove & re-add the audio, the loop option would appear. What do you think?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Audio not looping in the background - flutter - Stack Overflow
I'm using https://pub.dev/packages/audioplayers plugin since https://pub.dev/packages/just_audio was giving me all sorts of troubles especially ...
Read more >
STOP LOOPING OF BACKGROUND AUDIO - 5458639
How do I stop the looping of a background file in CP7 7. I want to play it once only. I did turn...
Read more >
Music and Sound Effects for Videos and Games • PlayOnLoop
Discover our looping Royalty Free Background Music for use in Videos, YouTube, Trailers, Video Games, Apps and other Media. Start downloading music now!...
Read more >
HTML audio loop Attribute - W3Schools
Your browser does not support the audio element. </audio>. Try it Yourself ». Definition and Usage. The loop attribute is ...
Read more >
Loop Player - Apps on Google Play
Loop Player is an A - B repeating player (repeating user defined part of audio between A and B points) with advanced controls...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found