6.x Port of Media Actions

add1sun - February 22, 2008 - 00:48
Project:Media Actions
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:add1sun
Status:needs work
Description

Time to port to 6! The Dojo will be using this module for the new DrupalDojo.com website and so we are making this a DROP task. Should be fun stuff since Actions and Trigger modules are now in core.

#1

add1sun - February 22, 2008 - 00:50
Title:Port to 6» DROP Task: Port to 6

Ok, this is officially a DROP task: http://drop.cwgordon.com/node/52

#2

add1sun - February 25, 2008 - 14:53
Assigned to:Anonymous» add1sun

I've started work on this and have most of the patch done. Should get the rest of the port done in the next few days.

#3

add1sun - February 27, 2008 - 01:15
Status:active» needs work

OK, here is my first pass at the upgrade. I can't actually test the functionality on it because the emfield and mediafield modules are not ported to 6 yet (I added them to the dependencies list since you can do anything with this otherwise.)

I moved the the new core action hooks code into media_actions.module instead of the inc since that seemed more appropriate but I left the blip helper functions in the inc. I also updated the README to the new version info and added a USE section.

In terms of the code itself I didn't really modify it outside of the needed upgrading beyond breaking it into the new proper functions and very minimal standards stuff. The one significant change was removing the validation code since adding a simple '#required' => TRUE to the FAPI fields satisfies that need. There is a fair amount of duplicative code between the upload and update actions so I want to look at minimizing duplication in a second pass.

AttachmentSize
media_actions-d6-port-225138-3.patch 31.54 KB

#4

Alex UA - March 9, 2008 - 05:03

There is a semi-working version of emfield now available in CVS. There are still some fairly big items to be finished (views integration for one), but you might want to give it a look to see where it's going.

#5

pfournier - March 25, 2008 - 15:28

Thanks for the update, Alex. Unfortunately, it is not working enough to test the patch: the emfields are not displayed in the node creation form.

Please keep us posted!

Thanks

Patrick

#6

pfournier - March 26, 2008 - 05:32

Thanks for the patch, add1sun.

I backported your patch (and modified it a bit) to Drupal 5 / Actions 2.0. It is not fully tested yet (I pla to finish that in the next few days) but you can try it now. Get it from CVS HEAD.

Patrick

#7

thomas23@drupal.org - September 20, 2008 - 12:19

Hi there.

Could anyone give some update on the status, please? Or is this dead? Are there alternatives to using this module for uploading on home site and yet storing video on 3rd-party? I would be very interested in having this feature but don't have the skills to programm it. Thanks for sharing information and efforts done so far!

Cheers.

#8

pfournier - September 22, 2008 - 12:44

Hi,
I did not have the time to follow up on this during the summer, but now I must create a site with external video hosting in Drupal 6. The port should be completed in the next few weeks.

#9

mitchell - November 25, 2008 - 22:59
Title:DROP Task: Port to 6» 6.x Port of Media Actions

Is this on anyone's radar?

#10

panji - December 16, 2008 - 23:33

subscribe

#11

chasz - December 17, 2008 - 18:23

+1

#12

pfournier - December 18, 2008 - 17:04

We chose another solution, so the port is still not completed... and I dont see any free time ahead...

#13

mitchell - December 18, 2008 - 17:20

@pfournier: which solution?

#14

pfournier - December 18, 2008 - 17:35

We developped a CCK module that host videos on AmazonS3; we are planning to release it, but for now it still contains some features specific to our project.

I think MediaMover does something similar, but I have not checked its state for a while.

#15

chales - February 24, 2009 - 18:10

Any chance you would be willing to share this? Also looking into S3 as a CDN.

#16

pfournier - February 24, 2009 - 22:56

Yes, but I have to find time to clean up the code and release it as a usable module.

 
 

Drupal is a registered trademark of Dries Buytaert.