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

seaneffel - December 9, 2008 - 01:56

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

cbassig - December 24, 2008 - 21:11

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

stefanor - January 23, 2009 - 23:00
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 request» feature request
Status:active» needs review

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).

AttachmentSize
jquery_media-mp4_flash-DP6.patch 3.6 KB

#4

cbassig - January 26, 2009 - 21:17

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

Justin W Freeman - March 20, 2009 - 03:23
Status:needs review» duplicate

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

#6

seaneffel - March 23, 2009 - 01:17

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

seaneffel - March 23, 2009 - 01:19
Status: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.

#8

aaron - March 23, 2009 - 13:45
Status:reviewed & tested by the community» fixed

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

#9

seaneffel - March 23, 2009 - 14:13

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

System Message - April 6, 2009 - 14:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.