# Download and play button

**URL:** <https://forum.radzen.com/t/download-and-play-button/8582>\
**Category:** Angular\
**Created:** [July 27, 2021, 4:12pm UTC](https://forum.radzen.com/t/download-and-play-button/8582 "2021-07-27T16:12:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SPIeR-IT](https://forum.radzen.com/letter_avatar_proxy/v4/letter/s/ecccb3/32.png) [@SPIeR-IT](https://forum.radzen.com/u/SPIeR-IT)\
**Post date:** [July 27, 2021, 4:12pm UTC](https://forum.radzen.com/t/download-and-play-button/8582/1 "2021-07-27T16:12:15Z")

</div>

Hi Guys,

I'm struggling with a Download and Play button for some time now and it doesn't get better.  
Can you help me with it.  
For instance:

- Where do I put my files for download on the development machine and on the production server
- What commands should I use for download and to play the WAV-files
- Is there a DEMO appl where I can see what I must do ?
- Can you help me with my own appl / can I sent it to you ?  
( I'm a novice in web-development )

Let me know where to search or how to get help. Is there somebody in the Netherlands who could help me ?

With regards  
Henk Spierings

---

<div class="post-metadata">

**Author:** ![mumfie](https://forum.radzen.com/letter_avatar_proxy/v4/letter/m/b4bc9f/32.png) [@mumfie](https://forum.radzen.com/u/mumfie)\
**Post date:** [July 27, 2021, 5:46pm UTC](https://forum.radzen.com/t/download-and-play-button/8582/2 "2021-07-27T17:46:50Z")

</div>

Are you trying to download a WAV file to the client so they can open it in an app already installed or are you trying to get the browser to play the file directly?  
For first method see

> [@Download documents from the Filesystem webserver](http://forum.radzen.com/t/download-documents-from-the-filesystem-webserver/6271):
>
> Hi , I have a huge amount of files ( Word, Excel , MSG ) on the webserver, these files are not in the database. How can I create a download link from within Radzen (Angular). I wanted to ask before using any additional third party or custom modules . Case: Documents stored on filesystem on server : \servername\share\folder\file.docx In database I have a table with the name of the file and server location to the folder and file . I want to make this file downloadable for the users of the a…

If the latter requirement you would likely need an audio player component compatible with Radzen Angular.  
The following link is an example that discusses some of the issues you might encounter.

> **[How to Build an Audio Player app with Angular and RxJS](https://auth0.com/blog/building-an-audio-player-app-with-angular-and-rxjs/)**
>
> How to develop an Audio Player app using Angular, Material Design and RxJS. Handle audio operations and state using RxJS and secure the a...

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [July 28, 2021, 5:18am UTC](https://forum.radzen.com/t/download-and-play-button/8582/3 "2021-07-28T05:18:09Z")

</div>

Those questions are rather generic and depend a lot on your requirements and application specifics.

> [@SPIeR-IT](#):
>
> Where do I put my files for download on the development machine and on the production server

That depends on your requirements and app architecture. You can either save them in a folder or in database. In any case you need to implement a server method to do so. Check [here](https://www.radzen.com/documentation/invoke-custom-method/#upload-files) for example.

> [@SPIeR-IT](#):
>
> What commands should I use for download and to play the WAV-files

The browser downloads a file by following a link. You need to use a link (`<a>`) which points to the URL of the file e.g. "/uploaded-files/myfile.jpg". You can play wav files via the builtin [audio](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio) element.

> [@SPIeR-IT](#):
>
> Is there a DEMO appl where I can see what I must do ?

No but check the documentation article linked above that shows how to upload files with a custom method.

> [@SPIeR-IT](#):
>
> Can you help me with my own appl / can I sent it to you ?

Radzen staff does not provide custom development as part of the support service. This means that we do not implement features of customer applications as part of the support - we only answer questions.
