Jump to content

Configuration - Flash/Embed in Short Description


Recommended Posts

Hi

I'm running a small indie record label and we're trying to display a small embedded flash audio player on the short product description page.

The player(s) we're using work ok for the main product description but the same embed code does not display on the short product description.

Is there something that disables flash or embedded code on this page?:

http://pestcontrolrecords.com/shop/category.php?id_category=23

Thanks in advance for any help! :)

David

Link to comment
Share on other sites

  • 1 month later...

is this going to be released with the next version of prestashop? I would like to have a preview player as well. I would think with the word "downloadable product" most likely music is involved. surprised that this hasn't been included. I hope to hear from someone.

Thanks

Link to comment
Share on other sites

Here is a quick free fix until prestashop comes out with a true music player.


<embed wmode="transparent" src="http://www.ericzhang.com/music/?url=http://www.yourwebsite.com.mp3&autostart=true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="50"></embed>


You can work that into the short or long description field under product. I tested it out and it works fine. If you don't want it to auto play just switch from "autostart=true" to "autostart=false".

he .swf file is sitting on this person's server. he has a code to download for it. but i couldnt' get it to work on my server after a few hours. If you can find out a way around it I would like to know.

http://www.ericzhang.com/mp3.php is where i got the script.

Link to comment
Share on other sites

Thanks for the suggestion aquamarine. I tried out your idea and it does work on the product page however does not display on the product list page as in my link at the top of the topic. I'm guessing something in the php disables the embed code on this page.

Link to comment
Share on other sites

oh right.. what a drag:-( . I think that there is a embedded code somewhere that's stripping the flash script from the player. When I edit it in the HTML code editor under product. I would update and save, come back again and it rewrote the script. It's definately a glitch and would suspect you can't add it to any of the blocks. Just hope there is someone who can solve this mystery.

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 weeks later...
  • 1 year later...
  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...