Tags
The handling of media in Drupal 7 is really a huge improvement from the earlier versions. After reading Drupal 7 Media Module is Must-have I started playing around with it.
Install, enable and enjoy
First, I installed and enabled the media module and it's dependencies styles and entity. I already had the wysiwyg module and CKEditor installed.
After doing that you are pretty much ready to use the media module, which has very nice wysiwyg integration. Alle you need to do is enable the media button at:
admin/config/content/wysiwyg
And then you need to enable "Converts Media tags to Markup" under:
admin/config/content/formats
That is all there is to it. I will now disable the Image button and only show the Media-button.
Bonus
Media can be extended by more modules, e.g. Media: Youtube. I am just testing out the implemenation below. All you need is the Youtube-link for the video, and it will be implemented nicely automatically. For your pleasure I chose a really beautiful song:
Kommentarer
Reliance of styles makes it unstable at the moment
By lsolesen on 15 nov 2010 at about 14:16.As of today the modules is still fairly unstable as it relies on styles which still have some issues. I, for one, am hoping for a fix soon :)
Youtube integration creates error
By lsolesen on 15 nov 2010 at about 14:20.The youtube integration creates the DOM error you will see in the top of all my pages. I have reported the error and I am hoping for a quick fix now that Drupal 7 is close to being released.
Patch fixing the DOM error
By lsolesen on 30 dec 2010 at about 16:45.Open source is great when a lot of people are contributing. A patch for the DOM error has been released.
Tilføj kommentar