The Media module is probably one of the modules that has most expectations on it to solve a long standing bottleneck with Drupal. Ever since it was first introduced it has been "hyped" as "the" solution to the media management problems we have.

From time to time I have downloaded, installed and played around with what has been available at that point, including creating issues for problems I found. I have done so today as well. I installed the latest dev version, together with Styles 2.x dev, Wysiwyg and CKEditor. Making it work with the Full HTML text format and embedding images in the textarea was not a problem, and so far I haven't seen any error messages.

It seems to work, but not much more than that, but tere is very little control and configuration options available. No possibility to control where the files are stored. fields for "alt" and "title" seems to be gone (they where there in earlier versions. No way to control how embedded images are shown, such as adding CSS to them...

Thus, there is of course much to wish for before this module is usable for anything but experimental sites.

I want to do my part in helping this module to get ready, but unfortunately it is not easy as there exists very little information about how to use it, the features it is going to have at release and so on.

If I understand things correct, the Media module is supposed to be a lightweight framework that provides only the most basic features needed. It is then up to other developers to create add-on modules to expand on this.

On the other hand I know that there are a lot of Drupal users that are eagerly waiting for this module. They are not just waiting for it to be ready, they (like me) want to help testing it, give feedback about issues and so on. That is currently not so easy unless you can read and understand the code.

I am sure this module is going to be a game changer for Drupal regarding media management, but we seems to be far from that as things are.

It would be very helpful for us who are waiting to help to know more about what features it will have and what is expected to be left for add-on modules. Some form of roadmap would also be nice to have. I am not asking for detailed documents about this, only something that is current compared to what exists. It would also be very useful for those who plan to develop add-on modules to know.

I also fully understand how busy you who develop it are with your day to day jobs and other things. However, I do believe more information about the status, features and other things will help speed things up. More people will be able to help testing, as well as provide patches when they know what the goal is.

I am willing to commit my time for this, but right now it is not easy since the only thing possible is toying around without any form of idea what to test or if current features are going to be there in the next update...

Comments

effulgentsia’s picture

Title: Whan't to help getting the Media module ready, but... » [meta] How to help get Media to 1.0 release and beyond

Thanks for opening this issue, and for your many months of participation in the issue queue.

The short story is that we would like to release a 1.0 version within the next day or so, despite all the shortcomings you mention. After all, we're already over a week behind fulfilling our #D7CX pledge.

Here's what's needed for us to do that:

  • Resolve all critical issues. At the time I write this, there's two that are "postponed (maintainer needs more info)". You can help by seeing if you can reproduce what is described in them. If you can't, and if the original reporters don't respond, I will close them as outdated.
  • Ensure there aren't critical issues masquerading as non-critical ones. You can help by checking this queue of open, non-fixed bugs and bumping priority up to critical for ones that you think are really, really bad, and should therefore, hold up a release.
  • Ensure there aren't critical issues that haven't even been discovered yet. This is actually impossible to achieve completely, but any extra testing of what's in HEAD would be most helpful.

Additionally, when we release 1.0, it would be great to update the project page with useful information about the current state of the module. If you have thoughts about that, please share them on #972060: Update the project page to cover important information about the 1.0 state of the module.

As you know, 1.0 is just the beginning. It's nowhere near the end of the road for this module. There's lots of stuff we still want to see fixed, added, improved, etc. We don't have an up to date roadmap, but we have the issue queue. That's where people enter in what they want. I and other project maintainers try to provide guidance on some of the issues, and we may recommend that some not be done, or be done as separate projects, but for the ones that we leave in, it's up to the community to decide what to work on. The way things get done is people have itches they want scratched, and somehow find the time to work on it. However, we will have one or more BoF sessions at DrupalCon Chicago, and hope that people come, so that we can better coordinate our efforts on commonly desired things, and come away with a roadmap that's useful for the following few months or year.

For people interested in the UI direction, please monitor and participate in this queue, and especially these issues:

Thus, there is of course much to wish for before this module is usable for anything but experimental sites.

I disagree. As with a 1.0 release of any software, there's much that's still not done, but there are real sites doing cool stuff with what's already there. Here's just some: http://sampler.drupalgardens.com/. And hopefully, more will be added to #1026650: Please submit sample sites / success stories to help showcase / explain what can be done with Media module.

If I understand things correct, the Media module is supposed to be a lightweight framework that provides only the most basic features needed. It is then up to other developers to create add-on modules to expand on this.

Exactly. So, for instance:

  • Media: YouTube lets you add YouTube videos to the Media library. More service provider integration modules are on the way.
  • Media Gallery lets you build gallery nodes containing multiple media items to be displayed as a Gallery. There's other Gallery modules out there too, but I'm not sure what their status is with respect to how they integrate with Media module.
  • Plupload allows for easier uploading of many files at once.
  • Media Browser Plus provides some UI enhancements to the baseline media browser. For example, folder support is being worked on there.

This is just a small sample, and others are listed on the project page, and more will be added there. We are absolutely hoping for a large ecosystem of modules that do all sorts of cool things. It's a bit of a chicken and egg problem though. We need to get a stable enough framework out there before this ecosystem can take off. We're hoping the 1.0 release is the start of that.

It would be very helpful for us who are waiting to help to know more about what features it will have and what is expected to be left for add-on modules.

The scope of the Media module itself is to provide a Media Library that different media types (image, audio, video, other [and modules can add more types]) can be added to, and for it to be possible for those library items to be added to content via the Media field and into textareas via WYSIWYG integration. This, of course, requires a way to browse the library, which is included. Those media items need to be displayed in a wide variety of ways, which is primarily handled by the Styles module, which includes a few default theme implementations, but can be extended with fancier players / effects via other modules. Behind the scenes, it also provides necessary integration into Drupal core APIs, so that the media items can be saved, viewed, deleted, etc., and so that fields (e.g., tags, description, etc.) can be added to media entities. That's about it. The rest is left to other modules to figure out. That might not sound too exciting, but as more developers find value in the basic framework and start contributing their own modules, I think it will get very exciting. Examples of things that are clearly in scope of what I just outlined, but not yet complete, are #1016376: Expose the media types allowed for WYSIWYG variable in the UI and #696970: Granular editorial access control (and many of the other issues in the queue). Examples of things that are borderline are #962110: Add views handlers for the media field type and #954918: Flag Media, but I think it makes sense for both of those to be part of the core Media project, since Views and Flag are such popular modules, that providing integration with their APIs feels like a "core-ish" thing to do.

I am sure this module is going to be a game changer for Drupal regarding media management.

I agree!

but we seems to be far from that as things are

There was a time when Views released as 1.0, and had few other modules extending it. Now look where it is. How quickly it takes will depend on how many people jump on board to help out. Fortunately, these things are always exponential (at least for a healthy project), so as far as things seem, we may get there sooner than it sometimes seems.

I hope this helps. Please respond if you have any other questions, or ones I failed to answer. It's great to get early adopters on board. Thanks for your patience, and I hope that despite some rough starts, you're still feeling encouraged to be a part of this.

tsvenson’s picture

Hi Alex and thanks for a great writeup to give us a current state of the Media module project and the immediate plans.

Very happy to hear a 1.0 is only days away. Really looking forward to that. I will start digging into the issue queue tonight and over the weekend and see what I can help with, starting with the issues you mention in your comment.

Having a 1.0 release will for sure get the ecosystem going with creating modules to add new features to the module.

I totally agree that support for Views and Flags should be part of the core Media module. Maybe not in the main module itself, but definitely as sub modules that can be turned on or off as needed.

Do you know if 1.0 will have any features for being able to control where local media files are stored? As it is now they are stored in the root of the public/private file path. Personally it would be nice to be able to have something like that built into the upload feature, with defaults, depending on for example the content type, and the ability to create new directories. It would really help organising media files. Then an add-on module can build upon that adding features for more granular control, including access to media files depending on roles, user and permissions.

Another thing I really would like to see is more control over how a media object is embedded on pages. For example being able to have form settings for various CSS styles to use. Then it would be very simple to have a drop down for alignment, another for how float is used and a few check boxes for eye candy such as borders and so on. Since the Styles module is only an API, I suppose this will have to be either in core or as an add-on module.

Looking forward to help getting us to 1.0.

effulgentsia’s picture

Well, I'm not sure any more if 1.0 is really only days away. I just released beta3, which I think is in good shape, but I feel pretty strongly that you can't call something a 1.0 (or even an RC) if disabling and then re-enabling the module takes down the website: #970696: Disabling and re-enabling media module throws exceptions, leaves website in unusable state.. But I think we're getting close to a 1.0 release, so any help you provide in the issue queue is much appreciated.

Do you know if 1.0 will have any features for being able to control where local media files are stored?

Some kind of folder support is being worked on in #969010: Ability to create folders. I might be wrong, but I think that work is more focused on virtual folders, (like "labels" in GMail), that can be used for organization within the Media Browser UI, but that this doesn't necessarily map to system folders on the server (in the same way that GMail labels don't affect how Google stores the emails on the back-end). There are some good use-cases for wanting control over where files are placed on the server, but I'm not sure if anyone has begun on that.

Another thing I really would like to see is more control over how a media object is embedded on pages... Since the Styles module is only an API, I suppose this will have to be either in core or as an add-on module.

Actually, the Styles project includes a styles_ui module with it that provides a UI for configuring styles. Aaron is still working on getting that more functional. I don't know his latest plans on how much he wants to do in the core Styles project, and how much he wants to offload on other modules. You might want to see if you can find out via the Styles issue queue.

eigentor’s picture

I was actually thinking Media Module would provide all media via the Browser for Filefields as well. I tried out Media from time to time, but no trace of this to be seen yet.
Instead, now there is the media field which I can add to my content type.

So is this the road to go and there will be no support form image- and Filefields?

For an important shortcoming of Drupal has long been the inability to re-use uploaded files through different flavors of filefields, which is still the case.

tsvenson’s picture

From the project page:

- Drop-in replacement for any file upload field in Drupal

It integrates with Drupal 7's built in file management, but you will still be able to use for example the Insert module as well.

The developers of the Media module are working very close with the Drupal core team. One of the results of this is the implementation of stream wrappers in Drupal 7 as well as being able to have both private and public files. Previously you had to opt for one of them.

The log term goal is that the Media module will be included in Drupal 8.

jos doekbrijder’s picture

Title: [meta] How to help get Media to 1.0 release and beyond » EntityFieldQueryException and Undefined index error when activating module
Version: 7.x-1.x-dev » 7.x-1.0-beta3
Category: task » bug
Priority: Normal » Critical

Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
Notice: Undefined index: custom settings in field_view_mode_settings() (line 631 of /home/doekbrij/public_html/drupal/modules/field/field.module).
EntityFieldQueryException: Field storage engine not found. in EntityFieldQuery->queryCallback() (line 1048 of /home/doekbrij/public_html/drupal/includes/entity.inc)

All dependencies are green and all modules up-to-date (today)...
Can not activate the module.
Please advice

cheers

jos@doekbrijder.com

bojanz’s picture

Title: EntityFieldQueryException and Undefined index error when activating module » meta] How to help get Media to 1.0 release and beyond
Version: 7.x-1.0-beta3 »
Category: bug » task
Priority: Critical » Normal

