Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 65

Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
01/22/14 05:45 PM (11 years ago)

the customization of plugin - Stream Audio - add a CD player UI

I want to add a CD Player UI to the plugin Stream Audio, to make it more like a CD player.... the album photo can rotate.... the demo effect can be seen from this photo https://www.dropbox.com/s/jlo8i6uf3g5ccw8/CDplayerUI.png Does anybody know how to do this? thanks and regards, Skywalker
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/22/14 08:17 PM (11 years ago)
If you just want to change the image from a record player to a CD player, I believe the correct variable is the "albumURL" key. In the Stream control panel, under "streaming audio properties" use your image name or image URL in the "album image url" field… Cheers! -- Smug
 
Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
like
01/22/14 09:05 PM (11 years ago)
hi, Smug thanks for your advice. But I also want the album image I uploaded to rotate....Can I do that just as you said? Regards, Skywalker
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/23/14 01:48 AM (11 years ago)
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/23/14 01:54 AM (11 years ago)
If you want the image to 'rotate', you can use a php script on the server side to rotate images. If you want the image to match the current artist/music, I don't think that is supported; you'd need to ask PSMDanny to be certain. Cheers! -- Smug
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/23/14 11:03 AM (11 years ago)
Send me a PM native code is the way forward here
 
Skywalker
Apple Fan
Profile
Posts: 117
Reg: Dec 25, 2013
上海
1,670
like
01/23/14 05:39 PM (11 years ago)
hi, Smug you may not have used the stream audio plugin. the album image is now selected and uploaded by myself. That's a safer way than support searching the album image automatically from the internet. Do you know how to write PHP code to let the image rotate? thanks and regards, Skywalker
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.