Download & Extend

Media Youtube for MM 2.x

Project:Media Mover
Version:6.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi

On the project page it says

Note that if you're using the Media Mover module, this will also add the capability to send harvested videos to YouTube and store the resulting video in your Embedded Video Field!

Can you please specify the modules and configuration required to make this work?

I have the 2.x dev branch (9th oct) of emfield and the 1.x branch of media_youtube (17 nov). These allow me to add a youtube field that will take a youtube url.

I then installed the 2.x-dev branch of the media_mover (27 Jan). I've set my api key, the zend library, etc. However the cck widget still only accepts a plain url. I've looked at the widget settings and I've tried adding a file field to see if there would be additional options but didn't see any. I've looked through every configuration screen I can find.

I see other issues where people have got his working, but I'm at a loss.
Cheers

Comments

#1

Status:active» fixed

OK, I've worked out my disconnect. I started doing this from a youtube/emfield perspective and didn't really have an understanding of the media_mover paradigm - how you set up a configuration and you point to the cck fields.

For other people reading this, I ended up using the above modules as described, except I switched to media_mover dev branch 1.x. Maybe it does work with 2.x but I'm not going to try my luck. (Note that media_mover beta8 is broken #1050546: beta8 is broken.

#2

Title:How to get media_mover support» Works with media_mover 1.x or 2.x?
Status:fixed» active

Having a closer look I'd like to move to media_mover 2.x. Can you please clarify if you're personally got this working with media_mover 1.x or 2.x or both?

#3

Title:Works with media_mover 1.x or 2.x?» Media YouTube + Emfield / Does mm_emfield work in branch 2.x?
Project:Media: YouTube» Media Mover
Version:6.x-1.x-dev» 6.x-2.x-dev

i've personally only gotten it to work with media_mover 1.x. i'm not entirely certain of the status of 2.x -- there's an mm_emfield module in 1.x, but not sure if it's been ported to 2.x. moving this issue to that queue to get more attention...

#4

I moved all node centric functions into mm_node - see mm_node/includes/mm_node.emfield.inc Some of it is being handled in the mm_node.content.inc to prevent function duplication.

#5

Title:Media YouTube + Emfield / Does mm_emfield work in branch 2.x?» Media Youtube for MM 2.x

Changing the issue title to be a bit more succinct as i'm referencing this issue from the Media Youtube main page.

#6

I'll do whatever is needed to make this work on the media mover side, somebody just tell me what to do :)

#7

Please let's somebody write whats the right combination (which version) of Embedded Media Field and Media: YouTube and Media Mover are compatible I want make playlist XSPF Playlist and don't know which version to use. Please I am confused.

#8

I need this project too but it seems that its not supporting more and i should use alternative modules listed in the project page :(

#9

I am not sure if this is the same problem others are having.

I installed media_mover_6.x-2.x-dev.
I installed media_youtube_6.x-1.3, and filled in the youtube api settings (developer key, username, password).
I then started to create a mediamover-configuration.
For step 1, I selected "Select: from cck field", and then selected a filefield.
For step 2, the dropdown does not include an option to store the uploaded file on youtube. The dropdown displays only these options:

Node: set node publishing options
Process: delete source material
Store: back to a CCK field
Store: on amazon s3
Store: save as a drupal file
store: save to a node

Is this the same problem others are seeing?

#10

Kobnim it looks like media_youtube_media_mover() needs to be updated to the 6.x-2.x api approach. This is going to require some refactoring but here are some fixes to that function:

<?php
/**
* Implements hook_media_mover()
*/
function media_youtube_media_mover() {
 
$items = array();
 
$items['media_youtube_upload'] = array(
   
'description' => t('Store: upload file to youtube'),
   
'configuration' => 'media_youtube_config',
   
'callback' => 'media_youtube_upload_video',
   
'file' => drupal_get_path('module', 'media_youtube') . '/includes/media_youtube.media_mover'
 
);
  return
$items;
}
?>
nobody click here