Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hey there, the Dojo will be using the Media Actions module in Drupal 6 on the new website to handle video uploads. It currently works with mediafield for uploading. Just checkingt o see if any work has started on porting mediafield and, if not, would you be cool with making this a DROP task?
Comment | File | Size | Author |
---|---|---|---|
#18 | mediafield-226513-18.patch | 83.38 KB | Darren Oh |
#17 | mediafield-226513-17.patch | 82.36 KB | Darren Oh |
#16 | mediafield-226513-16.patch | 82.33 KB | Darren Oh |
#15 | mediafield-226513-15.patch | 82.32 KB | Darren Oh |
#12 | mediafield-226513-11.patch | 82.55 KB | Darren Oh |
Comments
Comment #1
VM CreditAttribution: VM commentedLooks like ARDAS has taken a leave of absense.
Comment #2
Darren OhWorking on a patch.
Comment #3
a_c_m CreditAttribution: a_c_m commentedI've just taken over the module, going to do some much needed patching and then take it from there. Patches for getting it up to D6 are VERY welcome, also if your interested in being a co-maintainer fire me an email :)
Comment #4
design.er CreditAttribution: design.er commentedHi, what's the current state of the port to 6.x?
Comment #5
VM CreditAttribution: VM commentedwith D6 you want to investigate the filefileld.module
Comment #6
design.er CreditAttribution: design.er commentedThanks for your quick reply. I use filefield already for videos in conjunction with swf tools.
ok, maybe i should try to use it also for audio files. is there a possibility to use getid3 library?
Comment #7
SeanBannister CreditAttribution: SeanBannister commentedSubscribe
I believe that FileField will handle this in Drupal 6, can anyone confirm?
Comment #8
Darren OhPatch is ready for testing. Does not update old fields yet.
Comment #9
SeanBannister CreditAttribution: SeanBannister commentedIs there any reason that this would be better than using FileField? As FileField will be in core for Drupal 7 and uses SWFTools to display audio and video.
Comment #10
Darren OhThis does use FileField. It enables Mediafield users to upgrade to FileField.
Comment #11
Darren OhAttached patch adds all the functionality of the audio and video fields to file fields and updates old fields.
Comment #12
Darren OhForgot to attach patch.
Comment #13
levelos CreditAttribution: levelos commentedWhat version is this patch against? Head, 5.x branch? I'm trying to apply against 5.x and having some trouble. Maybe you could also post an archive of the module with the patch applied. Thanks!
UPDATE: Never mind, works fine against head, thanks. I'll test the patch and post any updates.
Comment #14
levelos CreditAttribution: levelos commentedAfter installing the patched module and running the updates, my legacy audio and video fields are still not appearing updated. When viewing the manage fields page, I get the following message,
This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled.
* opera_audio (field_opera_audio) is an inactive File field that uses a Audio widget.
* opera_video (field_opera_video) is an inactive File field that uses a Video widget.
Any suggestions?
Comment #15
Darren OhTry this updated patch. It works for me.
Comment #16
Darren OhFixed undefined variables in last patch.
Comment #17
Darren OhFixed error notice when attempting to retrieve missing file.
Comment #18
Darren OhFixed loss of hidden display setting after upgrade.
Comment #19
ggevalt CreditAttribution: ggevalt commentedThanks for the discussion and work on this...
Is the patch you posted here a fix to be able to use the mediafield module in Drupal 6?
Here is our problem (and this is a HUGE issue for us). We have a Drupal 5 installation with many podcasts and are attempting to go to Drupal 6. In the Drupal 5 version, we used mediafield, mediafield display, cck and file_upload to get a pretty easy upload, player solution for users to create podcasts. However, in moving to Drupal 6, mediafield is not ready for 6 and so use filefield, cck, file_upload and mp3player modules; that works fine EXCEPT for existing podcasts created in Drupal 5. For those existing podcasts we get this message (when accessing content types/manage fields):
This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled.
Podcast (field_podcast) is an inactive file_audio field that uses a audio widget.
So, again, is the patch you have posted, does that essentially make mediafield useable in Drupal 6? And if so, how do we patch it into the 5 module?
thanks
geoff gevalt
Comment #20
Darren OhCurrently you have to download the HEAD code from CVS and apply the patch to that. The patch is intended to help the maintainer create a Drupal 6 release.
Comment #21
tamerzg CreditAttribution: tamerzg commentedCheckout the new module called videofield: http://drupal.org/project/videofield
Comment #22
klonossubscribing
Comment #23
tamerzg CreditAttribution: tamerzg commentedFor those who are interested I recently wrote similiar audiofield module: http://drupal.org/project/audiofield