marko
Posts: 0
Joined: Sun May 11, 2014 4:26 pm

How to get an audio stream to work on all devices?

Hi I'm new appery io and coding in general.

I'm setting up a community radio station and i need to be able to use an audio component to play our shoutcast v2 audio stream.

How can I do this i've seen the jplayer online but i need a step by step way on how to add it to our app..

I'd also like to display a different image at different hours of each day so the presenters face / logo appears.

So for example dave is doing a show on tuesday at 4pm i'd to display daves image and text about his show

then at 5pm another dj comes on called nigel and then i'd like to change the picture to nigel instead of dave and also the text to go with nigels show..

when i embed a youtube video nothing plays?

Any help would be appreciated as you can imagine i'm feeling out of my depth with this and its a community project for disadvantaged young people so i have to create the app myself as i dont have a huge budget.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to get an audio stream to work on all devices?

Hi Marko,

Add custom CSS/JS for jplayer, and add HTML component with the needed player layout.
Here are two ways to change images at a certain time:

1) Use Push notification (http://docs.appery.io/documentation/b...) and change image when receive it.
2) Use setInterval function (https://developer.mozilla.org/en-US/d...) and change image after a certain period of time.

Return to “Issues”