# Infinite loops

**URL:** <https://community.glideapps.com/t/infinite-loops/23232>\
**Category:** Ask for Help\
**Created:** [February 22, 2021, 3:38pm UTC](https://community.glideapps.com/t/infinite-loops/23232 "2021-02-22T15:38:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Annapurani\_Vaidyanat](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/annapurani_vaidyanat/32/21231_2.png) [@Annapurani\_Vaidyanat](https://community.glideapps.com/u/Annapurani_Vaidyanat)\
**Post date:** [February 22, 2021, 3:38pm UTC](https://community.glideapps.com/t/infinite-loops/23232/1 "2021-02-22T15:38:11Z")

</div>

I am trying to create an infinite loop - I have a list of audio file links that I want to play on a loop when I tap the play button. Any way to create this?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 23, 2021, 4:09am UTC](https://community.glideapps.com/t/infinite-loops/23232/2 "2021-02-23T04:09:06Z")

</div>

Seems like this is possible, but you will need to create a template column that builds the audio html tag, with the file name from the row, and then insert it through a rich text component instead of an audio component. The trick is to add the ‘loop’ attribute. I played with it a little bit but the width of the audio player was shorter than normal and left aligned. You could wrap it with ‘center’ tags so it looks a little better.

```auto
<audio controls src="file.mp3" loop></audio>

```

For everybody else, I did find out that there are also options for autoplay with an ‘autoplay’ attribute and for hiding the download menu option with a ‘controlslist=“nodownload”’, but I couldn’t find a way to get those attributes to work within an app. Only the loop attribute seemed to work.

---

<div class="post-metadata">

**Author:** ![Annapurani\_Vaidyanat](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/annapurani_vaidyanat/32/21231_2.png) [@Annapurani\_Vaidyanat](https://community.glideapps.com/u/Annapurani_Vaidyanat)\
**Post date:** [February 24, 2021, 5:15am UTC](https://community.glideapps.com/t/infinite-loops/23232/3 "2021-02-24T05:15:54Z")

</div>

Ah thanks a lot. I will try this out today!

---

<div class="post-metadata">

**Author:** ![ckinross](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@ckinross](https://community.glideapps.com/u/ckinross)\
**Post date:** [March 16, 2023, 2:41am UTC](https://community.glideapps.com/t/infinite-loops/23232/4 "2023-03-16T02:41:08Z")

</div>

Hi Jeff. Your explanation is intriguing. Do you offer consulting services to sell an example to me?
