Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Using shortcode for audio player within fancy display

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Using shortcode for audio player within fancy display

Tagged: audio player, audio preview, fancy code 8, How to sale music albums, mp3

  • This topic has 22 replies, 9 voices, and was last updated 9 years, 4 months ago by admin.
Viewing 15 posts - 1 through 15 (of 23 total)
1 2 →
  • Author
    Posts
  • May 12, 2011 at 10:25 am #3384
    jonnys
    Member

    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.

    Many thanks

    Jonathan

    YoPo Music

    http://www.yopo.co.uk

    May 13, 2011 at 12:26 am #32360
    amin007
    Participant

    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)

    WP eStore Shortcodes and Functions Reference

    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
    jonnys
    Member

    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:

    http://www.yopo.co.uk/sound-effects/

    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

    Any ideas?

    Also is there any way to get a line of description to show in the Fancy 7 display – that would be perfect…?

    Thanks

    Jonathan

    May 18, 2011 at 10:41 pm #32362
    Cheryl Rogers
    Member

    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
    amin007
    Participant

    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 v2.0.4.1

    May 19, 2011 at 2:06 am #32364
    Cheryl Rogers
    Member

    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
    Cheryl Rogers
    Member

    Meant to say I do not have php5.

    May 19, 2011 at 11:49 pm #32366
    wpCommerce
    Moderator

    Can you please post a link to the page?

    May 19, 2011 at 11:53 pm #32367
    amin007
    Participant

    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
    Cheryl Rogers
    Member

    Thanks for taking a look.

    http://www.songsfromtheword.com/NewChristianBooks/?page_id=707

    Some player is playing it.

    May 25, 2011 at 10:39 am #32369
    jonnys
    Member

    “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 v2.0.4.1”

    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.

    Many thanks

    Jonathan

    May 25, 2011 at 11:29 pm #32370
    amin007
    Participant

    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
    jonnys
    Member

    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 J

    October 9, 2012 at 3:23 am #32372
    AuthorYourDreams
    Member

    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 #32373
    admin
    Keymaster

    You need to install the following audio player and then the above mentioned shortcode will work:

    http://wordpress.org/extend/plugins/audio-player/

    Alternatively, you can use the following audio player too:

    http://www.tipsandtricks-hq.com/wordpress-audio-music-player-plugin-4556

    Basically, any audio player that allows you to embed a audio using a shortcode will work fine.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 23 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