Jump to content

Add audio to product


Recommended Posts


Is there a way of using main.stream.php in the product categories instead of after purchase.

I'm selling audio files and synth presets, but want the customer to be able to play a demo of what's inside the pack before they purchase by clicking on, either, the product image or a 'Listen' button and then the audio player show as a dropdown.

Link to comment
Share on other sites

I am aware of a Karaoke store that uses MediaElement:


Sample page (uses Blueprint skin - no longer available in CubeCart's Marketplace):


It is my opinion that the main.stream.php template is too substantial to be used to play demo snippets.

Link to comment
Share on other sites

Thanks @bsmither

I find main.stream.php is in the wrong place to be honest, with a choice of download or listen after purchase. I was hoping there was a way of utilising the page before by triggering it in the pre-purchase side, or being able to add a media player in the product content. I wanted to avoid using an iframe in the product description if that's possible?

Link to comment
Share on other sites

Regarding the sample page mentioned earlier - I don't see that implementation as an iframe. From what I see, it's a javascript-powered enhancement wrapper around a standard HTML 5 <audio> tag.



CubeCart, being a general-purpose, but (thankfully) not full of bloat, ecommerce solution, thus relies on specific-purpose features to be implemented by the store owner.

Which, actually, from my point of view, streamable purchased downloads is outside this general-purpose arena. So, maybe it was implemented to fit the paradigm of mobile devices? Just my uninformed opinion.

Edited by bsmither
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...