Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Show a static image while an audio file is being played


Can we add a static image while an audio file is being played in JWPLAyer. Currently, the user can see a black screen at this time. Please help.
We are able to add an image in JWPlayer unless file is started playing.

11 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

You could do something like this:
http://qa.jwplayer.com.s3.amazonaws.com/~george/audio_mp3_poster.html

a...

User  
0 rated :

Yes we would like to do similar presentation, how can we do this using JWPlayer SDK?

George

JW Player Support Agent  
0 rated :

https://developer.jwplayer.com/sdk/android/reference/com/longtailvideo/jwplayer/media/playlists/PlaylistItem.Builder.html
https://developer.jwplayer.com/sdk/ios/reference/Classes/JWPlaylistItem.html

a...

User  
0 rated :

so we have to use this method

public PlaylistItem.Builder image(String image) ?

a...

User  
0 rated :

we are using this method but image get removed when player starts playing the file

George

JW Player Support Agent  
0 rated :

Are you using the latest SDK?

a...

User  
0 rated :

yes

a...

User  
0 rated :

JWPlayer-SDK Version (2.7.2) It’s for iOS.

jwplayer-2.7.0+15 for Android

George

JW Player Support Agent  
0 rated :

Those are not the latest versions of the SDK.

Android 2.7.4
https://developer.jwplayer.com/sdk/android/docs/developer-guide/about/release-notes/
iOS 2.7.4
https://developer.jwplayer.com/sdk/ios/docs/developer-guide/about/release-notes/

a...

User  
0 rated :

We have updated the JWPlayer to latest one (2.7.4). In this sdk, it’s saying we can add image while playing audio.

Below is the property and it's description, which helps to set image. We just need to pass image url string.
/*!
URL to a poster image. The image is displayed before and after playback, and in the listbar. For audio-only media, the poster image stays visible during playback.
*/
@property (nonatomic, retain) NSString *image;


But still it’s showing black screen. I think there is problem with SDK.
Once the audio get downloaded, Its start showing image as well while playing audio.

Can you please guide us on this.

Daniel Berger

JW Player Support Agent  
0 rated :

Hi,

I will follow up with you in a private email so that we can review your setup. Thanks.

This question has received the maximum number of answers.