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

Video not starting with RED5


Hello ! :-)

I finally managed to stream videos using JWPLAYER and RED5.

The only problem I have is that the first video never starts :
when I clic on the play button (or when I configure JWPLAYER to start automatically) the round shaped animation which shows that it is beginning starts, but it goes on endlessly and there is no video...
I have to clic again to have the video being played. Then, everything is ok with all videos.

Do you have an idea of what I can do to fix the problem or where to search ?

Thank you ! :)

Soleille

23 Community Answers

JW Player

User  
0 rated :

By the way, I forgot to tell you that I'm using the oflDemo application.
I've looked inside /log/ofldemo.log but there are only 3 lines which have nothing to do with video streaming...

Thank you for your help ! :)

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
0 rated :

Hello ! :)

Here it is :
http://webclasse.re/gtr/intermediaire.html

Since I couldn't have the videos starting automtically I disabled this option. But if you clic on the menu items, you'll see the problem. :)

Thank you ! :)

Ethan Feldman

JW Player Support Agent  
0 rated :

Can you remove this line from your embed code?

'streamer': 'rtmp://91.121.181.226/oflaDemo',


It is not needed, since you are using a playlist.

JW Player

User  
0 rated :

Hello ! :)

I've tried this but it didn't make the videos start.

I've set "Autostart" to "true" so that I don't hev to clic twice on the menu items.
But then, I sometimes got this message :

Server not found :
rtmpt://91.121.181.226:80/oflaDemo

Is it normal that it is rtmpt and port 80 ?

Thank you ! :)

Ethan Feldman

JW Player Support Agent  
0 rated :

Can I see?

JW Player

User  
0 rated :

Well, I put a screenshot here :
http://webclasse.re/gtr/rtmpt80.jpg

It may happen sometimes. But you can easily reproduce this by clicking several times on the different items in the menu.

By the way, here is what I have in my files :

-xml files :

<rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/trac/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Accompagner des chansons</title>
<item>
<title>La poupe qui fait non</title>
<description>Accompagner "La poupe qui fait non".</description>
<media:content url="la_poupee_qui_fait_non.flv" />
<jwplayer:provider>rtmp</jwplayer:provider>
<jwplayer:streamer>rtmp://91.121.181.226/oflaDemo</jwplayer:streamer>
</item>
</channel>
</rss>

-html files :

<div align='center'>
<script type='text/javascript' src='jwplayer.js'></script>
<br/><br/>
<p align='center'>ACCOMPAGNER DES CHANSONS</p>
<div id='mediaspace'>Accompager des chansons</div>
<br/><br/><br/><br/>
<script type='text/javascript'>
jwplayer('mediaspace').setup({
'flashplayer': 'http://webclasse.re/gtr/player.swf',
'playlistfile': 'http://webclasse.re/gtr/accompagner.xml',
'item': '0',
'playlist': 'right',
'autostart': 'true',
'controlbar': 'bottom',
'width': '520',
'height': '290'
});
</script>
</div>
<div align='center'>
<a href="accords.html">Les accords</a> |
<a href="arpeges.html">Des arpges</a> |
<a href="gammes.html">Les gammes</a> <br/><br/>
<a href="debutants.html">Jouer des musiques - niveau dbutants</a> |
<a href="intermediaire.html">Jouer des musiques - niveau intermdiaire</a> <br/><br/>
<a href="accompagner.html">Accompagner des chansons</a> |
<a href="basse.html">La guitare basse</a>
</div>

Thank you for your help ! :)

Ethan Feldman

JW Player Support Agent  
0 rated :

Hm, I can’t replicate this. I did notice something though. The first two videos in your playlist work. The others do not though.

JW Player

User  
0 rated :

i also having the same problem sometime song play from RED5 server
sometime it show
Server not found :
rtmpt://91.121.181.226:80/oflaDemo

Please Help

Ethan Feldman

JW Player Support Agent  
0 rated :

Link?

JW Player

User  
0 rated :

Hi,

I'm facing the same problem when using the XML playlist.

I autostart the first video and yet it won't start.

Even if I set autostart to false, the first click on the video or on the playlist or on the control won't start.

I have to manually click the 2nd time on the first video link in the Playlist to start it.

Here is the link:

-removed-

Ethan Feldman

JW Player Support Agent  
0 rated :

It autostarts for me…

JW Player

User  
0 rated :

Hi,

Thanks Ethan. Means it is working.

But it is not working at my side on 2 different ISPs and 3 different Web Browsers ( Maxthon, Firefox & Chrome ).

Hmmm.. pretty strange. Could I have missed something or errors in the codes?

Here are my codes:

*HTML page*
bc.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Playlist</title>
</head>
<body>

