
JW7 player fails to Embed
Hi There,
The file below is named: jw7.html and I have it in an AWS S3 bucket with the other relevant JW7 files. I have an AWS Cloudfront distribution of this bucket.
1/When I launch https://d1q5prbh825lra.cloudfront.net/jw7.html with a browser the jw7 player works perfectly. You can confirm this for yourself as I have left it setup.
2/Unfortunately when I embed the jw7.html file into a webpage I get a red rotating ring and the file doesn't play.
3/When I substitute the jw7 player with a jw6 player in the html file below below it all works perfectly.
Any ideas why the JW7 player fails when embedded............Thanks Murray
<HTML>
<HEAD>
<script type='text/javascript' src='https://d1q5prbh825lra.cloudfront.net/jwplayer.js'></script>
<script>jwplayer.key="moCaUOD96kAfffT15NaurYZfpyQYrJgXBZZyFA==";</script>
</HEAD>
<BODY>
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "rtmp://s21el67fdvhs3s.cloudfront.net/cfx/st/sample.mp4"
});
</script>
</BODY>
</HTML>