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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

VM’s picture

Looks like ARDAS has taken a leave of absense.

Darren Oh’s picture

Assigned: Unassigned » Darren Oh

Working on a patch.

a_c_m’s picture

I'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 :)

design.er’s picture

Hi, what's the current state of the port to 6.x?

VM’s picture

with D6 you want to investigate the filefileld.module

design.er’s picture

Thanks 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?

SeanBannister’s picture

Subscribe
I believe that FileField will handle this in Drupal 6, can anyone confirm?

Darren Oh’s picture

Status: Active » Needs review
FileSize
65.79 KB

Patch is ready for testing. Does not update old fields yet.

SeanBannister’s picture

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

Darren Oh’s picture

This does use FileField. It enables Mediafield users to upgrade to FileField.

Darren Oh’s picture

Attached patch adds all the functionality of the audio and video fields to file fields and updates old fields.

Darren Oh’s picture

FileSize
82.55 KB

Forgot to attach patch.

levelos’s picture

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

levelos’s picture

After 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?

Darren Oh’s picture

FileSize
82.32 KB

Try this updated patch. It works for me.

Darren Oh’s picture

FileSize
82.33 KB

Fixed undefined variables in last patch.

Darren Oh’s picture

FileSize
82.36 KB

Fixed error notice when attempting to retrieve missing file.

Darren Oh’s picture

FileSize
83.38 KB

Fixed loss of hidden display setting after upgrade.

ggevalt’s picture

Thanks 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

Darren Oh’s picture

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

tamerzg’s picture

Checkout the new module called videofield: http://drupal.org/project/videofield

klonos’s picture

subscribing

tamerzg’s picture

For those who are interested I recently wrote similiar audiofield module: http://drupal.org/project/audiofield