<script type='text/javascript' src='jwplayer/jwplayer.js'></script>
<div id='mediaplayer'></div>
<script type="text/javascript">
jwplayer('mediaplayer').setup({
'flashplayer': 'jwplayer/player.swf',
'id': 'playerID',
'width': '650',
'height': '480',
'playlistfile': 'playlist/playlist.xml',
'playlist.position': 'right',
'playlist.size': '250',
'repeat': 'always'
});
</script>

</body>
</html>



*XML Playlist*
bc.. <rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/trac/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>RTMP Playlist</title>
<item>
<title>Video 1</title>
<description>Video 1</description>
<media:content url="toystory3.flv" />
<media:thumbnail url="http://domain/thumbs/thumb1.png" />
<jwplayer:provider>rtmp</jwplayer:provider>
<jwplayer:streamer>rtmp://domain:1935/oflaDemo</jwplayer:streamer>
<jwplayer:duration>20</jwplayer:duration>
</item>
<item>
<title>Video 2</title>
<media:content url="avatar.flv" />
<media:thumbnail url="http://domain/thumbs/thumb2.png" />
<description>Video 2</description>
<jwplayer:provider>rtmp</jwplayer:provider>
<jwplayer:streamer>rtmp://domain:1935/oflaDemo</jwplayer:streamer>
<jwplayer:duration>30</jwplayer:duration>
</item>
<item>
<title>Video 3</title>
<media:content url="FindNicheMarket.mp4" />
<media:thumbnail url="http://domain/thumbs/thumb3.png" />
<description>Video 3</description>
<jwplayer:provider>rtmp</jwplayer:provider>
<jwplayer:streamer>rtmp://domain:1935/oflaDemo</jwplayer:streamer>
<jwplayer:duration>40</jwplayer:duration>
</item>
</channel>
</rss>


JW Player

User  
0 rated :

From the above code, you will noticed that I did not use autostart.

Still the issue is, THE FIRST CLICK will NOT start the video.

I have to click the 2nd time to start the video and thus the playlist.


I thought probably an autostart would resolve it. Nope. It has to be another manual click to start the playlist.

JW Player

User  
0 rated :

here is my coding
<script type='text/javascript'>
jwplayer('container').setup({
'bufferlength': '10',
'smoothing' : 'false',
'quality':'best',
'autostart':'true',
'icons': 'true',
'allowscriptaccess': 'always',
'allownetworking': 'all',
'flashplayer': '/jwplayer/player.swf',
'file': 'toystory3.flv',
'streamer':'rtmp://domainName:1935/oflaDemo',
'image':'/jwplayer/logo.png',
'controlbar': 'bottom',
'width': '420',
'height': '270'
});
</script>

With this coding sometime AUTO start from RED5 server perfectly but some time the song from Red5 server unable to play showing the following error on jwplayer screen

rtmpt://domainName:80/oflaDemo

Ethan Feldman

JW Player Support Agent  
0 rated :

@Azmanar Now on the link you have removed autostart – removed -

I do need to click twice for this to start playing.

@munikanta – Where are you running this?

Both of you – we have never supported Red5 officially…

JW Player

User  
0 rated :

Hi Ethan.

Thanks. Even so true that RED5 is not supported officially, you have already been selfless in responding to our enquiries. That is a great deal and I appreciate that very much.

So it could likely be a compatibility issue that need to be addressed by Red5 developer communities then. May take time.

I'm not a techie, so I may have to abandon RED5 as a streamer, unless there are other flash players that are compatible to RED5.





Ethan Feldman

JW Player Support Agent  
0 rated :

Np. I know that Real Helix server works with the player as well, I have tested it myself.

JW Player

User  
0 rated :

Hi Ethan,

Thanks for the tips. I've seen Real Helix.

Can you do me a favor please and get rid of the IP Numbers in 2 posts of mine?

Thanks.

Ethan Feldman

JW Player Support Agent  
0 rated :

Np. Which 2 posts?

JW Player

User  
0 rated :

Hi Ethan,

In this thread.

My post -> Posted: Tue, 2012-06-12 15:14

Your post -> Posted: Wed, 2012-06-13 12:53

Thanks.

JW Player

User  
0 rated :

Hi Ethan

Thanks for valuable tip

I heard that in jwplayer new version(5.4) By default jwplayer search
rtmpt port no 80 when slow connection to connect RED5 server
So,is there also in older version ??

Ethan Feldman

JW Player Support Agent  
0 rated :

@munikanta – Np. I am not sure what you are asking though. 5.4 isn’t the new version, 5.9 is.

@Azmanar – I will make the edits.

This question has received the maximum number of answers.