function youtube_size_options in YouTube Field 7
Same name and namespace in other branches
- 8 youtube.module \youtube_size_options()
Returns a list of YouTube video size options.
Return value
array An array of options, keyed by machine name with human readable values.
2 calls to youtube_size_options()
File
- ./
youtube.inc, line 35 - YouTube field helper functions.
Code
function youtube_size_options() {
return array(
'420x315' => '450px by 315px',
'480x360' => '480px by 360px',
'640x480' => '640px by 480px',
'960x720' => '960px by 720px',
'responsive' => 'responsive (full-width of container)',
'custom' => 'custom',
);
}