livestream not working on LAN
This question is closed some where else on the forum, but there was no real answer in that dialog. I am using the embeded JW-Player and it works fine on the internet. I wrote a different web page with LAN address of the rtmp server, it comes up with the message that server cannot be found.
Below is the code for the page that works from the internet. How would I edit that so it would work on the LAN?
<DOCTYPE html>
<head>
</head>
<html>
<body>
<script src="//content.jwplatform.com/players/PK3gEjNI-2lz77Kxo.js"></script>
<div id=cover></div>
<script>
$(document).ready(function() {
jwplayer("cover").setup({
file: "rtmp://mydomain.com/live/stream", I have tried changing this to ('rtmp://LAN_HOST_IP/live/stream') but it does not work.
image: "/steve/images/sophisticated.gif",
height: 360,
width: 640
});
});
</script>
</body>
:</html>