AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: buddahboy on December 24, 2013, 08:01:08 AM

Title: Sitewide Music Player
Post by: buddahboy on December 24, 2013, 08:01:08 AM
Greetings and nearly Merry Christmas,

I had installed the SCM player (http://scmplayer.net/) and embeded the code in a block which gave me a player that followed the user without the page refresh, so the music was uninteruppted during the site navigation.  The problem I had in using this was the final step in checkout was not working - upon clicking on "confirm order" the order information and customer browser were not forwarded to PayPal, just sits on that page. 

Following is the code (with only one song listed) - any ideas on how I can integrate this player into my AbanteCart?  Or, any suggestions regarding other sitewide players that would work with AC?

<!-- SCM Music Player http://scmplayer.net -->
<script type="text/javascript" src="http://scmplayer.net/script.js"
data-config="{'skin':'skins/simpleBlue/skin.css','volume':50,'autoplay':false,'shuffle':false,'repeat':0,'placement':'bottom','showplaylist':false,'playlist':[{'title':'From Songs From The Dhuni','url':'http://www.vishwagifts.com/scm/dhuni/01.mp3'}]}" ></script>
<!-- SCM Music Player script end -->

Thanks for any advice or suggestions
Ron
Title: Re: Sitewide Music Player
Post by: abantecart on December 24, 2013, 10:38:23 PM
I added your code to product as HTML block and works perfect. Are you looking to automate it?
Title: Re: Sitewide Music Player
Post by: buddahboy on December 26, 2013, 10:40:44 AM
Hello abantecart - this is a brief expression of exactly what I've experienced - taken from a different forum board and all advice is that the player should be removed as it uses a an iFrame:

The store ****** (site not online) has a music frame, which streams a playlist of music while browsing the site. It's works fantastically, but the frame doesn't change URL which is causing issues with the SSL certificate. This causes the Paypal checkout to stop functioning all together.

So that's the issue and the only solution I can find anywhere is that it's best to remove it.  I am now thinking of Wimpy MP3 player in a popup - both solutions would require a "click" in order to hear music anyway as I would not have automatically playing music on the site. 

Thanks much and if you have any other ideas or insights it would be appreciated for sure. 

All the best
Ron


Title: Re: Sitewide Music Player
Post by: abantecart on December 26, 2013, 04:48:38 PM
I still do not see a problem  :)

To prevent issue with loading non-ssl content just change http: to https.  See below. I tried and it works perfectly.

Code: [Select]
<!-- SCM Music Player https://scmplayer.net -->
<script type="text/javascript" src="https://scmplayer.net/script.js"
data-config="{'skin':'skins/simpleBlue/skin.css','volume':50,'autoplay':false,'shuffle':false,'repeat':0,'placement':'bottom','showplaylist':false,'playlist':[{'title':'From Songs From The Dhuni','url':'https://www.vishwagifts.com/scm/dhuni/01.mp3'}]}" ></script>
<!-- SCM Music Player script end -->