Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Error Loading Media: File Could Not be Found


Hello,
I have tried everything before writing in the forum, but to no avail.
Windows 10
Cloudfront
www.dversiti.tv

The video won't play in any browser. In fact, as soon as I place the html code in my website the error message displays. I've checked the video in the player test page. It works. I've checked the metadata. It shows video/mp4. I've reencoded the video with the correct settings using adobe encoder. I don't what else to do. Thank you for your help.

8 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

Can you explain how you are pulling in the player as well as the mp4 file to be played? If placed in a browser by itself, does the streamingtestid.mp4 file play as intended?

Randy

info

User  
0 rated :

Thanks for responding quickly. Yes, when I place in the browser it works from this: https://s3.us-east-2.amazonaws.com/firstsundaystreamingtest/streamingtestid.mp4
Here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<title>Test Streaming Today</title>

<script type='text/javascript' src='http://d9wbhinufbd2e.cloudfront.net/jwplayer.js'>
</script>
<script type='text/javascript' src='http://d9wbhinufbd2e.cloudfront.net/jwplayer.flash.swf'>
</script>
<script type="text/javascript">
jwplayer.key="AWMgBpVLkhloH69PWuT7bA+cR0qD+beFoTvCsQ==";
</script>
</head>
<body>
<h1>Watch Now.</h1>
<div id="container1">Loading video...</div>
<script type="text/javascript">
jwplayer('container1').setup({
'id': 'container1',
'wmode': 'transparent',
'icons': 'true',
'allowscriptaccess': 'always',
'allownetworking': 'all',
'file': 'streamingtestid.mp4',
'width': '720', 'height': '480',
'controlbar': 'bottom',
'dock': 'false',
'provider':'rtmp',
'streamer':'rtmp://sqhoufkmsyztn.cloudfront.net/cfx/st/streamingtestid.mp4',
'modes': [
{type: 'flash', src: 'http://d9wbhinufbd2e.cloudfront.net/jwplayer.flash.swf'},
{
type: 'html5',
config: {
'file': 'https://.s3.us-east-2.amazonaws.com/firstsundaystreamingtest/streamingtestid.mp4',
'provider': 'video'
}
},
{
type: 'download',
config: {
'file': 'https://.s3.us-east-2.amazonaws.com/firstsundaystreamingtest/streamingtestid.mp4',
'provider': 'video'
}
}
]
});
</script>
</body>
</html>

Randy

JW Player Support Agent  
0 rated :

Hello,

Out of curiosity what is the RTMP streams purpose in the embed? A good way to potentially troubleshoot this is maybe step through your code and check the console for error messages or simply use a vanilla JW Player setup block like the one below and build upon that:

<div id='myElement'>Loading Your Player…</div><script> var playerInstance = jwplayer('myElement');playerInstance.setup({'file': '//myvideo.mp4','timeSliderAbove': true,'width': '100%','aspectratio': '16:9'});</script>

</body></html>

Randy

info

User  
0 rated :

My understanding is the RT MP designation is for VOD. The AWS site had a sample code that I used.

info

User  
0 rated :

That didn't work

Randy

JW Player Support Agent  
0 rated :

Hello,

Have you tried the sample code I provided earlier? Did that work as a stepping stone for you?

Randy

info

User  
0 rated :

Thanks Randy. We will work on it today. Meanwhile, we embedded the code directly from jwplayer into our website and the test video works perfectly.

Randy

JW Player Support Agent  
0 rated :

Excellent. Please let me know if I can help once you test this.

This question has received the maximum number of answers.