May 12, 2011 at 10:25 am #3384
Hi – not sure whether this is possible but I am trying to layout some audio tracks for sale on my website, and I’d quite like to use the WordPress Audio Player to preview the tracks. Is there any way to use the shortcode for calling this player inside a ‘fancy product display’?
For albums I use a flash player – and that works fine, but the WP Audio player is quite nice and easy for individual tracks.
YoPo MusicMay 13, 2011 at 12:26 am #32360
The default shortcode that comes with the WP Audio player plugin doesn’t use the proper WordPress shortcode API so shortcode nesting was not possible but we created a proper shortcode for the Audio Player plugin in the extra shortcodes plugin.
Please download this “eStore Extra Shortcodes” plugin and then you will be able to place the audio player inside the “Product Box”. This is the link (checkout the “More Shortcodes and Function References” section)
Place the shortcode for the audio player in the description section of the product then use one of the fancy shortcodes of eStore to display it. For example, Use the following in the description section:
[wp_eStore_audio_player src ="http://www.example.com/auido/test.mp3"]
Then use one of the following shortcode to display the product:
[wp_eStore_fancy1 id=1]May 13, 2011 at 10:36 am #32361
That’s brilliant – thanks.
One question – I can get the audio player to work except for in the Fancy 7 one which is the one with the audio player [wp_eStore_fancy7 id=2]. Same file plays on the other displays but not this one. See here:
First instance fine.
Second one just says “buffering” – but they are the same product with obviously the same shortcode in the product description:
[wp_eStore_audio_player src =”http://www.yopo.co.uk/audio/BrassKnobs.mp3″%5D
Also is there any way to get a line of description to show in the Fancy 7 display – that would be perfect…?
JonathanMay 18, 2011 at 10:41 pm #32362
I am wondering if the problem has something to do with the audio player not being compatible with the newer versions of WordPress. I can’t get the fancy display to work right unless I use the Audio Player plugin and then the music won’t play (when it would play with other audio players). Is there a fix for this? Can it work with audio players compatible with wp 3.1.2? I would prefer to use fancy display 8, but 7 is okay too.
Thanks.May 18, 2011 at 11:52 pm #32363
The following shortcode works fine with the latest version of WordPress:
[wp_eStore_audio_player src ="http://www.example.com/audio/music-file.mp3"]
Fancy 7 and 8 uses the Audio Player plugin because it is the most widely used plugin. They have all been tested against the latest version of WordPress and Audio player v188.8.131.52May 19, 2011 at 2:06 am #32364
I have added the code but see no change. The text link to the song plays the song, but the player (with the same link) says the song cannot be found, or that it is buffering…continually. I do not have php, if it matters. Thanks for what ever you can do.May 19, 2011 at 12:10 pm #32365
Meant to say I do not have php5.May 19, 2011 at 11:49 pm #32366wpCommerceModerator
Can you please post a link to the page?May 19, 2011 at 11:53 pm #32367
WP eStore doesn’t play the mp3 (the audio player does). If you don’t have PHP5 then I don’t think that Audio player plugin will work correctly. You can request the audio player plugin developer to add support for older PHP version.May 20, 2011 at 12:30 am #32368
Thanks for taking a look.
Some player is playing it.May 25, 2011 at 10:39 am #32369
“Fancy 7 and 8 uses the Audio Player plugin because it is the most widely used plugin. They have all been tested against the latest version of WordPress and Audio player v184.108.40.206”
That’s very strange then because as in my last post I gave you a link to a page where I put your shortcode into a fancy product display no thumbnail ([wp_eStore_fancy1_no_thumbnail id=**] and it works fine, but same shortcode inside the Fancy 7 and it doesn’t play.
Does that not sound odd to you?
Have a look here: [http://www.yopo.co.uk/sound-effects/]
2 displays – same shortcode – one works the other just buffers
I also asked whether it would be possible to be able to add a few lines of description to the Fancy 7 display.
JonathanMay 25, 2011 at 11:29 pm #32370
Please note that when you use the Fancy display 7 or 8 the mp3 file URL is taken from the “Digital Product URL” field. The fancy 7 and 8 doesn’t show any description so it does not use the description field.
Please, double check your “Digital Product URL” field for this product and make sure the mp3 URL is correct.May 26, 2011 at 1:47 pm #32371
Ah ok I see. But all my products are zip folders stored on Amazon S3 servers. So I guess 7&8 displays are not going to be any good for my site,
Any plans to develop one like 7 – but with description?
Thanks JOctober 9, 2012 at 3:23 am #32372AuthorYourDreamsMember
I need to play a sample piece of music in the description area of my shopping cart. However, when I paste the code in the description of my fancy shopping cart, it just shows up literally that way. Also, I do not know what to replace “example” with in the following code:
[wp_eStore_audio_player src =”http://www.example.com/auido/test.mp3″%5D
and is it supposed to be spelled auido or audio?
Also, do we need a separate audio player plugin? This was unclear to me.October 9, 2012 at 6:07 am #32373adminKeymaster
You need to install the following audio player and then the above mentioned shortcode will work:
Alternatively, you can use the following audio player too:
Basically, any audio player that allows you to embed a audio using a shortcode will work fine.
- You must be logged in to reply to this topic.