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

Error loading player: No playable sources found


I'm having an IOS cloudfront issue.

The following code works perfectly well on Firefox but when I try it on the ipad I get "Error loading player: No playable sources found".

If I change the file to "ZAB.mp4" which is on the local webserver, it works fine on both the PC and iPad.

Does anyone have any suggestions? Am I missing something?

bc.. <script src="http://jwpsrv.com/library/u3uKSsn6EeKD8BIxOQulpA.js"></script>


<div id="container1" >Loading video...</div>
<script type="text/javascript">
jwplayer('container1').setup(
{
'id': 'container1',
'wmode': 'transparent',
'icons': 'true',
'allowscriptaccess': 'always',
'allownetworking': 'all',
'file': 'rtmp://s4regmn755rvt.cloudfront.net/cfx/st/video.mp4',
'width': '500', 'height': '307',
'controlbar': 'bottom',
'dock': 'false',
'provider':'rtmp',
'streamer':'rtmp://s4regmn755rvt.cloudfront.net/cfx/st'
});
</script>

14 Community Answers

JW Player

User  
0 rated :

RTMP is Flash only. Flash doesn't work on the iPad.

You need to create a sources block and provide a normal MP4 alternative as detailed here:

http://www.longtailvideo.com/support/jw-player/28854/using-rtmp-streaming

bc.. jwplayer("myElement").setup({
playlist: [{
image: "/assets/myVideo.jpg",
sources: [{
file: "rtmp://example.com/application/mp4:myVideo.mp4"
},{
file: "/assets/myVideo.mp4"
}]
}],
height: 360,
primary: "flash",
width: 640
});

JW Player

User  
0 rated :

Thanks for your reply

Is the assets/video.mp4 file to be put on my webserver?

So I need to duplicate the .mp4?
One local for iOS and one on the S3 bucket for all other browsers?

JW Player

User  
0 rated :

I tried that but now the video wont show at all.

http://3xmsolution.com/videov5.html


bc.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<script src="http://jwpsrv.com/library/u3uKSsn6EeKD8BIxOQulpA.js"></script>
</head>

<body>



<div id="container1" >Loading video...</div>
<script type="text/javascript">
jwplayer("myElement").setup({
playlist: [{
image: "/assets/myVideo.jpg",
sources: [{
file: "rtmp://s4regmn755rvt.cloudfront.net/cfx/st/mp4:/video.mp4"
},{
file: "http://moviemasher3xm.s3.amazonaws.com/video.mp4"
}]
}],
height: 360,
primary: "flash",
width: 640
});
</script>



</body>
</html>



JW Player

User  
0 rated :

The example I posted was taken direct from the documentation - it wasn't specific to your environment... Sorry. Try this instead:

bc.. <div id="container1" >Loading video...</div>
<script type="text/javascript">
jwplayer("container1").setup({
playlist: [{
sources: [{
file: "rtmp://s4regmn755rvt.cloudfront.net/cfx/st/mp4:/video.mp4"
},{
file: "http://moviemasher3xm.s3.amazonaws.com/video.mp4"
}]
}],
height: 360,
primary: "flash",
width: 640
});
</script>

JW Player

User  
0 rated :

You may need to remove the "/" from:

bc.. file: "rtmp://s4regmn755rvt.cloudfront.net/cfx/st/mp4:/video.mp4"



making it:

bc.. file: "rtmp://s4regmn755rvt.cloudfront.net/cfx/st/mp4:video.mp4"


Ethan Feldman

JW Player Support Agent  
0 rated :

Also, an example on our site is – http://www.longtailvideo.com/support/jw-player/29394/hls-with-mp4-fallback

Make the 1st source RTMP, 2nd source MP4, then you should be all set.

JW Player

User  
0 rated :

Many thanks for your help!

Ethan Feldman

JW Player Support Agent  
0 rated :

Np!

JW Player

User  
0 rated :

Ok, new problem!

I upgraded to the pro version,uploaded the jw files to a jwplayer folder,
but now it wont play on iOS again.

<script type="text/javascript" src="/jwplayer/jwplayer.js" ></script>
<script type="text/javascript">
jwplayer.key="xxxxxxx/xxxxxxxx/xxxxxxx==";</script>


<div id="container1" >Loading video...</div>
<script type="text/javascript">
jwplayer("container1").setup({
playlist: [{
sources: [{
file: "rtmp://s4regmn755rvt.cloudfront.net/cfx/st/mp4:<?=$link?>"
},{
file: "http://moviemasher3xm.s3.amazonaws.com/<?=$link?>"
}]
}],
height: 360,
primary: "flash",
width: 640
});
</script>

Is there something different when I'm hosting it myself?

Thanks,

Ethan Feldman

JW Player Support Agent  
0 rated :

Can I see a link?

JW Player

User  
0 rated :

http://www.weddingalbumboutique.com/video_viewer_pro.php?id=3999a1019c913

Ethan Feldman

JW Player Support Agent  
0 rated :

This plays for me? I see Barney from the Simpsons.

JW Player

User  
0 rated :

Odd, maybe the license took a while to load through or something.
It works fine now! Excellent

1 more thing, is there a way (with the pro version) to remove the ability to go full screen?

Thanks,

Ethan Feldman

JW Player Support Agent  
0 rated :

Np!

You can remove that button from the controlbar by making a custom skin. We have SDK available here – http://developer.longtailvideo.com/trac/

This question has received the maximum number of answers.