Page 1 of 1
Cart downloads - playable audio?
Posted: 24 Oct 2019, 19:43
by boomla
Hi,
I'm building a tiny webshop, mainly but not entirely using audiofiles as products.
When I log in as user->Downloads, I can DL the file.
Any thought on how I can make this file playable in the same listing?
Thanks for any feedback,
Re: Cart downloads - playable audio?
Posted: 24 Oct 2019, 21:31
by Benno
Re: Cart downloads - playable audio?
Posted: 24 Oct 2019, 21:45
by boomla
Hi Benno,
Thanks for your reply,
It seems to describe the fuctions public download file in the shopping cart.
I'm looking for my customers to be able to listen the the file they have already bought.
After login -> phoca menu "Download" - here, they can download the file, but as it is now, they cannot push a play-button to listen to /stream the file from the same screen.
I'd like to give them that option.
Hope, it makes sense ;)
Re: Cart downloads - playable audio?
Posted: 25 Oct 2019, 13:00
by Jan
Hi, the section is just a download of files which were bought. There is a counter of download hits, which can e.g. prevent download since some count of downloads, etc. If you want to have some part of your site where users can play music, etc. maybe for your needs it is better to sell access to your content. Which is a little bit different to sells goods.
So for now there is no such option and it will be hard to implement. As mostly you can have downloadable files behind e.g. public_html folder to protect them for download. Such files cannot be played in browser as they cannot be accessed by webbrowser. They can be given for dowload by server (after login, protected) but they cannot be directly accessed to play.
So if you want to have files to download protected - they can be downloaded after login, after ordering, but they can be not played - because for playing you need direct access to such file and because of security you just will not give direct access to such file as then it can be abused by someone who didn't buy the product.
Downloadable file - no direct access, with token, cannot by easily abused
Playable file - direct access, no token, can be easily abused.
This is why the play function works e.g. for demo music not for whole music which can be bought in the shop.
Jan