-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathding_content.file_default_displays.inc
More file actions
66 lines (60 loc) · 1.78 KB
/
ding_content.file_default_displays.inc
File metadata and controls
66 lines (60 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/**
* @file
* ding_content.file_default_displays.inc
*/
/**
* Implements hook_file_default_displays().
*/
function ding_content_file_default_displays() {
$export = array();
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'video__default__file_field_media_large_icon';
$file_display->weight = -45;
$file_display->status = FALSE;
$file_display->settings = '';
$export['video__default__file_field_media_large_icon'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'video__preview__media_vimeo_video';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = array(
'width' => '560',
'height' => '340',
'autoplay' => 0,
);
$export['video__preview__media_vimeo_video'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'video__preview__media_youtube_video';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = array(
'width' => '640',
'height' => '390',
'theme' => 'dark',
'color' => 'red',
'autohide' => '2',
'autoplay' => 0,
'loop' => 0,
'showinfo' => 1,
'modestbranding' => 0,
'rel' => 1,
'nocookie' => 0,
'protocol_specify' => 0,
'protocol' => 'https:',
'enablejsapi' => 0,
'origin' => '',
);
$export['video__preview__media_youtube_video'] = $file_display;
$file_display = new stdClass();
$file_display->api_version = 1;
$file_display->name = 'video__teaser__file_field_media_large_icon';
$file_display->weight = 0;
$file_display->status = FALSE;
$file_display->settings = '';
$export['video__teaser__file_field_media_large_icon'] = $file_display;
return $export;
}