![](https://secure.gravatar.com/avatar/3920167e6784d4911fdbc47d99f06ee5?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Jwplayer cant play rtmp live stream
hello dear, See my code below. i can watch the rtmp stream from vlc player but when i am trying to show the rtmp live stream on my website using jwplayer its showing "error loading stream. could not connect to server.
please see the link : http://www.justlive24.com/watch_test.php
here is the code below
<html>
<body>
<script src="stream/jwplayer.js"></script>
<div id="mediaplayer">This div will be replaced by the JW Player</div>
<script>
jwplayer('mediaplayer').setup({
width: "600",
height: "500",
primary: "flash",
autostart: "true",
repeat: 'always',
sources:[
{ file: "rtmp://216.245.200.114:1935/Live/shomoy" }
]
});
</script>
</body>
</html>