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

Integrate Music player in product box

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Integrate Music player in product box

Tagged: audio player, audio player shortcode, digital contents, player, plug-in. short code, title

  • This topic has 13 replies, 6 voices, and was last updated 11 years, 9 months ago by mikie.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • April 27, 2010 at 11:02 am #1138
    sub_bass
    Member

    Hi all,

    i’m setting up the proper shop online for our digital label and i have a question about integration of music player.

    If you check this page http://shop.t-bahn.com/?page_id=88

    you can see the box with the product, and out of the box we have the player.

    It’s possibile to move the player into the box and insert this player immediately under the track title?

    PS:the player work correctly but the track is temporarely disabled ;)

    Thank’s for help

    The label!

    April 27, 2010 at 11:40 am #20137
    Ivy
    Member

    Hi, Can you tell me how this auto player is added to the page? It is done by shortcodes?

    Cheers,

    Ivy

    April 27, 2010 at 1:40 pm #20138
    sub_bass
    Member

    Hey Ivy, hello.

    The page is coded like this:

    [wp_eStore_fancy:product_id:ID:end]

    [audio:http://www.yourdomain.com/path/to/your_mp3_file.mp3]

    The player in use come from http://www.wpaudioplayer.com

    If you need other info, back to me!

    thanks!

    April 28, 2010 at 12:02 am #20139
    amin007
    Participant

    Yes, you can place it in the description section (shortcode nesting) of the product which will move it inside but there is a problem in your case.

    Shortcode nesting (one shortcode inside another) only works when the shortcodes are created using the proper WordPress Shortcode API explained here:

    http://codex.wordpress.org/Shortcode_API

    I had a look at the code of the audio player plugin and the shortcode is implemented using filters. This is the old way (pre WordPress 2.5) of implementing shortcode. Please request that developer to update the shortcode implementation and it will work fine.

    May 20, 2010 at 6:59 pm #20140
    sub_bass
    Member

    Hey Amin, thank’s for your suggestion.

    I contacted the developer that provided me another version of player that support shortcode implementation but again nothing happened after installing new version and changing codes.

    Can you take a look at http://shop.t-bahn.com/?page_id=66

    and the code is:

    [wp_eStore_fancy:product_id:28:end]

    [audio "http://yourdomain.com/path/to/file.mp3" option1="value" option1="value"]

    The player is always out of the box…

    I ask also to the developer of player what’s is going wrong again, waiting for an answer…

    thanks for support!

    geppo

    May 20, 2010 at 11:48 pm #20141
    amin007
    Participant

    I have went ahead and came up with an alternative. I introduced a shortcode for for the “Audio Player” plugin.

    Please go ahead and 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=28]

    or

    [wp_eStore_fancy2 id=28]

    or

    [wp_eStore_fancy4 id=28]

    May 26, 2010 at 5:31 pm #20142
    sub_bass
    Member

    Hey Amin, thank’s for your help.

    It works very fine now: http://shop.t-bahn.com/?page_id=5

    Big up!

    Geppo

    June 4, 2010 at 10:12 am #20143
    jalgunn
    Member

    Amin,

    I’m interested in the plug-in / short code that you mention as I do audio things on my web site ( http://mp3travelclub.com ). but the link you provide seems to be your standard list of short codes and not the plug-in you mentioned. Can you point me to the right place, please ? Or have I misunderstood ?

    BTW sub_bass – I looked at your site and got “file not found” errors when trying to play tracks on your site

    James

    June 4, 2010 at 10:49 am #20144
    amin007
    Participant

    Have you read the whole post? Please pay attention to the section called “More Shortcodes and Function References”

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    June 4, 2010 at 10:51 am #20145
    Ivy
    Member

    James, The plugin is just below the list of shortcodes on the above page. Please make sure to ask for an update as you will need to have a current version of the plugin to use the new shortcodes plugin. You can learn more about how update work here: https://support.tipsandtricks-hq.com/forums/topic/how-and-when-do-you-get-an-update

    Cheers,

    Ivy

    December 23, 2010 at 10:19 pm #20146
    sharris203
    Member

    It would be great if you could get YT-Audio plugin to work inside fancy display.

    http://wordpress.org/extend/plugins/yt-audio-streaming-audio-from-youtube/

    July 5, 2011 at 10:06 pm #20147
    mikie
    Member

    Chiming in here on the audio player short code. The proper code you have in the extra shortcodes pdf works wonderfully in my product descriptions. I’ve put this out on the WP Forums but no answer as yet. And you guys seem to have thought of everything so I’ll ask: Any idea how to have the audio player pass on the title parameter using your extra proper shortcode code for audio player? It passes it using the old [audio;http etc] by adding |titles=the title but that doesn’t seem to work in the extended shortcode version (an the old [audio:http etc] won’t work in product descriptions in my theme). I know audio player is not your thing so I won’t mind if you say, “who knows?” but in case you do…

    My audio sits on a different folder so audio player needs some code to pass along the title/artist parameter from the ID3 tags. Thanks.

    July 6, 2011 at 1:57 am #20148
    amin007
    Participant

    If you open the “shortcode_include.php” file and search for the following line of code you see how extra shortcode plugin calls the player:

    $output .= $AudioPlayer->getPlayer($source, $playerOptions, "");

    The $playerOptions array can take a few options. You should be able to read up the documentation for that audio player plugin and see what options you can specify in that array (I don’t know much about that plugin but I have a feeling you can specify the title parameter in that array).

    July 6, 2011 at 6:51 am #20149
    mikie
    Member

    Thank you!

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

Forum Related

  • Forum Home
  • Forum Search
  • 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
  • WP PDF Stamper Documentation
  • WP Photo Seller 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
  • WP Photo Seller Video Tutorial

Our Other Plugins

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

Copyright © 2023 | Tips and Tricks HQ