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

probleme with mp4 file


i try to put this video with several resolution in jw player but it can't load the file i think the probleme that this file doesn't have an extention like ".mp4"
can i find any solution

<script type="text/javascript">
jwplayer("myElement").setup({
image: "test.png",
sources: [{
file: 'http://www52.uptobox.com/stream/2ils3p70fd/360/0',
label: "360p"
},{
file: 'http://www52.uptobox.com/stream/2ils3p70fd/480/0',
label: "480p"
},{
file: 'http://www52.uptobox.com/stream/2ils3p70fd/720/0',
label: "720 HD"
}]
});
</script>

2 Community Answers

MisterNeutron

User  
1 rated :

If the file doesn't have a .mp4 extension, you need to add this attribute:

type: 'mp4',

mo4vies

User  
0 rated :

thnx it work

This question has received the maximum number of answers.