April 27, 2010 at 11:02 am #1138
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 #20137IvyMember
Hi, Can you tell me how this auto player is added to the page? It is done by shortcodes?
IvyApril 27, 2010 at 1:40 pm #20138
Hey Ivy, hello.
The page is coded like this:
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
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:
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
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:
[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!
geppoMay 20, 2010 at 11:48 pm #20141
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)
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_fancy4 id=28]May 26, 2010 at 5:31 pm #20142
Hey Amin, thank’s for your help.
It works very fine now: http://shop.t-bahn.com/?page_id=5
GeppoJune 4, 2010 at 10:12 am #20143jalgunnMember
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
JamesJune 4, 2010 at 10:49 am #20144
Have you read the whole post? Please pay attention to the section called “More Shortcodes and Function References”June 4, 2010 at 10:51 am #20145IvyMember
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
IvyDecember 23, 2010 at 10:19 pm #20146sharris203Member
It would be great if you could get YT-Audio plugin to work inside fancy display.July 5, 2011 at 10:06 pm #20147mikieMember
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
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 #20149mikieMember
- You must be logged in to reply to this topic.