# Export audio to html using \<audio\> tag not \<a\>

**URL:** <https://discourse.joplinapp.org/t/export-audio-to-html-using-audio-tag-not-a/22506>\
**Category:** Features\
**Created:** [20 December 2021 12:04 UTC](https://discourse.joplinapp.org/t/export-audio-to-html-using-audio-tag-not-a/22506 "2021-12-20T12:04:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![graphit0](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/graphit0/32/3435_2.png) [@graphit0](https://discourse.joplinapp.org/u/graphit0)\
**Post date:** [22 December 2021 14:28 UTC](https://discourse.joplinapp.org/t/export-audio-to-html-using-audio-tag-not-a/22506/3 "2021-12-22T14:28:02Z")

</div>

Reverse engineered further your intentions of opening the issue on github

> <https://github.com/laurent22/joplin/issues/5889>
>
> markdown
> \`\`\`
> \<audio controls src=":/378bcb88e95a405994570cbe6012d9e9"\> \</audio…\>
> 
> \[x\](:/378bcb88e95a405994570cbe6012d9e9)
> 
> \`\`\`
> 
> screenshot:
> !\[图片\](https://user-images.githubusercontent.com/16813683/146770218-c578fa59-ef26-4a5c-b3bb-bb91a7c8d960.png)
> 
> 
> \## Environment
> 
> Joplin version: 2.6.10
> Platform: Windows
> OS specifics: win 11
> 
> \<!--
> Platform can be one of: macOS, Linux, Windows, Android, iOS, terminal (or a combination)
> OS specifics: e.g. OS version, Linux distribution, Android/iOS version...
> \--\>
> 
> \## Steps to reproduce
> 
> 1. create a new note
> 2. drag image to the note
> 3. copy the autogenerated link to audio tag
> 
> \<!--
> Issues without reproduction steps are likely to stall.
> \--\>
> 
> \## Describe what you expected to happen
> 
> The audio tag should display the same with the markdown tag
> 
> \## Logfile
> 
> \<!--
> Please attach a debug log. Issues without a debug log are likely to stall.
> For information on how to collect a log file: https://joplinapp.org/debugging/
> \--\>

I think you have tried to force the player export using the audio html tag

```auto
<audio controls src=":/ID"> </audio>

```

But, to no avail, as Joplin doesn't support playing _local_ audio files with the player provided by the tag, even though Joplin does export the player.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/9/99ab26395705596f0ff6817afd25a4e607760fb4.png)

So, this would be your next feature suggestion, am I right?

> Support playing audio using audio tag `<audio controls src=":/ID"> </audio>`

As this looks like a feature suggestion, how about we first discuss it here before considering it as a bug on github?

Laurent's position on this: such functionality is more advanced hence not officially supported.

> [@Is audio not playable with html5?](https://discourse.joplinapp.org/t/is-audio-not-playable-with-html5/756/3):
>
> As a general rule, HTML support is there mostly for layout, color, styling, etc. but more advanced features such as sound, video or JavaScript handling are not officially supported (though in some cases it’s possible it will work).

---

_[View the full topic](https://discourse.joplinapp.org/t/export-audio-to-html-using-audio-tag-not-a/22506)._
