Hi,

Hoping someone can help, I have installed jplayer latest in libraries and this module. Configured and set up as per the readme/help entries.

I have a node with a standard file asset, using the multimedia file selector, with an mp4 loaded in. THe formatter is set correctly (applied to the 'large' and 'defualt' preset) However the player displays with no video, play button doesn't function (no js errors) and the end-time is 00:00.

It appears to have not loaded the file at all. After doing the nid->fid fix the fid now appears in the divs class string but still no video loaded at all.

jquery.js is loaded, on inspecting the source, just no video. I'm using Drupal 7.8, Media, File_Entity.

Any help greatfully recieved, have I missed some configuration or something?

Comments

fedik’s picture

someone has video works?
because I also cannot get it work(I use mp4 video). I tried all solutions (flash and html), and anyway it not works in any browser.
for debug I set "errorAlerts: true," in jplayer.js and got:

"jPlayer 2.1.0 : id='jplayer-node-83-field-some-multimedia-1317311094' : Error!
No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.
Review the jPlayer options: support and supplied.
Context: {solution:'flash, html', supplied:'mp4'}"

This error lokks the same in all browsers (Opera, FF, Chrome)

fedik’s picture

ogv - work

ZuluWarrior’s picture

Ok, it seems it is a problem with sniffing the videos file-type and browser, as this somehow reminds me of the tag compatibility list for file types...

For instance I know that the tag supports mp4 in IE/Chtrome but not FF, which does support Ogv. So perhaps the problem is thatjplayer is trying to load a tag and JS controls for the mp4, hence the Firefox fail (last browser I tested in).

Any of the maintainers care to pass comment?

snevins’s picture

This is still an issue. I can get m4v and flv files to play fine, but not mp4. For me it fails in ie, chrome, and firefox. I haven't tested other browsers.

In the jPlayer documentation I ran across something that for video m4v must be in the supplied. So I temporarily modified the code to make sure that was always the case, but it didn't fix the problem. I also modified my .htaccess file to make sure that the server was giving correct MIME types as suggested at http://jplayer.org/latest/developer-guide/#jPlayer-constructor but that didn't fix the problem either.

Has anyone gotten mp4s to work with this module?

luco’s picture

... actually, that's a problem with the companies behind an HTML5 standard, or lack thereof:
http://en.wikipedia.org/wiki/HTML5_video#Browser_support
http://www.w3schools.com/html5/html5_video.asp (scroll down to "Video Formats and Browser Support").

that's quite disappointing: basically this means we have to tell clients to encode their videos in different formats. thank you, internet. </irony>

the solution, AFAIK, is to use only FLV. it works in IE9, Chrome and Firefox. I haven't tested in my iPhone yet, but will shortly.

antistructure’s picture

Running into this problem as well .. Had FLV running in all browsers no problem, when we made the switch to mp4 for cross-browser compatibility (ios) no go, just updated the plugin to, but still no joy.

deviantintegral’s picture

Category: bug » support

Actually, mp4 files should play fine with most browsers. Firefox is problematic as it only supports open codecs currently and H.264 is non-free. Chrome / Safari / IE should play fine.

If you can get an m4v file to work, but not an mp4, there's a bug. m4v is just an alternate extension for the same file format. If you simply rename movie.m4v to movie.mp4 and it doesn't work, there's something to be investigated.

ChrisValentine’s picture

Same issues here - player but no video. But I understand completely that its an HTML 5 and/or browser issue since we've run into this with other players in non-Drupal websites too. You either have to swap to different media types that are properly supported, or forget HTML 5 and use a Flash player like JW Player instead.

spgd01’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)