function jquery_social_stream_vimeo_form in jQuery social stream 8
Same name and namespace in other branches
- 8.2 jquery_social_stream.module \jquery_social_stream_vimeo_form()
- 7.2 jquery_social_stream.module \jquery_social_stream_vimeo_form()
- 7 jquery_social_stream.module \jquery_social_stream_vimeo_form()
Vimeo settings form.
File
- ./
jquery_social_stream.module, line 610 - Code for the Campaign social media module.
Code
function jquery_social_stream_vimeo_form($conf) {
$form = array();
_jquery_social_stream_settings_text($form, $conf, 'id', 'Vimeo ID', '');
_jquery_social_stream_settings_text($form, $conf, 'intro', 'Feed item intro text', 'Liked,Video,Appeared In,Video,Album,Channel,Group');
_jquery_social_stream_settings_text($form, $conf, 'out', 'Output', 'Stream item output: content blocks & order. Available options: intro, thumb, title, text, user, share', 'intro,thumb,title,text,user,share');
_jquery_social_stream_settings_text($form, $conf, 'feed', 'Feed', '<p>Options available:</p><dl><dt>likes</dt><dd>Most recent likes</dd>
<dt>videos</dt><dd>Videos created by user</dd>
<dt>appears_in</dt><dd>Videos that the user appears in</dd>
<dt>all_videos</dt><dd>Videos that the user appears in and created</dd>
<dt>albums</dt><dd>Albums the user has created</dd>
<dt>channels</dt><dd>Channels the user has created and subscribed to</dd>
<dt>groups</dt><dd>Groups the user has created and joined</dd></dl>', 'likes,videos,appears_in,all_videos,albums,channels,groups');
_jquery_social_stream_settings_select($form, $conf, 'thumb', 'Size of thumbnail image', '', array(
'small' => t('100px wide'),
'medium' => t('200px wide'),
'large' => t('640px wide'),
), 'medium');
_jquery_social_stream_settings_select($form, $conf, 'stats', 'Stats', 'If selected the feed will include statistics (e.g. number of likes, views, comments, etc)', array(
1 => t('Yes'),
0 => t('No'),
), 1);
return $form;
}