Background Audio: Support non-looping audio
See original GitHub issueFeature 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 abackground-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:
- Created 2 years ago
- Reactions:1
- Comments:14
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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:
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?