Play MP4s with Flash Player
cbassig - October 31, 2008 - 21:22
| Project: | jQuery Media |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
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?

#1
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.
#2
I have not had a chance try this, yet. Who knows it may just work. Once I do, I will get back to you.
#3
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).
#4
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?
#5
This is a duplicate of http://drupal.org/node/286388
#6
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.
#7
I tested this one, like it, and think it should be committed. Marking the other issue as a duplicate instead.
#8
Thanks for figuring that out, stefanor & seaneffel. I've committed it to 6.x-1.x-dev.
#9
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.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.