The future of Drupal Multimedia is now!
The Media Sprint: 2009 is continuing to build up steam. I met with the folks at Zivtech in Philly yesterday, and we banged on the Media module some more. Jody Hamilton made improvements, fixing up a few things, ensuring the browser works with multiple fields, etc.
I continued backporting the Resource module (bundled with the module) to Drupal 6, to enable PHP Stream Wrappers. After that, I started work on the new Media: YouTube module and stream wrapper.
Here's a hint of how difficult it will be to implement a new stream wrapper for another third party media provider. (Drum roll, please...)
<?php
// $Id: ResourceYouTubeStreamWrapper.inc,v 1.1 2009/01/27 21:29:50 aaron Exp $
/**
* @file
* Create a YouTube Stream Wrapper class for the Media/Resource module.
*/
/**
* Base class for the YouTube PHP Stream Wrapper.
*/
class ResourceYouTubeStreamWrapper extends ResourceReadOnlyStreamWrapper {
private $base_url = 'http://youtube.com/watch';
}
?>
Any questions?
Well, okay, so there will be a little more, such as parsing the URL of a passed media page. But really, it's not going to be much more than that to tie in the basic functionality of Embedded Media Field into the new "File Browser of the Internet" that we're creating with the Media Sprint.
(Next up for this particular wrapper: tie it into the YouTube API so we can save uploads to YouTube with the file system...)
Glad that you're able to make it in one way or another! :)
hello!,I love your writing so so much! proportion we
be in contact more about your article on AOL? I require
a specialist on this house to solve my problem.
May be that's you! Looking ahead to see you.
Greetings! I've been reading your weblog for a long time now and finally got the bravery to go ahead and give you a shout out from Atascocita Texas! Just wanted to tell you keep up the good job!
Having read this I believed it was very informative.
I appreciate you finding the time and effort to
put this informative article together. I once again
find myself spending a lot of time both reading and posting comments.
But so what, it was still worth it!
Hello there, just became aware of your blog through Google,
and found that it is really informative. I am gonna watch out for brussels.
I will appreciate if you continue this in future. A lot of people will be benefited from your writing.
Cheers!