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

.MP4 files refuse to load in JW Player


My setup is Drupal + Jquery media module + JW Player

http://www.drupaltherapy.com/node/50

It plays .FLV files beautifully on the JW player.

When I upload an .MP4 file, it loads it in Quicktime.

When I rename the .MP4 to .FLV, it magically plays in the JW Player! I'd rather not rename all my MP4s to FLV, since thats very hackish.

In case this is important, my MP4 files are encoded using H.264.

Please help.

31 Community Answers

JW Player

User  
1 rated :

Just to clarify something, the link http://www.drupaltherapy.com/node/50 , is not my site. It is where I learned how to use JW player in Drupal.

JW Player

User  
0 rated :

What version of the JW FLV Media Player are you using?

You can right-click on the displayarea to see the version of the player.

JW Player

User  
0 rated :

JW Player 4.0

JW Player

User  
0 rated :

With the v4.x player, you shouldn't need to change the extension to flv.

If you don't know the subversion and release of your player or it doesn't display on right-click, consider upgrading to the latest v4.0.46 which shows the version.subversion.release.

The SWF movie alone is available from: *http://www.jeroenwijering.com/embed/player.swf* or from the Subversion repository at: *http://code.longtailvideo.com/trac/*

JW Player

User  
0 rated :

My player is v4.0.46 confirmed.

I am using the Jquery Media Plugin in combination with Drupal and a wrapper module.

http://drupal.org/project/jquery_media
http://malsup.com/jquery/media/


JW Player

User  
0 rated :

Problem solved. JW player is working perfectly. Thanks JW.

JW Player

User  
0 rated :

Can not get a .mp4 video to play.
I have the same video, one in .flv format and one in the .mp4 format.

The .flv file works great but the mp4 file does not.

Here is my test page at www.beechgrove.com/flash.htm

any ideas?


<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Flash test</title>
</head>

<body>

<p align="center"><br>
&nbsp;<p id='preview' align="center">The player will show in this paragraph</p>

<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','500','600','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=playlist.xml&playlistsize=300&skin=/playerskin/snel.swf&stretching=fill&playlist=bottom&fullscreen=true');
s1.write('preview');
</script>
<p align="center"><br>
<a href="http://www.jeroenwijering.com/?item=JW_FLV_Player">
http://www.jeroenwijering.com/?item=JW_FLV_Player</a><br>
<br>
&nbsp;</p>

</body>

</html>


My Play list

<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<creator>Lynn Rekeweg</creator>
<title>1. Main Street</title>
<location>http://www.beechgrove.com/tag4.mp4</location>
<image>http://www.beechgrove.com/images/beech_grove02.jpg</image>
<info>http://www.beechgrove.com</info>
</track>
<track>
<creator>Lynn Rekeweg</creator>
<title>2. Main Street</title>
<location>http://www.beechgrove.com/video/testflash.flv</location>
<image>http://www.beechgrove.com/images/beech_grove02.jpg</image>
<info>http://www.beechgrove.com</info>
</track>
</trackList>
</playlist>

JW Player

User  
0 rated :

How did you fix this? I'm using the same version (v4.0.46) of the player and jqmedia and Drupal.

Could you please give any more information on how you fixed this?

TIA,
txcrew

JW Player

User  
0 rated :

Similar issue, but completely unable to get playback for .mp4 no matter what I change the file extension to

JW Player

User  
0 rated :

I can play .mp4 with v4.0.46 under Firefox and Safari, but it doesn't work at all under IE 7. I don't use playlist at all, just addparam the mp4 URL.

flv plays very well under Firefox, Safari and IE7.

Any hints ?

JW Player

User  
0 rated :

@kyle,

Make sure that you have the latest Adobe Flash Player v9,0,124,0 check it here: *http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507*

Post a link(s) to your MP4 files so someone can test them.

JW Player

User  
0 rated :

Hi kLink,

Update to 9.0.124 really work! Thanks a lot!

JW Player

User  
0 rated :

@kyle,

You're welcome! :D

JW Player

User  
0 rated :

i want to have .MP4 Player.

JW Player

User  
0 rated :

Fix...

http://drupal.org/node/286388

JW Player

User  
0 rated :

I am running version 5 of the player and I cannot get .mp4 to work. It would really help if there were examples posted on the site. All I get is sound - no video.

JW Player

User  
0 rated :

OK, that seems to show that it can work - but how do I see the HTML behind it? I was hoping for something I can actually copy as a basis for my own case.

Pablo

JW Player Support Agent  
0 rated :

@FuzzyFace:

http://developer.longtailvideo.com/trac/testing?example=2

JW Player

User  
0 rated :

mp4 will not play in media player

sound plays ok

no video

Ethan Feldman

JW Player Support Agent  
0 rated :

Can you provide a link to where you are running this?

JW Player

User  
0 rated :

I try to play mp4 video files and nothing happens.
Test page: http://reelsource.ru/_t/index.htm

Ethan Feldman

JW Player Support Agent  
0 rated :

@kosenka – How did you encode this file?

Note – Flash requires H.264 encoding for MP4 files.

JW Player

User  
0 rated :

@Ethan LongTail
/usr/bin/ffmpeg -y -i source.mov -vcodec h264 -acodec mp3 -ar 44100 -ab 128k -ac 2 -b 1664K -bt 1664K -r 25 -g 50 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me hex -subq 5 -me_range 16 -b_strategy 1 source.mp4

Ethan Feldman

JW Player Support Agent  
0 rated :

Something must be wrong with the encoding of this file, as I am looking through Firebug, when it tries to request the file, it gets stuck at 413.9 KB and then never finishes loading.

Ethan Feldman

JW Player Support Agent  
0 rated :

Note, I just went to – http://reelsource.ru/_t/source.mp4 directly in my browser and I see a bunch of garbled text. This is because your server most likely doesn’t have the MIME-TYPE set for MP4 files yet. Going to the file in a browser directly should pop the QT Player, not show garbled text.

JW Player

User  
0 rated :

This may be due to the fact that nginx did not process files with extension mp4?

JW Player

User  
0 rated :

And sorry for my english. I use google translate :)

JW Player

User  
0 rated :

@Ethan LongTail
Indeed, the whole problem was in nginx. He is not handled correctly file mp4.
http://reelsource.ru/_t/index.htm - Now everything is working correctly.

Thank you:)

Ethan Feldman

JW Player Support Agent  
0 rated :

Yay! Great, NP! :-)

JW Player

User  
0 rated :

Hello,

I've some problem to run a streaming flv in the JW Player.

I don't know if i'm doing something not properly, or if it's the server, but i can't play this video :

rtmp://cdntech.fcod.llnwd.net/a464/o2/guerlain/videotest.flv

Actually, i've tried in a player in my webpage, it didn't work, so i've tried with the link provided (the player testing page), and when i set the file property, it didn't work either.
I've choosen the RTMP streaming FLV.

I don't know where is the problem. Could you help me ?

Thank you :)

Ethan Feldman

JW Player Support Agent  
0 rated :

@Mel, you need to set the provide to rtmp, the file to just the flv, and the streamer to the location of your streaming server.

Here is a url with your stream working – http://developer.longtailvideo.com/trac/testing/?player=v5&skin=&file=videotest.flv&provider=rtmp&streamer=rtmp%3A%2F%2Fcdntech.fcod.llnwd.net%2Fa464%2Fo2%2Fguerlain%2F&height=260&width=500

This question has received the maximum number of answers.