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

MP3 playlist auto play next tracks in iphone


Hello everyone

I am using jwplayer version 6 for MP3 playlists in RSS on my website but for some reason the playlist does not start the next track automatically on mobile devices. Can you please help.

url: http://bit.ly/2f2aMTI

It could be that I am missing a variable in the setup.

Thanks in advance.

8 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

Could you potentially just place this on a vanilla setup page? Also you are using a rather old release of our player, have you considered at least moving up to player release 6.12.4956? You can download this information from your JW Player Dashboard: Here.

Randy

h...

User  
0 rated :

Hi Randy

Okay I have now tried latest JW6 vanilla and also JW7 also vanilla, using HTML5 player setup. Both have same issues, they do not trigger next track on mobile devices (especially iPhone) if the browser page is not opened on the front.

JW6: http://bit.ly/2fFmsio
JW7: http://bit.ly/2eAUksf


Can you please help in case I am missing a trick in there.

Randy

JW Player Support Agent  
0 rated :

Hello,

How are you instructing the player to play the next stream? By default the stream should play the next video content when encountering an RSS or JSON feed. Can you show me your code using the standard JW Player params?

https://developer.jwplayer.com/jw-player/docs/developer-guide/api/javascript_api_reference/

Randy

h...

User  
0 rated :

Hi Randy

I am using plain vanilla setup with an RSS MP3 playlist in the player. I have checked the problem is only on apple products (iPhone and iPad), android devices play the next tracks from the playlist without any issues automatically.

JW6: http://bit.ly/2fFmsio
JW7: http://bit.ly/2eAUksf

You can see the JavaScript in the above links source code. There is no additional layer of configuration applied to the above setup just plain and simple JWPlayer.

Scenario: play a track from the visible playlist on iPhone and either open another page on the browser or minimise it. The next track will not be played automatically. However if you do the same on desktop or android phone the next tracks automatically play from the loaded playlist.

Hope you can help.



Randy

JW Player Support Agent  
0 rated :

Hello,

The provided links above actually play the next stream as expected on my iPhone running iOS release 10.0.2. I experienced this behavior in both the 6 and 7 players you’ve provided above. Can you confirm that you are running at least iOS release 10?

Randy

h...

User  
0 rated :

Hi Randy

I have several iPhones 4s/5/6s/7 and iPad, and all of them are running up to date OS updates. On the same time have several android devices as well.

So if I have the tracks running in iPhone/iPad and I keep that page open and in focus the next track loads. However if I minimise the browser or lock the screen or open another app, the next track is not loading.

However android devices have no issues playing tracks from the playlist non stop.

h...

User  
0 rated :

Hi Randy

I investigated this issue thoroughly and found that this because of iPhone/iPad limitation that apple has put in. The limitation stops audio/video to autoplay without any interaction. The initial trigger has to come from the user.

So due to this, I have decided to allow users to download an m3u playlist to play on an audio player on the device such as Remote Media Manager, it allows an M3U from any URL to stream music from the web.

Thanks for your help.

In case you have an alternative workaround please do let me know.

Randy

JW Player Support Agent  
0 rated :

Hello,

I figured this was the issue as it is something introduced in iOS 10. I believe our engineering team are working on a new player to handle this gracefully (tentatively 7.8). I believe once this is released you might have better experience. In the meantime please stay tuned and check our release channel: https://www.jwplayer.com/release-candidate-sign/

Randy

This question has received the maximum number of answers.