Hi, I work for a company that uses Ooyala to provide on-demand video content. Right now we are in the need of developing a module to integrate the content in the ooyala plataform (it's called "backlot" ) and make it available as nodes in Drupal 6.
What I have in mind is a "ooyala video" node type that uploads a video file and relevant data (tags, channel and channelset, access restrictions, etc) to the backlot using it´s api.
The full node would feature a player (ooyala's or, if possible, other flash video player) and would interact directly with the backlot to provide comments, voting and statistics info.
Also, there is a need for views support (filtering/sorting by tag, date, popularity, rating, etc) and probably a CCK field (i don't have any use for this right now, but probably someone else will). Creating playlists from views should be relatively easy.
I am going to be responsible for the development of this new module in my company, but we decided that it would be best to release this module back to the comunity, so I here I am asking for your ideas, comments and feature requests so I can start working on it.
thanks! and have a happy new year
Comments
This is pretty interesting.
This is pretty interesting. I like the features in Ooyala. Would be keenly following the development on this module.
Cheers,
Karthikeyan
84ideas
Cheers,
Karthikeyan
Sounds nice!
I'm looking for a good video service solution that would work well with Drupal, and it seems Ooyala could be the one...
I'll be happy to help with the testing ;)
(or in other words: subscribing)
First preview
Thanks for the testing help.
currently, I have a working module that can display an ooyala video inline or in a thickbox by giving it an embeded code.
I have changed my mind about the architecture of the module since I first wrote this post. It is now implemented as a CCK field, and as such it requires the Content and the Text field modules. I did it this way to make it easy to use and to provide easier integration to views.
Right now, you just create a text field for a node type and when editing/posting you write an Ooyala embed code in your field.
It should allow you to view the video inline.
I also implemented some basic Thickbox and Imagecache integration. Check that out ;)
The thumbnails don't work, but I plan to fetch the missing thumbnails on hook_cron to allow ooyala to process and generate the images. (to see it working, place a .jpg in the right place and it will work, check the src of the img tags )
Thumbnail images will be stored in a directory to allow imagecache to create the different sizes.
Somehow settings are not being saved, but what's there works, and I wanted to post this as soon as possible, so the first preview is here.
http://decision2009.milenio.com/sites/decision2009.milenio.com/files/cck...
Update: Settings now work... i just replaced the file above.
--
Herón Ordoñez.
www.loquevienesiendo.com
--
Herón Ordoñez.
www.loquevienesiendo.com
second preview
Hi, I have updated the code above, Thumbnails are now pulled from Ooyala on hok_cron.
Also, I have included a second module to allow uploads to ooyala from the site. Right now it does not work, as I think I have found a bug in the scripts from ooyala.
http://decision2009.milenio.com/sites/decision2009.milenio.com/files/cck...
--
Herón Ordoñez.
www.loquevienesiendo.com
--
Herón Ordoñez.
www.loquevienesiendo.com
Preview 3
Hi, I have uploaded a new version of the code. No new features, but everything works now.
http://decision2009.milenio.com/sites/decision2009.milenio.com/files/cck...
I am including 2 modules, one is a formatter for cck text fields that will render an embed code into a video or a thumbnail, retrieving the thumbnails on hook_cron and with integration to thickbox.module and imagecache.module
the other module is a widget for cck text fields that will allow you to upload video files to ooyala with a custom pcode and secret code .
This widget does not support more than 1 upload button per page, so don´t try multiple values with your field or multiple text fields with this widget enabled, as I don´t know what will break.
This limitation is due to the way the upload scripts from ooyala work. (no multiple button in the same page, not able to load it dynamically with ajax or ahah or even javascript remote includes)
Hope it works OK for you, I will be updating this with some other features as I can, but for now I will start using it to build some of our sites.
please, help me test and contact me if you have any feature requests.
--
Herón Ordoñez.
www.loquevienesiendo.com
I clicked "browse" and
I clicked "browse" and selected a video file "abc.3gp", then I clicked "upload".. but nothing happened, and the video is not uploaded..
Do you have a pcode and secret?
In the configuration of the field you have to provide a secret code and a partner code, please check that both are correct.
also, can you check this with firebug in firefox? one of the tabs gives you the network activity and the response of the ooyala servers can be found there. can you see a request being made to ooyala? can you see a response from the servers? is there any error message in the respones from ooyala?
thanks
UPDATE: I have found this same behaviour as of today, I am also having trouble retrieving thumbnails with the thumbnail API. I have already filed a support request with ooyala and hope this can be solved as it was working a couple of days ago!!
--
Herón Ordoñez.
www.loquevienesiendo.com
thumbnail path creation
I found a bug with the retrieving of thumbnails. right now it will not create the directory that you specify in the settings page. you have to create it manually and give it the proper permissions. I´ll fix that soon.
--
Herón Ordoñez.
www.loquevienesiendo.com
Problem solved!
Hi, I found what was wrong, I just uploaded the wrong files. :P
I have also made some corrections to the signature process. thumbnail retrieving is also working ok now, but only if you create the "ooyalathumbs" directory manually inside your "files" dir.
check it out please, the right version is here:
http://decision2009.milenio.com/sites/decision2009.milenio.com/files/cck...
--
Herón Ordoñez.
www.loquevienesiendo.com
metatags would be awesome
Also, if there's a way to deal with metatags through the flexible metadata api it'll be awesome.
Metatags and labels
Hi, I have implemented adding taxonomy tags as ooyala labels. Right now it supports tag hierarchy, but I'm not working with metatags. Just create a new vocabulary and some terms and assign it to your node.
this is only working with new uploads right now :( I have not implemented updates.
As soon as I can I am planning to implement metatags :D
--
Herón Ordoñez.
www.loquevienesiendo.com
thanks for update
Thanks for update! sorry was busy on something else, I'll test it and will let you know how it goes :)
Ooyala project page?
Does this module you're working on have a Drupal project page? It would make it easier for everyone to track what version and updates you've made if it had one like most Drupal modules do.
Not yet
One of the requirements for a CVS account, which allows you to create a module page/project, is that you need to publish the code and prove that it works before they grant you access to the repository.
That's why I called the files in this thread "previews" as this is not a module yet, but I'm working on it.
Thanks for the interest, Let me know if there's something you would like added.
--
Herón Ordoñez.
www.loquevienesiendo.com
Preview 4
I have added views support, Now there is a style plugin for a shared player, which will display a player and a list of nodes with the fields you define. On clicking any of the nodes, the ooyala video related to the node will show on the player.
This pretty much solves playlists like "most viewed" or "most voted". Check it out and hope it is useful.
http://decision2009.milenio.com/sites/decision2009.milenio.com/files/cck...
--
Herón Ordoñez.
www.loquevienesiendo.com
Is it possible to see a live
Is it possible to see a live example? thanks
live example
http://www.multimedios.tv
this site's content is basically video, all uploaded to ooyala
--
Herón Ordoñez.
www.loquevienesiendo.com
Preview 5
here is an updated version.
i promise i'll be applyingo for svn access to make this an official drupal module soon
http://decision2009.milenio.com/sites/decision2009.milenio.com/files/cck...
this fixes an issue where the title of the video was not being sent to ooyala, also adds a permission so you can choose who can upload videos
--
Herón Ordoñez.
www.loquevienesiendo.com
thanks and I'm expecting it to be in the module list
Hi,
Sorry for updating feedback so late.. but yes I'm using it in a project and it works fine (after a bit custom tweak for the project). I would like to say thank you for providing the module, I appreciate it :) And I'm expecting it to be checked in CVS and bean official module :) Since I'm probably going to use it for another few projects, I would like to see that it becomes a maintained module :)
ooyala module documentation
Hello
Great work so far
Im working on a test site which will integrate ooyala and drupal. Is there any further documentation on getting this module to work as well as detailing what features it has? I have managed to get my ooyala videos to play on the test site, but im having trouble with the thumbnails, and i cant get the keywords (labels in my backlot account) into drupal either.
I also would love to see some sort of automated module which grabs any uploaded videos in backlot (with specific labels) and uploads to my drupal site. I would rather upload directly into backlot then embed the videos into drupal website
thanks
m
Some questions about working features and TODOs
Hi, thank you very much for your module.
I'm testing it now - we are going to use it for some project ;) - and I'm not quite sure what is implemented but just does not work for me and what is still in TODO list. Could you please clarify some things for me?
- Can I modify the Title, Description and Lables in Backlot when edited/saved the content page?
- Can I replace video in Backlot when re-uploaded/saved the content page? (currently it adds another video and the old one becomes an orphan)
- Can I delete video in Backlot when the content page deleted?
- How can I save Labels?
This is for starter ;)
I also added
ooyalaUploader.setDescription(data.description);
after ooyalaUploader.setTitle(data.title); in ooyala_field.js - otherwise Description was not saved.
If you think it will be more convenient to discuss it directly vie emails - please let me know.
Thank you again!
Another couple of things
Another couple of things:
- after clicking "Upload" button, the progress goes from 0 to 100%, but it never becomes "Finished" - and my test alert() in onUploadComplete() never seen.
- Do you currently somehow use "API Ping URL"?
Thanks!
lots of work to do on this module! :D
hmm the first point usualy happens when you have network problems, we've seen this only when the video is too big or the network is too slow and it takes a lot to upload it. We haven't found a way to prevent it, or even a real explanation for why this is, but we're looking into it.
about 2. no, there is no API ping URL callback.. we want to use it. Presumably, it should allow you to publish nodes once the video has been processed.
--
Herón Ordoñez.
www.loquevienesiendo.com
Hi!
about your questions:
1.- No, once you upload a video you can't apply any editions you do in Drupal to the Backlot. this is not implemented, but it should be possible
2.- No, you can't replace the video, I don't really know if even Backlot does this, as uploading a new video should create a new embedcode. If it does, then it's not implemented in drupal.
3.- No, it's not implemented
about your edit, I've taken note of it and will add it to the code. thanks!!!
basically, what the module does is give you a button to upload a video to the backlot, it takes the title from the node form, and it takes its description from the node body.. that's about it.
If you don't have anything in the body or description by the moment you upload the video, it will be uploaded without title or description :S
--
Herón Ordoñez.
www.loquevienesiendo.com
Depends on: Content (missing)
Hi, I am new for drupal, and found that you have develop the ooyala modules with drupal. But I copy you folder to the modules, The drupal report the error "Depends on: Content (missing)" in the modules list page. I did not also found the modules named "Content". Could you please tell me how could I resolve it?
CCK Content missing
Hi,
A little late I'm sure but only just found this. The content missing text is pointing to the CCK module. Download this and you should be good to go.
Cheers
John