You are here

function emvideo_vimeo_convert_color in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/providers/vimeo.inc \emvideo_vimeo_convert_color()
1 call to emvideo_vimeo_convert_color()
theme_emvideo_vimeo_flash in contrib/emvideo/providers/vimeo.inc
the embedded flash displaying the Vimeo video

File

contrib/emvideo/providers/vimeo.inc, line 137
Provide support for the Vimeo provider to the emfield.module.

Code

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