You are here

function emvideo_youtube_settings in Media: YouTube 6

hook emvideo_PROVIDER_settings this should return a subform to be added to the emvideo_settings() admin settings page. note that a form field will already be provided, at $form['PROVIDER'] (such as $form['youtube']) so if you want specific provider settings within that field, you can add the elements to that form field.

File

providers/emvideo/youtube.inc, line 48
This include processes youtube.com media files for use by emfield.module.

Code

function emvideo_youtube_settings() {
  module_load_include('inc', 'media_youtube', 'includes/media_youtube.admin');
  return media_youtube_admin_form();
}