Since we use Drupal to build our websites, and this provider is growing fast, we decided to step forward and create a module that meets our needs and hopefully, others
I will be integrating Ooyala content with Drupal 6 in a module that extends CCK, we have integrated functionality to make it work with Views, Thickbox and ImageCache.
there is a discussion and published code here http://drupal.org/node/355690
and we have several sites working with this module:
http://www.multimedios.tv
http://www.laaficion.com
Also, Ooyala themselves have been participating and coordinating their clients who show interest in this module and will be contributing with reviews, and other resources as needed.
In the past, this application has been denied because of non-compliance with the Drupal Code Standards, but it has been fixed now.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | cck_ooyala.zip | 25.63 KB | heronog |
| #1 | cck_ooyala.zip | 25.74 KB | heronog |
Comments
Comment #1
heronog commentedComment #2
quicksketchHey there Herón, I reviewed this module over the weekend but it looks like there's still a bit to clean up.
However I'd like to say that this module is necessary in Contrib, rather than merging with existing solutions. I had previously thought that the best approach for Ooyala integration was integrating with Embedded Media Field. However Emfield does not support actually uploading videos at all, which is a central feature of this module. You could think of the Ooyala module as being similar to Flickr module, just because Emfield can embed Flickr photos, doesn't mean that it is a full-featured Flickr solution. Considering Drupal offers absolutely no integration with Ooyala currently, this module will be a big step up.
There are still quite a few things I'd like to see improved in the module, but I'd like to have an official home for filing issues rather than sending .zip files back and forth via e-mail or in a forum post (for example). Considering that Henonog has already been responsive and supportive of users trying to use his externally hosted module, I think that he'll continue doing so as a module maintainer.
Comment #3
KentBye commentedThere are indeed some coding standards clean-up required for this module to be ready for prime time. However, I would lobby for the CVS application to be approved because we have some time and resources available to help get the module ready for prime time and it'd be easier to do that through the issue queue rather than -- as Nate said -- pass the zip file back and forth until it's ready for an initial commit.
Comment #4
heronog commentedYeah, documentation is off completely, and some indentation needs work. During my initial review of the code I found out that it actually required some more work than a few indentation fixes. but this code was actually a "proof of concept" that stuck into production, not an excuse but that's where it comes from.
I'm not really all that happy with the result, as it pollutes the "pure text" fields with rendering options that are not adequate, also the workflow is off, it does not take into account the future updates to the node and does not handle multiple videos.
What's more, we don't have a lot of flexibility with the backlot labels and channels are completely ignored.
In any case, it works and satisfies the use case we intended, there's even some things that I think are done the right way, and some others that just need to be like that due to limitations in the ooyala technology.
I am uploading a slightly modified version with some fixes to the parts Nate points out. I checked other files and only found one more file where this pattern was present. I also removed the file LICENCE.txt as it is added by the system.
coder module isn't finding anything, so I guess the obvious problems are fixed, I'm still working on the documentation part.
Comment #5
quicksketchHm, better but still off in all kinds of places. You might try making Coder pick up "Minor" issues instead of the default "Normal", perhaps it'd find more problems yet.
Coding-standards aside, I think this is actually the biggest problem and certainly something that would need fixing before making an official release.
Comment #6
avpadernoThe code still needs to be formatted as the coding standards reports.
includeis not a function: the parentheses are not obligatory. The code should then probably callmodule_load_include().That is conceptually not correct;
taxonomy_get_term()is not a hook, but a plain function.I know that now it doesn't change anything, but there is a proposal to use a different way to name the hook; if that is going to be changed,
module_invoke('taxonomy', 'get_term', $tag_id)would probably calltaxonomy_hook_get_term(), ortaxonomy__get_term(). Still it is not clear why to callmodule_invoke()in this case, when it is easier to directly call the function (considering also that Drupal 7 dropped the functions registry).Comment #7
quicksketchKiamLaLuno, as I noted above there's plenty of other problems besides the ones you just pulled out. I'm hoping to work with heronog on fixing these problems. However I would prefer that we work them out in an actual project, rather than be forced to upload 20 zip files here in a preliminary back-and-forth. I can assure you we'll get this module fitting into coding standards, I'm quite familiar with them.
If you can approve this account we'll work out the issues in the project queue like any other project.
Comment #8
avpadernoIt seems reasonable. I am going to approve this application.
Comment #9
quicksketchThanks Kiam!
Comment #10
heronog commentedthanks. we'll get this module up and running as fast as we can.
Comment #12
avpadernoI am giving credits to the users who participated in this issue.