# Anexos de áudio não funcionam quando "impedir anônimos de baixar arquivos" está ativado

**URL:** <https://meta.discourse.org/t/audio-attachments-dont-work-when-prevent-anons-from-downloading-files-is-enabled/104792>\
**Category:** Product Support\
**Created:** [Dezembro 20, 2018, 9:08pm UTC](https://meta.discourse.org/t/audio-attachments-dont-work-when-prevent-anons-from-downloading-files-is-enabled/104792 "2018-12-20T21:08:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)\
**Post date:** [Dezembro 20, 2018, 10:13pm UTC](https://meta.discourse.org/t/audio-attachments-dont-work-when-prevent-anons-from-downloading-files-is-enabled/104792/3 "2018-12-20T22:13:00Z")

</div>

Ah okay interesting! Thanks — yes I have that setting enabled as I do think it makes sense to prevent anons from downloading files.

But doesn’t seem like that setting should require disabling the audio player for logged in users?

Actually it appears that viewing as an anon user, the native audio player (both playback + download) is disabled anyway even using the raw embed URL rather than wrapping in the `<a class="attachment">` tag.

E.g. the last post here, when I’m logged in I can play back and download the one-minute audio file, but viewing as anon it just appears as a non-functional player (no playback or download link):

> **[Tommo's progress on the Erotomania final solo - including analysis](https://forum.troygrady.com/t/tommos-progress-on-the-erotomania-final-solo-including-analysis/7605/28)**
>
> Nice! Ok this is weird when I tested a file upload to myself in a PM yesterday it automatically displayed as the player, but now I see it’s showing as a download link instead. I’ll see if there’s a way to get this working more consistently… ...

Short term I guess I can turn off `prevent anons from downloading files` since for now it’s more just a minor preventative measure and I think it’s more important for audio playback to work correctly.

Also might be kinda fine to just have the behavior in the post linked above (showing disabled player) rather than not show player at all, when that `prevent anons from downloading files` is on. Or long term maybe Discourse could add a built in (but still super simple) audio player overriding the browser default but allowing more control over display / download settings.

(Assuming no other changes, for now perhaps a tip in that setting would help; to me very unintuitive that a setting re: download permissions would affect the inline audio player!)

---

_[View the full topic](https://meta.discourse.org/t/audio-attachments-dont-work-when-prevent-anons-from-downloading-files-is-enabled/104792)._
