# Correct code to show audio player

**URL:** https://community.glideapps.com/t/correct-code-to-show-audio-player/26540
**Category:** Ask for Help
**Created:** [May 8, 2021, 6:39am UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540 "2021-05-08T06:39:41Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Manu\_Marea](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu_marea/32/21714_2.png) [@Manu\_Marea](https://community.glideapps.com/u/Manu_Marea)
#### Post date: [May 8, 2021, 6:39am UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/1 "2021-05-08T06:39:41Z")

</div>

Is this the one to in order to show up the audio player?  
i really beg for your pardon but i tried several times and  
no audio tracks is being played…as you can see i’m trying to avoid the download…  
i’m just about to close my app instead i will have to stay asking more for achievin’ here…  
can you help please?

> **[Web Code Tools](https://webcode.tools/generators/html/audio)**
>
> The ultimate web code generators. Generate HTML, CSS, JSON-LD, Twitter Cards, Open Graph and more! No coding skills required.

\< audio controls\>  
\< source src="/assets/media/sound.ogg" type=“audio/ogg”\>  
\< source sec=“[https://www.txxxxxxxxx.mp3](https://www.txxxxxxxxx.mp3)” type=“audio/mpeg”\>  
\< /audio\>

Thanks for your time.

---

<div class="post-metadata">

### Author: ![AymenM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aymenm/32/21370_2.png) [@AymenM](https://community.glideapps.com/u/AymenM)
#### Post date: [May 9, 2021, 3:33pm UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/2 "2021-05-09T15:33:47Z")

</div>

Is anyone having the same issue ?

---

<div class="post-metadata">

### Author: ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)
#### Post date: [May 9, 2021, 3:56pm UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/3 "2021-05-09T15:56:26Z")

</div>

Use the audio component to play sound files:

[https://docs.glideapps.com/all/reference/components/media/audio](https://docs.glideapps.com/all/reference/components/media/audio)

---

<div class="post-metadata">

### Author: ![Manu\_Marea](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu_marea/32/21714_2.png) [@Manu\_Marea](https://community.glideapps.com/u/Manu_Marea)
#### Post date: [May 9, 2021, 5:59pm UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/4 "2021-05-09T17:59:12Z")

</div>

I am already, but this , while i thank you kindly ,its not the solution.  
I’m trying to remove the download option.  
That i was asking for.

\< audio controls=" " controlsList=“nodownload” preload=“auto” src=“URL DOWNLOAD AUDIO.mp3”\>

but…if i put the link ending in mp3 i have the one below but with no audio at all…if i remove the no download it works…, i’m stuck’d in this dead end 😔 i’m only eager to know why ? Only this, but i don’t wanna bother anyone , i understand there is a lot of work and efforts behind Glide and maybe my english is not so good , i’m only into the fastest way to do the things standing the fact the player is already in Chrome, Firefox etc i thought it would be faster in terms of efficiency to remove the download option using the internal assets of the webkits because our is a Pwa app but maybe its not doable at all ,that being said a Pro app with subscriptions using payhere with integromat or zapier leaving that download option its in my opion a little in contrast with the goal of selling subscriptions.So this is the last time i will ask for ,could be really understandable its only a problem of mine and i will just embed the elfplayer in a web view plus visibility.Thanks for reading till here and i apologize for anyone i’ve bothered with.Have a good day.

---

<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: [May 10, 2021, 11:53am UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/5 "2021-05-10T11:53:00Z")

</div>

Check your quotes. All should be " instead of “ or ”.

---

<div class="post-metadata">

### Author: ![Manu\_Marea](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu_marea/32/21714_2.png) [@Manu\_Marea](https://community.glideapps.com/u/Manu_Marea)
#### Post date: [May 10, 2021, 12:29pm UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/6 "2021-05-10T12:29:57Z")

</div>

Could it be that…my gosh…simple , thanks , i will check

---

<div class="post-metadata">

### Author: ![Manu\_Marea](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu_marea/32/21714_2.png) [@Manu\_Marea](https://community.glideapps.com/u/Manu_Marea)
#### Post date: [May 10, 2021, 12:36pm UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/7 "2021-05-10T12:36:50Z")

</div>

> [@Manu\_Marea](#):
>
> \< audio controls=" " controlsList=“nodownload” preload=“auto” src=“URL DOWNLOAD AUDIO.mp3”\>

\< audio controls=" " controlsList=“nodownload” preload=“auto” src=“URL DOWNLOAD AUDIO.mp3”\>

\< audio controls=" " controlsList=“nodownload” preload=“auto” src=“https://www.—.mp3”\>

tried several times but even if i copy your quotes when i save it gives out always mine…by the way i know i think this is the issue…so thanks and even if its not thanks for your kind answers.

---

<div class="post-metadata">

### Author: ![L.M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/l.m/32/46371_2.png) [@L.M](https://community.glideapps.com/u/L.M)
#### Post date: [September 16, 2021, 5:48pm UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/8 "2021-09-16T17:48:58Z")

</div>

Hi, david.  
OK, but would you consider showing transparent/invisible or customizable players (like in Google Slides, it’s just a resizeable arrow that you can put anywhere, very discreet, until you click on it) ?  
I’d like to voice over for ex my Home Screen, or Job Interview Questions on Swipe Cards (or anywhere like an audio guide). And the actual player does not fit nicely with any layout.  
Thks, david 🌸.

---

<div class="post-metadata">

### Author: ![Manu\_Marea](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu_marea/32/21714_2.png) [@Manu\_Marea](https://community.glideapps.com/u/Manu_Marea)
#### Post date: [September 17, 2021, 4:04pm UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/9 "2021-09-17T16:04:33Z")

</div>

A new audio player components with NO DOWNLOAD options ; ) , images on the left or on the right ,  
playlist , equalizer and wave visualizations ,backgrounds , rounded corners , shadows would be just SWEET !  
Finger crossed !

---

<div class="post-metadata">

### Author: ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)
#### Post date: [January 17, 2024, 4:50pm UTC](https://community.glideapps.com/t/correct-code-to-show-audio-player/26540/10 "2024-01-17T16:50:27Z")

</div>


