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

Mp4 File not play from Amazon S3


Hi,

I using Amazon S3 for store Mp4 files, and VOD Streaming over HTTP. I'm using JW Player, can't play some mp4 file.


Example:
bc.. jwplayer(myElement).setup({
file: "http://bucket.streaming.s3-ap-southeast-1.amazonaws.com/video/sample_1.mp4",
height: 360,
width: 640
});



But some mp4 file can play, example:
bc.. jwplayer(myElement).setup({
file: "http://bucket.streaming.s3-ap-southeast-1.amazonaws.com/video/Betrayal.mp4",
height: 360,
width: 640
});



I recognized sample_1.mp4 can play when full cache. How can I fix it ?

Sr my poor English.

5 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
1 rated :

of course, there are:

http://bucket.streaming.s3-ap-southeast-1.amazonaws.com/video/sample_1.mp4 (can play when load full cache)


And http://bucket.streaming.s3-ap-southeast-1.amazonaws.com/video/Betrayal.mp4 (play well, not wait full cache).

Ethan Feldman

JW Player Support Agent  
0 rated :

I want a link to where you have embedded the JW Player.

JW Player

User  
0 rated :

Sr, this is my link:

http://115.84.182.99:8080/streaming/test1.html.

http://115.84.182.99:8080/streaming/test2.html

I'm using Firefox 16.0.2

Ethan Feldman

JW Player Support Agent  
0 rated :

The MIME TYPE of your video on the server is:

Content-Type application/octet-stream

But it should be:

video/mp4

You need to fix that.

This question has received the maximum number of answers.