
Player Window Not Present On Web Page ?
I have downloaded the free version of JW Player and followed the steps to embed the player in a web page on my web site. However, when I open the web page the player window is not present, instead, I get a message indicating "loading the player....."
I embedded the code for the self hosted option into the page on my web site, should I have used the cloud hosted option for the player if I am using a hosted domain web site?
I have pasted below the HTML for the web page:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>my-stream</title>
<link rel="stylesheet" href="stream_TWC.css">
<script src="/jwplayer/jwplayer.js" ></script>
<script>jwplayer.key="ElAq8FJDWcTDn3UP48xHS2hTKxzIptAx2xhcKA==";</script>
</head>
<body>
<div id="container">
<h1>my-stream</h1>
<p></p>
<h2>Welcome to the stream</h2>
<p></p>
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
jwplayer("myElement").setup({
file: "/Uploads/teststream.mp4",
image: "/Uploads/Logo.jpg",
width: 640,
height: 360
});
</script>
<p></p>
<h3>Service Level</h3>
<p></p>
<p>This stream is for a test.</p>
</div>
</body>
</html>
Any help most appreciated.
Rgds