-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathlinktv_platform.yml
150 lines (136 loc) · 3.33 KB
/
linktv_platform.yml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# General site settings
site:
name: My Site
host: localhost
referrer: http:://mysite.com
# Key used for simple encryption/decryption of things like URL parameters
# Not expected to be used for secure data
simple_encryption:
secret_key: xxxxxxx
# Analytics
google_analytics:
account_id:
# Facebook meta tags (see https://developers.facebook.com/docs/insights/)
facebook:
page_id:
app_id:
admins:
# Video CDN (TODO: support for non-Amazon CDNs)
video_files:
cdn_enable: false
s3_access_key:
s3_secret_key:
s3_bucket:
# Video hosts: include prefix (i.e. rtmp://cloudfront.yourdomain.org/cfx/st)
video_host:
stream_host:
download_host:
# Video player
video:
player:
swf: /assets/linktv_platform/player/player.swf
width: 640
height: 360
large_width: 960
large_height: 540
id: video-player
flash_player_version: 9.0.115
config:
embedded_player:
swf: /assets/linktv_platform/player/player.swf
width: 480
height: 270
large_width: 640
large_height: 360
related_content_height: 200
id: video-player
flash_player_version: 9.0.115
config:
admin_player:
# Override the FlowPlayer URLs below with a local installation;
# these URLs are volatile, and should not be used in production
flowplayer_swf: http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf
flowplayer_rtmp: http://releases.flowplayer.org/swf/flowplayer.rtmp-3.2.3.swf
flowplayer_js: http://flowplayer.org/js/flowplayer-3.2.6.min.js
id: flowplayer
width: 480
height: 360
# APIs
apis:
defaults:
external_content:
# 48 hour dynamic content lifetime, after which it is subject to deletion
lifetime: 172800
# one hour content refresh. If most recent content is older than that, a background refresh will be performed
refresh: 3600
# Config params will be used both on the front- and back-end
config:
# Score above which topic will be emphasized, or required, in related content queries
emphasis_threshold: 90
# Default score below which related content (articles, etc.) will be filtered
low_score_threshold: 50
# API-specific settings
daylife:
accesskey:
secretkey:
limit: 20
truveo:
appid:
sharedsecret:
limit: 20
zemanta:
api_key:
limit: 20
socialactions:
limit: 20
# Thumbnails
thumbnails:
format: jpg
input_accept: image/jpeg, image/png
input_max_file_size: 1000000
# jpeg quality range: 0-95, per http://gd2.rubyforge.org/rdoc/
jpeg_quality: 90
not_available_path: /assets/linktv_platform/images/image-not-found.png
default:
width: 160
height: 90
video:
width: 160
height: 90
video_segment:
height: 50
width: 50
external_content:
width: 60
height: 40
# Index page pagination
pagination:
topics:
per_page: 10
videos:
per_page: 10
# Video RSS feed
rss:
videos:
title: My Video Feed
link: http://site.org
description: This is an MRSS video feed
language: en-us
copyright: All rights reserved.
limit: 25
# Media types (don't change these unless you know what you're doing)
media_types:
-
key: internal
display_name: Internal
media_instance_types:
- Standard
- HQ
-
key: youtube
display_name: YouTube
media_instance_types:
- YouTube
# Developers
developers:
enable_api: false