![](https://secure.gravatar.com/avatar/1be5f4fda8d28a4f8cd42d9931f62e36?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Can't host jwplayer.js on server but only when Cloud Hosted
As a background, I can play a normal RTMP stream hosting both ways: i.e., hosting the jwplayer files on my server and also cloud hosted. (We have the Premium player edition.)
But, when I try to play an ABR "Stream Name Group" from Wowza it only works from the cloud player! Not from the server hosted jwplayer files.
Here's my html.
<!DOCTYPE html>
<html>
<head>
<title>My Video Feed</title>
<script type="text/javascript" src="jwplayer.js"/>
<script type="text/javascript">
jwplayer.key="my-key";
</script>
<!-- this works <script src="http://jwpsrv.com/library/my-key.js"></script> -->
</head>
<body>
<h2>Victory Video Feed</h2>
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
jwplayer("myElement").setup({
width: 640,
height: 360,
image: 'Victory-1280-720.jpg',
file: 'http://172.16.101.8:1935/live/ngrp:myStream_all/playlist.m3u8',
primary: 'flash'
});
</script>
</body>
</html>