View Single Post
Old 10-05-2012, 01:54 AM   PM User | #5
ted.johnson0988
New Coder

 
Join Date: May 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
ted.johnson0988 is an unknown quantity at this point
Quote:
Originally Posted by xelawho View Post
hmm, I don't really know - from the documentation it seems to be made from 3 other libraries. You could try adding an onplay alert, by replacing that line with this:
Code:
SCMMusicPlayer.init("{'skin':'skins/black/skin.css','playback':{'autostart':'true','shuffle':'true','volume':'40'},'playlist':[{'title':'2Spooky Battle','url':'http://a.tumblr.com/tumblr_mbdoptQ5LT1rte8jio1.mp3'}], 'onplay': function() {alert('playing');},'placement':'bottom','showplaylist':'false'}");
and seeing if it alerts when playback begins
I've done that and the player still works but how would I link the appearance of the images to the "onplay" feature?
Forget everything about it moving; I can take care of that myself through use of .gifs but I just want it to appear when the music starts.

Thank you so much for your help, by the way.
ted.johnson0988 is offline   Reply With Quote