thebigjohnshow Posted June 5, 2020 Posted June 5, 2020 I'm a newbie here. I'm excited about learning more about this. Just a question here, but is there a way someone could preview a small snippet of audio (within the coding of the store) before they decide to purchase the digital good? Thank you for your time, John
wakabayashi Posted June 5, 2020 Posted June 5, 2020 I am no expert on this. But https://www.w3schools.com/html/html5_audio.asp shows a very simple way to add audio files as html code. You could try to add such a code on product description and see if it works out of the box. Otherwise a clean module with upload function in the BO and display option in the FO wouldn't be very complicated 🙂
thebigjohnshow Posted June 5, 2020 Author Posted June 5, 2020 Wakabayashi, I appreciate your reply. I tried your suggestion using the link you provided, but it doesn't work. I've sued both chrome and Firefox. What do you mean by a clean module? I already have the audio uploaded / ready to sell.
colorful-ant Posted June 5, 2020 Posted June 5, 2020 If I understand correctly you want to sell audio files. for this I think the articles should be set up as a virtual product. 1. as a preview, you could add a preview in the respective product in the product description 2. another option would be to add a preview in the product information under attachments
thebigjohnshow Posted June 5, 2020 Author Posted June 5, 2020 (edited) Colorful-Ant, I don't see where I could add an audio preview in the button bar. There is one for video and for pictures, but nothing for audio. The other suggestion would let people download the audio for free. Even if I took a 10-15 second audio section and put it in the "Attachments", the person would have to download the audio onto their device. I would prefer a more convenient way of letting play off our website. I may have to wait on this idea until something better comes along. Thank you for your suggestions! Thank you for your time, John Edited June 5, 2020 by thebigjohnshow
Traumflug Posted June 6, 2020 Posted June 6, 2020 One can add any HTML code. The leftmost button ('Code') allows to edit raw HTML directly, all other buttons are mostly for convenience.
thebigjohnshow Posted June 10, 2020 Author Posted June 10, 2020 Traumflug, I don't know why, but I am still having trouble with this. I have tried to use the simple coding for HTML 5 player, SoundCloud embedding, and Script Generator (https://scriptgenerator.net/really-simple-embed-audio-player-script/) to get it to work. I keep getting the same message "Your browser does not support the audio element". I have used two different computers (each with Firefox and Chrome) and Android smartphone (also with Chrome and Mozilla). I've also tried with Microsoft Edge (new version). One a side note, when I tried to use SoundCloud embedding, I keep getting the error code saying "The description field (English (English)) is invalid." To be honest, I'm not sure what that means. Maybe it didn't like some of the code or maybe it was too much? I don't know. I just thought maybe someone would like to know incase it's a bug issue or something. I do appreciate every ones help and hope to get this figured out soon.
thebigjohnshow Posted June 10, 2020 Author Posted June 10, 2020 NEVER MIND!!! WHOOO HOOO! I think I fixed it. It was a setting in the general settings "Allow iframes on HTML fields"! I feel like a moron, but I also feel like I learned something too, so I don't feel as bad! LOL 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now