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

Player on Mobile - web page: file could not be played


Hi,
i've this problem
on my site https://www.telebari.it/televisione/web-tv-2.html the player works fine, also if i open it on a mobile phone (samsung and iphone for example).
But with my app android, if i open the link IN the app, the page load fine but the player show the message file could not be played
Here is my web page's code
<script src='https://www.telebari.it/jwplayer/jwplayer.js' type="text/javascript"></script>
<script type="text/javascript">// <![CDATA[
jwplayer.key='*************';// ]]></script>
<div id="mediaplayer" align="center">Loading...</div>
<script type="text/javascript">// <![CDATA[
var playerInstance = jwplayer('mediaplayer');
playerInstance.setup({playlist: [{sources: [
{file: 'rtmp://fl1.mediastreaming.it:1935/telebari/livestream'},
{file: 'http://fl1.mediastreaming.it:1935/telebari/livestream/playlist.m3u8'}]}],
primary: 'html5', autostart: 'true', androidhls: 'true', hlshtml: 'true', width: 'auto', height: '290'});
// ]]></script>

9 Community Answers

it

User  
0 rated :

i need to say that the same app, on apple mobile, works fine and the page show the streaming!

George

JW Player Support Agent  
-1 rated :

Your video source is http: on an https: site
http://fl1.mediastreaming.it:1935/telebari/livestream/playlist.m3u8

Please make sure all content is secure.

Also, please send me a test page replicating the issue as described in the document below:
https://support.jwplayer.com/customer/portal/articles/2186238-troubleshooting-%E2%80%94-creating-a-test-page

The test page must not contain any additional code or CSS, it must only contain the player and concrete steps to reproduce with expected and actual behavior.

it

User  
0 rated :

No,
if i use the https in the m3u8 string, on a pc works but not in the mobile browse and not in my app :error loading media file could not be played

it

User  
0 rated :

here is my page https://www.telebari.it/tv.html

George

JW Player Support Agent  
0 rated :

Hi,

I’m having trouble accessing the HLS stream:
https://fl1.mediastreaming.it:1935/telebari/livestream/playlist.m3u8

Since RTMP would require Flash to play on our player, I’d recommend only using the HLS source.

it

User  
0 rated :

How? I don't understand..
Sorry for my english.

George

JW Player Support Agent  
0 rated :

This stream:
https://fl1.mediastreaming.it:1935/telebari/livestream/playlist.m3u8

Doesn’t work for me. Please fix above stream

it

User  
0 rated :

i was trying. Now it is http! but doesn't work. please help me.

George

JW Player Support Agent  
0 rated :

You need to contact your streaming provider. We do not control the HLS stream:
https://fl1.mediastreaming.it:1935/telebari/livestream/playlist.m3u8

Contact:
http://www.mediastreaming.it/

This question has received the maximum number of answers.