Looking through the issues I found a solution for the D6 version but not the D5 version. I tried the code supplied for the D6 version since it was only changing the jquery.media.js file and it worked slightly. It read the mp4 files and used the JW player but only the sound worked. There was no footage showing.

Also, looking through all the documentation it says you can just use $.fn.media.mapFormat('mp4', 'flash'); to change it but where do you place this code? It doesn't work when I include it in the jquery.media.js file.

Any ideas?

CommentFileSizeAuthor
#3 jquery_media-mp4_flash-DP6.patch3.6 KBstefanor

Comments

seaneffel’s picture

Just a quick thought. If you are using the Administration Menu module, disable it an try playing your videos back. I think the dynamics of admin menu and the jquery media module are conflicting with each other. Let me know what you find.

cbassig’s picture

I have not had a chance try this, yet. Who knows it may just work. Once I do, I will get back to you.

stefanor’s picture

Title: Mp4 Format with JW Player for Flash » Play MP4s with Flash Player
Version: 5.x-1.3 » 6.x-1.x-dev
Category: support » feature
Status: Active » Needs review
StatusFileSize
new3.6 KB

Here is a patch to allow MP4s to be played with the Flash Player. I didn't edit jquery_media directly, to avoid upstream issues. Rather this is configured in the configuration JavaScript snippet.

Patch for DRUPAL-6--1 attached (MAIN seems to be lagging).

cbassig’s picture

Well I am glad to see Drupal 6 has a patch, but what about Drupal 5? I opened this issue in the first place because I found something on the D6 version but not D5.

Do you have anything for D5?

agileware’s picture

Status: Needs review » Closed (duplicate)

This is a duplicate of http://drupal.org/node/286388

seaneffel’s picture

Commit this one, it solved the problem playing MP4 files and added GUI for switching file support on. The other one I added was a dumb hack job that really didn't address the problem in D6.

seaneffel’s picture

Status: Closed (duplicate) » Reviewed & tested by the community

I tested this one, like it, and think it should be committed. Marking the other issue as a duplicate instead.

aaron’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for figuring that out, stefanor & seaneffel. I've committed it to 6.x-1.x-dev.

seaneffel’s picture

Thank you for that, aaron. Could you roll out a dev release on the project page? I've been in touch with a lot of users who are hungry for this solution.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.