Please don't abduct issues.

Btw, why does this module have 7.x-1.x-dev listed twice in the Version: dropdown here in the queue?

bojanz’s picture

Title: meta] How to help get Media to 1.0 release and beyond » [meta] How to help get Media to 1.0 release and beyond

Oops.

neochief’s picture

Guys, thank you very much for your write-ups, it really helps to understand where Media project is currently. I'll try to help to fix some bugs in the next few days.

ogi’s picture

Version: » 7.x-1.x-dev

subscribe

damienmckenna’s picture

Subscribe.

rcross’s picture

+1

kbell’s picture

+1 Subscribe

jrabeemer’s picture

++

betoscopio’s picture

Subscribing

tomgf’s picture

subscribe

matt.robinson1’s picture

subscribing

beatnikdude’s picture

sub'n

grahamtk’s picture

subscribing!

anavarre’s picture

Subscribing

emackn’s picture

Subscribing

sylvain_a’s picture

+1!

Shadlington’s picture

Subbing.
No criticals at present :)

Shadlington’s picture

Does anyone have any prediction on when we might see a beta5?

chiebert’s picture

Sub

rcross’s picture

haven't been any criticals for awhile now it seems. Also looking for an update on this and where I might be able to put some efforts?

g76’s picture

sub. thanks for all the hard work and the amazing module(s). It is very much appreciated and do not in any way want to come across as being impatient not understanding what a huge service you do for free or that you have limited time and full time jobs that come first. I just a few questions as a non-coder, and how and what we should be implementing(or not) to test:
1-is the main focus on the media browser overhaul, image/filefield integration and views support? are updates to the dev versions of media related modules that work with the media dev version waiting on the outcome of this?
4-would you suggest running the dev version and taking the time to apply the various patches for media related modules(and running it without the media gallery module), or for the non-coder would you suggest waiting? Running beta 4 would no problem, except it does not work with drush/aegir.
2-is there a timeline over the summer for another release dev or other?
3-will the next release work with drush/aegir?

again, I am very thankful for all you are doing.

Jen

rickmanelius’s picture

Subscribing so I'm alerted when beta5/rc1/1.0 are launched. Exciting project for sure :)

kreynen’s picture

subscribe

james.williams’s picture

subscribe

mlncn’s picture

A less lofty goal- how do we get another beta, or even release candidate, instead of the old beta4 which is stuck in the past, per the 'non-backward compatible changes' in -dev note. Seems that could be rolled now, or is there a buglist for that?

Shadlington’s picture

I think I read somewhere that they were waiting for other modules to adapt to the API changes...
If this hasn't happened by this point then forcing them to update by releasing a new beta would probably be the best course of action.

aaron’s picture

ok, rolled 7.x-1.0-beta5. =)

Shadlington’s picture

Somehow I missed this until today. Thanks :D

Project page could do with an update to reflect this.

arthurf’s picture

Status: Active » Closed (fixed)

Project page is now more up to date. Closing this down as an RC1 is looming.