You are here

function emvideo_youtube_convert_color in Embedded Media Field 6

1 call to emvideo_youtube_convert_color()
theme_emvideo_youtube_flash in contrib/emvideo/providers/youtube.inc
The embedded flash displaying the youtube video.

File

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

Code

function emvideo_youtube_convert_color($color = NULL) {
  if ($color[0] == '#') {
    return drupal_substr($color, 1);
  }
  return $color;
}