drupal 6 → Закачка добавленного видео на ютуб
I thought I would share the configuration I came up with, in case it is helpful to anyone else.
My use case: Upload a video, display it on youtube, and then display the video on my site in an emfield.
Setup: (a) Enable and configure these modules: emfield, emvideo media_youtube media_mover_api, media_mover_cck, media_mover_emfield (b) Create a cck node type (“video”) with both a filefield (eg “field_filefield_video) and an emvideo field (eg “field_emvideo”) (c) Create a few video-type nodes. Leave the emvideo field blank, and upload some videos into the filefield.
Create a media-mover configuration: (a) Harvest: Select “Harvest from a CCK Field” Under “Select content types to harvest from”, select your video node Under “Select files from these CCK fields”, select your filefield (field_filefield_video) Under “filetypes”, enter your video filetypes (b) Process: Select “upload to yourube” (c) Complete: Select “save data in the embedded media field” Under “Save the file to this Embedded Media Field” select field_emvideo
And that’s it!
A note about “Harvest Data from an Embedded Media Field” I believe its purpose is to harvest files already on the web, and is not intended for uploading local files. (It took me a while to figure this out. Duh.)