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

Offline playback not supported when using RMTP (Adaptive streaming)


Dear JWPlayer Support,

Right now I want to use adaptvie streaming based on bandwith. My aim is I can use jwplayer that automatically adjust quality based on bandwith. I'm a free user, and from my search in jwplayer the only option I have to get my adaptive streaming is using RMTP.

I use this in my code

<script>
jwplayer("myElement").setup({
file: "rtmp://example.com/application/mp4:uploads/myVideo.mp4",
image: "uploads/myPoster.jpg",
height: 360,
width: 640
});
</script>

I want to play video in chrome
But why I get message "Offline playback not supported"

Is there anything that must be modified in my code ?

Thanks,
William Setiono

3 Community Answers

Todd

JW Player Support Agent  
0 rated :

Hi William,

What is the URL of your RTMP stream?

I tested your code with our RTMP test stream in Chrome on Mac and Windows and it’s working on our end.
Try our stream with your code: rtmp://fms.12E5.edgecastcdn.net/0012E5/mp4:videos/8Juv1MVa-485.mp4

Hope this helps,
Todd

bill_setiono

User  
0 rated :

Thank you for your answer sir
I want to inform you that I don't have RTMP server.
That url that I embed in my question posting to support.jwplayer.com, I got from JWPlayer website in tutorial section

Do I need to have an RTMP server ?
Can I get RTMP server with free account of JWPlayer or should I upgrade my account to Premium membership ?
I have tried using Red5 to create RTMP server but it's not working

Here is the HTML code with rtmp url that you give to me, when I run it in Chrome, it still give error message "Error loading player: Offline playback not supported"

Can you guide me what must I modify in my code ?

<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta charset="utf-8" />
<title></title>
<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key = "ai794VtS/r1Gv982w60XFYjypMoNM75GVpSyyw==";</script>

</head>
<body>

<script>
jwplayer("myElement").setup({
file: "rtmp://fms.12E5.edgecastcdn.net/0012E5/mp4:videos/8Juv1MVa-485.mp4",
image: "uploads/myPoster.jpg",
height: 360,
width: 640
});
</script>

</body>
</html>

Thank you,
William

Todd

JW Player Support Agent  
1 rated :

Hi William,

You need a div tag with id=“myElement” to match your setup script:

<div id="myElement">Loading the player…</div>

Hope this helps,
Todd

This question has received the maximum number of answers.