Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

SCM music player in magento
 
lucek111
Jr. Member
 
Total Posts:  3
Joined:  2013-04-27
 

<!-- SCM Music Player http://scmplayer.net -->
<script type="text/javascript" src="http://scmplayer.net/script.js" 
data-config="{'skin':'skins/tunes/skin.css','volume':50,'autoplay':true,'shuffle':false,'repeat':1,'placement':'bottom','showplaylist':false,'playlist':[{'title':'Kanye West Stronger','url':'https://soundcloud.com/queenbeat/kanye-west-stronger'},{'title':'Niggas','url':'https://soundcloud.com/oswualdo/kanye-west-niggas-in-paris'}]}" ></script>
<!-- SCM Music Player script end -->
Hi i want to add this code to my magento store but i don’t know where to i want to music player appear on every site of the store and don’t turn off when you change page.
i have custom theme magik pinstyle
please help me
my store rg-distribution.com
 
Magento Community Magento Community
Magento Community
Magento Community
 
Lyonscg
Sr. Member
 
Avatar
Total Posts:  173
Joined:  2009-11-13
Chicago IL
 

You could create a static block, place this code inside, and then call the static block from either the header or footer of the site.

More ideally, you should create a new module with an event observer, then depending on whether you want it in the header or footer, look for the corresponding event and then using toHtml() add your js.

How comfortable are you with coding? If you’re not very, I can walk you through the easier of the two which should literally take minutes.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top