Featured Video Plus - Version 1.9.1

Version Description

= 1.6 = Smoothness

= 1.5 = AJAX!

= 1.4 = WP3.5 Media Manager, time-links...

= 1.3 = Internationalization! More user friendly, more customizations.

= 1.2 = Now featuring your local videos!

= 1.1 = Feature Dailymotion Videos on your posts!

Download this release

Release Info

Developer a.hoereth
Plugin Icon 128x128 Featured Video Plus
Version 1.9.1
Comparing to
See all releases

Code changes from version 1.9 to 1.9.1

featured-video-plus.php CHANGED
@@ -1,114 +1,114 @@
1
- <?php
2
- /**
3
- Plugin Name: Featured Video Plus
4
- Plugin URI: http://yrnxt.com/wordpress/featured-video-plus/
5
- Description: Add Featured Videos to your posts and pages.
6
- Author: Alexander Höreth
7
- Version: 1.9
8
- Author URI: http://yrnxt.com
9
- License: GPL2
10
-
11
- Copyright 2009-2014 Alexander Höreth (email: a.hoereth@gmail.com)
12
-
13
- This program is free software; you can redistribute it and/or modify
14
- it under the terms of the GNU General Public License version 2,
15
- as published by the Free Software Foundation.
16
-
17
- You may NOT assume that you can use any other version of the GPL.
18
-
19
- This program is distributed in the hope that it will be useful,
20
- but WITHOUT ANY WARRANTY; without even the implied warranty of
21
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
- GNU General Public License for more details.
23
-
24
- The license for this software can likely be found here:
25
- http://www.gnu.org/licenses/gpl-2.0.html
26
-
27
- */
28
-
29
- if (!defined('FVP_VERSION'))
30
- define('FVP_VERSION', '1.9');
31
-
32
- // symlink proof
33
- $pathinfo = pathinfo(dirname(plugin_basename(__FILE__)));
34
- if (!defined('FVP_NAME'))
35
- define('FVP_NAME', $pathinfo['filename']);
36
- if (!defined('FVP_DIR'))
37
- define('FVP_DIR', plugin_dir_path(__FILE__));
38
- if (!defined('FVP_URL'))
39
- define('FVP_URL', plugins_url(FVP_NAME) . '/');
40
-
41
- // init general class, located in php/general.php
42
- include_once( FVP_DIR . 'php/general.php' );
43
- $featured_video_plus = new featured_video_plus();
44
-
45
- // include api functions which are intended to be used by developers
46
- include_once( FVP_DIR . 'php/functions.php' );
47
-
48
- // init translations
49
- add_action( 'plugins_loaded', array( &$featured_video_plus, 'language' ) );
50
-
51
-
52
- // only on backend / administration interface
53
- if( is_admin() ) {
54
- // init backend class, located in php/backend.php
55
- include_once( FVP_DIR . 'php/backend.php' );
56
- $featured_video_plus_backend = new featured_video_plus_backend($featured_video_plus);
57
-
58
- // plugin upgrade/setup
59
- include_once( FVP_DIR . '/php/upgrade.php' );
60
- add_action( 'admin_init', 'featured_video_plus_upgrade' );
61
-
62
- // admin meta box
63
- add_action('admin_menu', array( &$featured_video_plus_backend, 'metabox_register' ) );
64
- add_action('save_post', array( &$featured_video_plus_backend, 'metabox_save' ) );
65
-
66
- // enqueue admin scripts and styles
67
- add_action('admin_enqueue_scripts', array( &$featured_video_plus_backend, 'enqueue' ) );
68
-
69
- // link to media settings on plugins overview
70
- add_filter('plugin_action_links', array( &$featured_video_plus_backend, 'plugin_action_link' ), 10, 2);
71
-
72
- // add upload mime types for HTML5 videos
73
- add_filter('upload_mimes', array( &$featured_video_plus_backend, 'add_upload_mimes' ) );
74
-
75
- // post edit help
76
- add_action('admin_init', array( &$featured_video_plus_backend, 'help' ) );
77
- add_action( 'load-post.php', array( &$featured_video_plus_backend, 'tabs' ), 20 ); // $GLOBALS['pagenow']
78
- if( get_bloginfo('version') < 3.3 )
79
- add_filter( 'contextual_help', array( &$featured_video_plus_backend, 'help_pre_33' ), 10, 3 );
80
-
81
- // admin settings
82
- include_once( FVP_DIR . 'php/settings.php' );
83
- $featured_video_plus_settings = new featured_video_plus_settings();
84
- add_action( 'admin_init', array( &$featured_video_plus_settings, 'settings_init' ) );
85
-
86
- // media settings help
87
- add_action('admin_init', array( &$featured_video_plus_settings, 'help' ) );
88
- add_action( 'load-options-media.php', array( &$featured_video_plus_settings, 'tabs' ), 20 ); // $GLOBALS['pagenow']
89
- if( get_bloginfo('version') < 3.3 )
90
- add_filter( 'contextual_help', array( &$featured_video_plus_settings, 'help_pre_33' ), 10, 3 );
91
-
92
- if (defined('DOING_AJAX')&&DOING_AJAX){
93
- add_action( 'wp_ajax_fvp_ajax', array( &$featured_video_plus_backend, 'ajax' ) );
94
- add_action( 'wp_ajax_fvp_get_embed', array( &$featured_video_plus_backend, 'ajax_get_embed' ));
95
- add_action( 'wp_ajax_nopriv_fvp_get_embed', array( &$featured_video_plus_backend, 'ajax_get_embed' ));
96
- }
97
- }
98
-
99
-
100
- // only on frontend / page
101
- if( !is_admin() ) {
102
- // init frontend class, located in php/frontend.php
103
- include_once( FVP_DIR . 'php/frontend.php' );
104
- $featured_video_plus_frontend = new featured_video_plus_frontend($featured_video_plus);
105
-
106
- // enqueue scripts and styles
107
- add_action( 'wp_enqueue_scripts', array( &$featured_video_plus_frontend, 'enqueue' ) );
108
-
109
- // filter get_post_thumbnail output
110
- add_filter( 'post_thumbnail_html', array( &$featured_video_plus_frontend, 'filter_post_thumbnail'), 99, 5);
111
-
112
- // shortcode
113
- add_shortcode( 'featured-video-plus', array( &$featured_video_plus_frontend, 'shortcode' ) );
114
- }
1
+ <?php
2
+ /**
3
+ Plugin Name: Featured Video Plus
4
+ Plugin URI: http://yrnxt.com/wordpress/featured-video-plus/
5
+ Description: Add Featured Videos to your posts and pages.
6
+ Author: Alexander Höreth
7
+ Version: 1.9.1
8
+ Author URI: http://yrnxt.com
9
+ License: GPL2
10
+
11
+ Copyright 2009-2014 Alexander Höreth (email: a.hoereth@gmail.com)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License version 2,
15
+ as published by the Free Software Foundation.
16
+
17
+ You may NOT assume that you can use any other version of the GPL.
18
+
19
+ This program is distributed in the hope that it will be useful,
20
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
21
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
+ GNU General Public License for more details.
23
+
24
+ The license for this software can likely be found here:
25
+ http://www.gnu.org/licenses/gpl-2.0.html
26
+
27
+ */
28
+
29
+ if (!defined('FVP_VERSION'))
30
+ define('FVP_VERSION', '1.9.1');
31
+
32
+ // symlink proof
33
+ $pathinfo = pathinfo(dirname(plugin_basename(__FILE__)));
34
+ if (!defined('FVP_NAME'))
35
+ define('FVP_NAME', $pathinfo['filename']);
36
+ if (!defined('FVP_DIR'))
37
+ define('FVP_DIR', plugin_dir_path(__FILE__));
38
+ if (!defined('FVP_URL'))
39
+ define('FVP_URL', plugins_url(FVP_NAME) . '/');
40
+
41
+ // init general class, located in php/general.php
42
+ include_once( FVP_DIR . 'php/general.php' );
43
+ $featured_video_plus = new featured_video_plus();
44
+
45
+ // include api functions which are intended to be used by developers
46
+ include_once( FVP_DIR . 'php/functions.php' );
47
+
48
+ // init translations
49
+ add_action( 'plugins_loaded', array( &$featured_video_plus, 'language' ) );
50
+
51
+
52
+ // only on backend / administration interface
53
+ if( is_admin() ) {
54
+ // init backend class, located in php/backend.php
55
+ include_once( FVP_DIR . 'php/backend.php' );
56
+ $featured_video_plus_backend = new featured_video_plus_backend($featured_video_plus);
57
+
58
+ // plugin upgrade/setup
59
+ include_once( FVP_DIR . '/php/upgrade.php' );
60
+ add_action( 'admin_init', 'featured_video_plus_upgrade' );
61
+
62
+ // admin meta box
63
+ add_action('admin_menu', array( &$featured_video_plus_backend, 'metabox_register' ) );
64
+ add_action('save_post', array( &$featured_video_plus_backend, 'metabox_save' ) );
65
+
66
+ // enqueue admin scripts and styles
67
+ add_action('admin_enqueue_scripts', array( &$featured_video_plus_backend, 'enqueue' ) );
68
+
69
+ // link to media settings on plugins overview
70
+ add_filter('plugin_action_links', array( &$featured_video_plus_backend, 'plugin_action_link' ), 10, 2);
71
+
72
+ // add upload mime types for HTML5 videos
73
+ add_filter('upload_mimes', array( &$featured_video_plus_backend, 'add_upload_mimes' ) );
74
+
75
+ // post edit help
76
+ add_action('admin_init', array( &$featured_video_plus_backend, 'help' ) );
77
+ add_action( 'load-post.php', array( &$featured_video_plus_backend, 'tabs' ), 20 ); // $GLOBALS['pagenow']
78
+ if( get_bloginfo('version') < 3.3 )
79
+ add_filter( 'contextual_help', array( &$featured_video_plus_backend, 'help_pre_33' ), 10, 3 );
80
+
81
+ // admin settings
82
+ include_once( FVP_DIR . 'php/settings.php' );
83
+ $featured_video_plus_settings = new featured_video_plus_settings();
84
+ add_action( 'admin_init', array( &$featured_video_plus_settings, 'settings_init' ) );
85
+
86
+ // media settings help
87
+ add_action('admin_init', array( &$featured_video_plus_settings, 'help' ) );
88
+ add_action( 'load-options-media.php', array( &$featured_video_plus_settings, 'tabs' ), 20 ); // $GLOBALS['pagenow']
89
+ if( get_bloginfo('version') < 3.3 )
90
+ add_filter( 'contextual_help', array( &$featured_video_plus_settings, 'help_pre_33' ), 10, 3 );
91
+
92
+ if (defined('DOING_AJAX')&&DOING_AJAX){
93
+ add_action( 'wp_ajax_fvp_ajax', array( &$featured_video_plus_backend, 'ajax' ) );
94
+ add_action( 'wp_ajax_fvp_get_embed', array( &$featured_video_plus_backend, 'ajax_get_embed' ));
95
+ add_action( 'wp_ajax_nopriv_fvp_get_embed', array( &$featured_video_plus_backend, 'ajax_get_embed' ));
96
+ }
97
+ }
98
+
99
+
100
+ // only on frontend / page
101
+ if( !is_admin() ) {
102
+ // init frontend class, located in php/frontend.php
103
+ include_once( FVP_DIR . 'php/frontend.php' );
104
+ $featured_video_plus_frontend = new featured_video_plus_frontend($featured_video_plus);
105
+
106
+ // enqueue scripts and styles
107
+ add_action( 'wp_enqueue_scripts', array( &$featured_video_plus_frontend, 'enqueue' ) );
108
+
109
+ // filter get_post_thumbnail output
110
+ add_filter( 'post_thumbnail_html', array( &$featured_video_plus_frontend, 'filter_post_thumbnail'), 99, 5);
111
+
112
+ // shortcode
113
+ add_shortcode( 'featured-video-plus', array( &$featured_video_plus_frontend, 'shortcode' ) );
114
+ }
js/backend.js CHANGED
@@ -179,7 +179,7 @@ jQuery(document).ready(function($){
179
  this._frame = wp.media({
180
  title: $control.data('title'),
181
  library: {
182
- type: 'video'
183
  },
184
  button: {
185
  text: $control.data('button')
@@ -227,4 +227,4 @@ jQuery(document).ready(function($){
227
  */
228
  //$('#featured_video_plus-box .handlediv').after('<div class="box_topright"><a href="#" id="fvp_remove" title="Remove Featured Video"><br /></div></div>');
229
 
230
- });
179
  this._frame = wp.media({
180
  title: $control.data('title'),
181
  library: {
182
+ type: 'document'
183
  },
184
  button: {
185
  text: $control.data('button')
227
  */
228
  //$('#featured_video_plus-box .handlediv').after('<div class="box_topright"><a href="#" id="fvp_remove" title="Remove Featured Video"><br /></div></div>');
229
 
230
+ });
lng/featured-video-plus-de_DE.po CHANGED
@@ -1,651 +1,651 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: featured-video-plus 1.3 de_DE\n"
4
- "POT-Creation-Date: 2014-01-02 19:58+0100\n"
5
- "PO-Revision-Date: 2014-01-02 19:59+0100\n"
6
- "Last-Translator: Alexander Höreth <hello@yrnxt.com>\n"
7
- "Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
8
- "Language: de_DE\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.3\n"
13
- "X-Poedit-KeywordsList: __;_e\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: php\n"
17
-
18
- #: php/backend.php:31
19
- msgid "Video URL"
20
- msgstr "Video URL"
21
-
22
- #: php/backend.php:32
23
- msgid "Fallback: same video, different format"
24
- msgstr "Fallback: gleiche Video, anderes Format"
25
-
26
- #: php/backend.php:93 php/backend.php:683 php/backend.php:690
27
- #: php/backend.php:707 php/backend.php:709
28
- msgid "Featured Video"
29
- msgstr "Beitragsvideo"
30
-
31
- #: php/backend.php:124
32
- msgid "Outdated WordPress Version"
33
- msgstr "Veraltete WordPress Version"
34
-
35
- #: php/backend.php:124
36
- #, php-format
37
- msgid ""
38
- "There is WordPress 3.5 out there! The plugin supports older versions way "
39
- "back to 3.1 - but %s is defenitly to old!"
40
- msgstr ""
41
- "Es gibt schon WordPress 3.5! Das Plugin unterstützt alle Versionen ab 3.1 - "
42
- "aber %s ist wirklich zu alt!"
43
-
44
- #: php/backend.php:136
45
- msgid "Set Featured Video"
46
- msgstr "Beitragsvideo festlegen"
47
-
48
- #: php/backend.php:136
49
- msgid "Set featured video"
50
- msgstr "Beitragsvideo festlegen"
51
-
52
- #: php/backend.php:146 php/backend.php:640
53
- msgid "Supported Video Formats"
54
- msgstr "Unterstützte Videoformate"
55
-
56
- #: php/backend.php:146
57
- msgid "or"
58
- msgstr "oder"
59
-
60
- #: php/backend.php:146
61
- msgid "More information"
62
- msgstr "Mehr Informationen"
63
-
64
- #: php/backend.php:153
65
- msgid "Hint"
66
- msgstr "Hinweis"
67
-
68
- #: php/backend.php:153
69
- #, php-format
70
- msgid "Take a look into the %sContextual Help%s."
71
- msgstr "Wirf einen Blick in die %sHilfe%s."
72
-
73
- #: php/backend.php:159 php/settings.php:390
74
- msgid "Featured Image"
75
- msgstr "Beitragsbild"
76
-
77
- #: php/backend.php:159
78
- msgid ""
79
- "For automatically displaying the Featured Video a Featured Image is required."
80
- msgstr ""
81
- "Um das Artikelvideo automatisch im Theme anzeigen zu können, muss ein "
82
- "Artikelbild festgelegt werden."
83
-
84
- #: php/backend.php:164
85
- msgid "Set as Featured Image"
86
- msgstr "Als Beitragsbild festlegen"
87
-
88
- #: php/backend.php:168
89
- msgid "The current theme does not support Featured Images"
90
- msgstr "Das aktuelle Theme nutzt keine Beitragsbilder."
91
-
92
- #: php/backend.php:168
93
- #, php-format
94
- msgid ""
95
- "To display Featured Videos you need to use the <code>Shortcode</code> or "
96
- "<code>PHP functions</code>. To hide this notice deactivate &quot;<em>Replace "
97
- "Featured Images</em>&quot; in the %sMedia Settings%s."
98
- msgstr ""
99
- "Damit Beitragsvideos in deinem Theme angezeigt werden, musst du den "
100
- "<code>Shortcode</code> oder die <code>PHP-Funktionen</code> verwenden. Um "
101
- "diese Warnung zu verstecken, deaktiviere &quot;<em>Artikelbilder ersetzen</"
102
- "em>&quot; in deinen %sMedien Einstellungen%s."
103
-
104
- #: php/backend.php:634
105
- #, php-format
106
- msgid ""
107
- "To use local videos, copy the <code>Link To Media File</code> from your "
108
- "%sMedia Library%s and paste it into the text field."
109
- msgstr ""
110
- "Um lokale Videos zu nutzen, kopiere den <code>Link zur Medien-Datei</code> "
111
- "aus deiner %sMediathek%s und füge ihn in das Textfeld ein."
112
-
113
- #: php/backend.php:635
114
- msgid ""
115
- "To use local videos as Featured Videos WordPress 3.6 or higher is required."
116
- msgstr ""
117
- "Um lokale Videos als Beitragsvideos zu nutzen wird WordPress 3.6 oder höher "
118
- "benötigt."
119
-
120
- #: php/backend.php:642
121
- msgid "Converting your videos"
122
- msgstr "Videos konvertieren"
123
-
124
- #: php/backend.php:643
125
- #, php-format
126
- msgid ""
127
- "Take a look at the %sMiro Video Converter%s. It is open source, lightweight "
128
- "and compatible with Windows, Mac and Linux."
129
- msgstr ""
130
- "Schau dir den %sMiro Video Converter%s an. Er is Open Source, klein, einfach "
131
- "zu verwenden und mit Windows, Mac und Linux kompatibel."
132
-
133
- #: php/backend.php:644
134
- msgid "Fixing upload errors"
135
- msgstr "Videoupload Fehler beheben"
136
-
137
- #: php/backend.php:646
138
- #, php-format
139
- msgid ""
140
- "Read %sthis%s on how to increase the <strong>maximum file upload size</"
141
- "strong>."
142
- msgstr ""
143
- "Lies %sdas hier%s, um zu erfahren, wie man das <strong>Dateigrößenlimit</"
144
- "strong> erhöht."
145
-
146
- #: php/backend.php:651
147
- msgid ""
148
- "These are some of the tested URL formats. Everything in bold is required, "
149
- "everything in brackets is optional."
150
- msgstr ""
151
- "Das hier sind einige getestete URL Formate. Alles fettgedruckte ist "
152
- "notwendig, alles in Klammern optional."
153
-
154
- #: php/backend.php:683 php/backend.php:707
155
- msgid "Local Media"
156
- msgstr "Lokale Medien"
157
-
158
- #: php/backend.php:690 php/backend.php:709
159
- msgid "Valid URLs"
160
- msgstr "Video URLs"
161
-
162
- #: php/settings.php:21
163
- msgid "Featured Videos"
164
- msgstr "Beitragsvideos"
165
-
166
- #: php/settings.php:23
167
- msgid "Usage"
168
- msgstr "Anwendung"
169
-
170
- #: php/settings.php:24
171
- msgid "Autoplay"
172
- msgstr ""
173
-
174
- #: php/settings.php:25
175
- msgid "Video Sizing"
176
- msgstr "Videogröße"
177
-
178
- #: php/settings.php:26
179
- msgid "Video Align"
180
- msgstr "Video-Ausrichtung"
181
-
182
- #: php/settings.php:27
183
- msgid "Local Video Options"
184
- msgstr "Lokale Videos"
185
-
186
- #: php/settings.php:28
187
- msgid "YouTube Options"
188
- msgstr "YouTube Optionen"
189
-
190
- #: php/settings.php:29
191
- msgid "Vimeo Options"
192
- msgstr "Vimeo Optionen"
193
-
194
- #: php/settings.php:30
195
- msgid "Dailymotion Options"
196
- msgstr "Dailymotion Optionen"
197
-
198
- #: php/settings.php:31
199
- msgid "Support"
200
- msgstr "Support"
201
-
202
- #: php/settings.php:45
203
- #, php-format
204
- msgid ""
205
- "To display your featured videos you can either make use of the automatic "
206
- "replacement, use the %s or manually edit your theme's source files to make "
207
- "use of the plugins PHP-functions."
208
- msgstr ""
209
- "Um die Artikelvideos anzuzeigen kannst du entweder das automatische Ersetzen "
210
- "der Artikelbilder nutzen, auf den %s zurückgreifen oder manuel die PHP-"
211
- "Funktionen in deine Theme Dateien integrieren."
212
-
213
- #: php/settings.php:46
214
- #, php-format
215
- msgid ""
216
- "For more information about Shortcode and PHP functions see the %sContextual "
217
- "Help%s."
218
- msgstr ""
219
- "Für mehr Informationen über den Shortcode und die PHP-Funktionen schaue in "
220
- "die %sHilfe%s."
221
-
222
- #: php/settings.php:62
223
- msgid "Replace featured image automatically if possible"
224
- msgstr "Ersetze Artikelvideos wenn möglich"
225
-
226
- #: php/settings.php:62 php/settings.php:90 php/settings.php:112
227
- #: php/settings.php:122 php/settings.php:143
228
- msgid "default"
229
- msgstr "default"
230
-
231
- #: php/settings.php:63
232
- msgid "Open video overlay when featured image is clicked. Define width below!"
233
- msgstr ""
234
- "Öffne eine video lightbox wenn das Artikelbild angeklickt wird. Gib unten "
235
- "eine Breite an!"
236
-
237
- #: php/settings.php:64
238
- msgid "Replace featured image with video on click and auto play if possible"
239
- msgstr ""
240
- "Ersetze das Artikelbild mit dem Video wenn es angeklickt wird und spiele es "
241
- "wenn möglich sofort ab"
242
-
243
- #: php/settings.php:65
244
- msgid "None of the above: Manually use PHP-functions or shortcodes"
245
- msgstr ""
246
- "Nichts von den obenstehenden: Nutze die PHP-Funktionen oder den Shortcode"
247
-
248
- #: php/settings.php:66
249
- #, php-format
250
- msgid ""
251
- "The first three options require your theme to make use of WordPress' "
252
- "%sfeatured image%s capabilities."
253
- msgstr ""
254
- "Die ersten drei Optionen setzen voraus, dass dein Theme die WordPress' "
255
- "%sArtikelbild%s funktionen nutzt."
256
-
257
- #: php/settings.php:70
258
- msgid "The current theme does not support featured images"
259
- msgstr "Das aktuelle Theme nutzt keine Beitragsbilder"
260
-
261
- #: php/settings.php:70
262
- msgid ""
263
- "To display Featured Videos you need to use the <code>Shortcode</code> or "
264
- "<code>PHP functions</code>."
265
- msgstr ""
266
- "Um Artikelvideos anzuzeigen musst du den <code>Shortcode</code> oder die "
267
- "<code>PHP-Funktionen</code> nutzen."
268
-
269
- #: php/settings.php:86
270
- msgid "yes"
271
- msgstr "ja"
272
-
273
- #: php/settings.php:88
274
- msgid "auto"
275
- msgstr ""
276
-
277
- #: php/settings.php:90
278
- msgid "no"
279
- msgstr "nein"
280
-
281
- #: php/settings.php:109
282
- msgid "Width"
283
- msgstr "Breite"
284
-
285
- #: php/settings.php:119
286
- msgid "Height"
287
- msgstr "Höhe"
288
-
289
- #: php/settings.php:128
290
- msgid ""
291
- "When using <code>auto</code> the video will be adjusted to fit it's parent "
292
- "element while sticking to it's ratio. Using a <code>fixed</code> height and "
293
- "width might result in <em>not so pretty</em> black bars."
294
- msgstr ""
295
- "Wenn <code>auto</code> gesetzt ist, wird das jeweilige Video automatisch an "
296
- "das Elternelement angepasst. Dabei wird versucht, die Seitenverhältnisse "
297
- "beizubehalten. Feste Breite und/oder Höhe kann zu <em>nicht so schönen</em> "
298
- "schwarzen Balken führen."
299
-
300
- #: php/settings.php:142
301
- msgid "left"
302
- msgstr "links"
303
-
304
- #: php/settings.php:143
305
- msgid "center"
306
- msgstr "zentriert"
307
-
308
- #: php/settings.php:144
309
- msgid "right"
310
- msgstr "rechts"
311
-
312
- #: php/settings.php:157
313
- msgid "Use featured image as video thumbnail"
314
- msgstr "Artikelbild als video thumbnail nutzen"
315
-
316
- #: php/settings.php:158
317
- msgid "Loop videos"
318
- msgstr "Videoschleife"
319
-
320
- #: php/settings.php:179
321
- msgid "Light Theme"
322
- msgstr "Helles Design"
323
-
324
- #: php/settings.php:180
325
- msgid "Fullscreen Button"
326
- msgstr "Vollbildschalter"
327
-
328
- #: php/settings.php:188
329
- msgid "Info"
330
- msgstr "Info"
331
-
332
- #: php/settings.php:190
333
- msgid "Related Videos"
334
- msgstr "Verwandte Videos"
335
-
336
- #: php/settings.php:191
337
- msgid "Javascript API"
338
- msgstr ""
339
-
340
- #: php/settings.php:192
341
- msgid "White Progressbar"
342
- msgstr "Weißer Fortschrittsbalken"
343
-
344
- #: php/settings.php:194 php/settings.php:247
345
- msgid "Logo"
346
- msgstr "Logo"
347
-
348
- #: php/settings.php:216
349
- msgid "Portrait"
350
- msgstr "Portrait"
351
-
352
- #: php/settings.php:217
353
- msgid "Title"
354
- msgstr "Titel"
355
-
356
- #: php/settings.php:218
357
- msgid "Byline"
358
- msgstr "Author"
359
-
360
- #: php/settings.php:221
361
- msgid "Color"
362
- msgstr "Farbe"
363
-
364
- #: php/settings.php:225
365
- msgid "Vimeo Plus Videos might ignore these settings."
366
- msgstr "Vimeo Plus Videos können diese Einstellungen ignorieren."
367
-
368
- #: php/settings.php:248
369
- msgid "Videoinfo"
370
- msgstr "Videoinfo"
371
-
372
- #: php/settings.php:249
373
- msgid "Syndication Key"
374
- msgstr "Syndication Schlüssel"
375
-
376
- #: php/settings.php:253
377
- msgid "Foreground"
378
- msgstr "Vordergrund"
379
-
380
- #: php/settings.php:258
381
- msgid "Highlight"
382
- msgstr "Hervorhebung"
383
-
384
- #: php/settings.php:263
385
- msgid "Background"
386
- msgstr "Hintergrund"
387
-
388
- #: php/settings.php:280
389
- #, php-format
390
- msgid ""
391
- "If you have found a bug or are missing a specific video service, please "
392
- "%slet me know%s in the support forum. Elsewise, if you like the plugin: "
393
- "Please %srate it!%s"
394
- msgstr ""
395
- "Wenn du einen Fehler gefunden hast oder einen bestimmten Video-Anbieter "
396
- "vermisst, %ssag bescheid%s; Ansonsten, wenn dir das Plugin gefällt, bitte "
397
- "%sbewerte es!%s"
398
-
399
- #: php/settings.php:365
400
- msgid "Displays the video in its default size."
401
- msgstr "Stellt das Video in seiner Standardgröße dar."
402
-
403
- #: php/settings.php:369
404
- msgid ""
405
- "Displays the video with an width of 300 pixel. Height will be fitted to the "
406
- "aspect ratio."
407
- msgstr ""
408
- "Stellt das Video mit einer breite von 300 Pixeln dar. Die Höhe wird "
409
- "automatisch angepasst, so dass das Seitenverhältniss erhalten bleibt."
410
-
411
- #: php/settings.php:373
412
- msgid "Displays the video with an fixed width and height."
413
- msgstr "Stellt das Video mit fester Breite und Höhe dar."
414
-
415
- #: php/settings.php:387
416
- #, php-format
417
- msgid ""
418
- "All parameters are optional. If %s the current post's id will be used. %s is "
419
- "either a string keyword (thumbnail, medium, large or full) or a 2-item array "
420
- "representing width and height in pixels, e.g. array(32,32)."
421
- msgstr ""
422
- "Alle Parameter sind optional. Wenn %s gilt, wird die ID des aktuellen "
423
- "Beitrags genutzt. %s ist entweder ein String (thumbnail, medium, large oder "
424
- "full) oder ein Array mit zwei Stellen (Breite und Höhe); Zum Beispiel "
425
- "array(32,32)."
426
-
427
- #: php/settings.php:390
428
- #, php-format
429
- msgid ""
430
- "The functions are implemented corresponding to the original %sfunctions%s: "
431
- "They are intended to be used and to act the same way. Take a look into the "
432
- "WordPress Codex for further guidance:"
433
- msgstr ""
434
- "Die Funktionen sind nach den original %sFunktionen%s implementiert. Sie "
435
- "sollten genauso genutzt werden können und sich genauso verhalten. Schau dir "
436
- "für mehr Informationen den WordPress Codex an:"
437
-
438
- #: php/settings.php:413 php/settings.php:436
439
- msgid "PHP-Functions"
440
- msgstr "PHP-Funktionen"
441
-
442
- #~ msgid "Set Featured Video Fallback"
443
- #~ msgstr "Beitragsvideo-Ersatz festlegen"
444
-
445
- #~ msgid "Set featured video fallback"
446
- #~ msgstr "Beitragsvideo Fallback festlegen"
447
-
448
- #~ msgid "Fallback Video"
449
- #~ msgstr "Fallback Video"
450
-
451
- #~ msgid ""
452
- #~ "The two input fields should contain the same video but in distinct "
453
- #~ "formats."
454
- #~ msgstr ""
455
- #~ "Die zwei Eingabefelder sollen das gleiche Video in unterschiedlichen "
456
- #~ "Formaten enthalten."
457
-
458
- #~ msgid ""
459
- #~ "To use local videos, copy the <code>File URL</code> from your %sMedia "
460
- #~ "Library%s and paste it into the text field."
461
- #~ msgstr ""
462
- #~ "Um lokale Videos zu nutzen, kopiere die <code>Datei-URL</code> aus deiner "
463
- #~ "%sMediathek%s und füge sie in das Textfeld ein."
464
-
465
- #~ msgid ""
466
- #~ "The second text field is intended to hold the URL to the same video in a "
467
- #~ "different format. It will be used as fallback if the primary file can not "
468
- #~ "be played."
469
- #~ msgstr ""
470
- #~ "Das zweite Textfeld ist für eine URL zu dem gleichen Video in einem "
471
- #~ "anderen Videoformat gedacht. Dieses zweite Video wird dann als Fallback "
472
- #~ "benutzt, falls das erste Video nicht kompatibel ist."
473
-
474
- #~ msgid ""
475
- #~ "WordPress by default does not support <code>webM</code>. The plugin "
476
- #~ "activates it, but under some conditions this might not be enough. %sHere"
477
- #~ "%s you can get more information on this."
478
- #~ msgstr ""
479
- #~ "Normalerweise unterstützt WordPress kein <code>webM</code>. Das Plugin "
480
- #~ "aktiviert die unterstützung, aber manchmal reicht das noch nicht. %sHier"
481
- #~ "%s gibt es mehr Informationen."
482
-
483
- #~ msgid "Flash Fallback"
484
- #~ msgstr "Flash Fallback"
485
-
486
- #~ msgid ""
487
- #~ "The video player, %sVIDEOJS%s, features an Adobe Flash fallback. All you "
488
- #~ "need to do is provide an <code>mp4</code>-video."
489
- #~ msgstr ""
490
- #~ "Der Video Player, %sVIDEOJS%s, bietet einen Adobe Flash Fallback. Du "
491
- #~ "musst einfach nur ein <code>mp4</code>-Video einbinden."
492
-
493
- #~ msgid ""
494
- #~ "YouTube, Vimeo and Dailymotion videos can autoplay when a single post/"
495
- #~ "page is being viewed."
496
- #~ msgstr ""
497
- #~ "Wenn gesetzt, starten YouTube, Vimeo und Dailymotion Videos automatisch "
498
- #~ "wenn sie auf der Seite eines einzelnen Beitrags angezeigt werden."
499
-
500
- #~ msgid "Use CDN"
501
- #~ msgstr "Nutze CDN"
502
-
503
- #~ msgid "Include JS"
504
- #~ msgstr "JS einbinden"
505
-
506
- #~ msgid "Include CSS"
507
- #~ msgstr "CSS einbinden"
508
-
509
- #~ msgid ""
510
- #~ "Disabling JS and/or CSS will break the local video player. Disable only "
511
- #~ "when you want to replace VideoJS with a different script and know what "
512
- #~ "you are doing."
513
- #~ msgstr ""
514
- #~ "JS und/oder CSS einbindung ist für die richtige Darstellung von lokalen "
515
- #~ "Videos notwendig. Nutze diese funktionen nur wenn du VideoJS durch ein "
516
- #~ "anderes Skript austauschen willst und weißt was du tust."
517
-
518
- #~ msgid "Featured Video Plus was <strong>upgraded</strong>."
519
- #~ msgstr "Featured Video Plus wurde <strong>aktualisiert</strong>."
520
-
521
- #~ msgid ""
522
- #~ "%s brings new options for YouTube and local videos, fixes a whole bunch "
523
- #~ "of glitches and introduces a new PHP-function."
524
- #~ msgstr ""
525
- #~ "%s bringt neue Einstellungsmöglichkeiten für YouTube und lokale Videos, "
526
- #~ "behebt einige Fehler und baut eine neue PHP-Funktion ein."
527
-
528
- #~ msgid "If you like the plugin, please %srate it%s."
529
- #~ msgstr "Wenn dir das Plugin gefällt, bitte %sbewerte es%s."
530
-
531
- #~ msgid ""
532
- #~ "%s <strong>ajax</strong>ifies the Featured Video box, introduces new "
533
- #~ "options for YouTube and local videos and a new PHP-function."
534
- #~ msgstr ""
535
- #~ "In %s wurde die Featured Video box überarbeitet und unterstützt nun AJAX. "
536
- #~ "Außerdem gibt es neue Optionen in den Medieneinstellungen, besonders für "
537
- #~ "YouTube und lokale Videos."
538
-
539
- #~ msgid ""
540
- #~ "%s features a seamless <strong>WP3.5 Media Manager</strong> integration, "
541
- #~ "an all new <strong>ajax</strong>ified metabox, time-links (#t=4m2s) for "
542
- #~ "YouTube and Dailymotion, new PHP functions for developers and more."
543
- #~ msgstr ""
544
- #~ "%s integriert den <strong>WP3.5 Media Manager</strong> nahtlos, "
545
- #~ "unterstützt nun AJAX, bietet time-links für YouTube und "
546
- #~ "Dailymotion(#t=4m2s), einige neue Einstellungen und neue PHP Funktionen "
547
- #~ "für Entwickler."
548
-
549
- #~ msgid ""
550
- #~ "%s features a seamless WP3.5 Media Manager integration, an ajaxified "
551
- #~ "metabox, time-links (#t=4m2s) for YouTube and Dailymotion, more "
552
- #~ "customization settings and internationalization."
553
- #~ msgstr ""
554
- #~ "%s integriert den <strong>WP3.5 Media Manager</strong> nahtlos, bringt "
555
- #~ "AJAX, bietet time-links für YouTube und Dailymotion(#t=4m2s), mehr "
556
- #~ "Einstellungen und Internationalisierung."
557
-
558
- #~ msgid ""
559
- #~ "%s features support for <strong>Local Videos</strong>, a seamless WP3.5 "
560
- #~ "Media Manager integration, an ajaxified metabox, time-links (#t=4m2s) for "
561
- #~ "YouTube and Dailymotion and many more customization settings."
562
- #~ msgstr ""
563
- #~ "%s integriert unterstützung für <strong>lokale Videos</strong>, den neuen "
564
- #~ "WP3.5 Media Manager, eine überarbeitete AJAX-Metabox, time-links "
565
- #~ "(#t=4m2s) für YouTube und Dailymotion und viele neue "
566
- #~ "Einstellungsmöglichkeiten."
567
-
568
- #~ msgid ""
569
- #~ "Featured Video Plus is <strong>ready to use</strong>. There is a new box "
570
- #~ "on post & page edit screens for you to add videos. <strong>Take a look at "
571
- #~ "your new %sMedia Settings%s</strong>."
572
- #~ msgstr ""
573
- #~ "Featured Video Plus wurde <strong>aktiviert</strong>. Beim bearbeiten "
574
- #~ "deiner Einträge gibt es eine neue Box um Artikelvideos hinzuzufügen. "
575
- #~ "Außerdem: <strong>Schau in deine %sMedien Einstellungen%s</strong>."
576
-
577
- #~ msgid "Replace Featured Images"
578
- #~ msgstr "Beitragsbilder ersetzen"
579
-
580
- #~ msgid ""
581
- #~ "If a Featured Video is available it can be displayed in place of the "
582
- #~ "Featured Image. Still, a Featured Image is required."
583
- #~ msgstr ""
584
- #~ "Wenn ein Artikelvideo vorhanden ist kann es anstelle des Artikelbildes "
585
- #~ "angezeigt werden. Dafür muss trotzdem ein Artikelbild gesetzt sein!"
586
-
587
- #~ msgid ""
588
- #~ "The plugin logs it's version, the WordPress version and WordPress "
589
- #~ "language for internal statistics. Those help for future plugin "
590
- #~ "development."
591
- #~ msgstr ""
592
- #~ "Das Plugin speichert seine Version, die WordPress Version und WordPress "
593
- #~ "Spracheinstellung für eigene Statistiken."
594
-
595
- #~ msgid ""
596
- #~ "No personal user information is being collected. Still, you can easily "
597
- #~ "Opt-Out and have the data deleted:"
598
- #~ msgstr ""
599
- #~ "Es werden keine persönlichen Nutzerinformationen gespeichert. Wenn du "
600
- #~ "willst kannst du dich abmelden und deine Daten werden gelöscht:"
601
-
602
- #~ msgid "VIDEOJS Player Options"
603
- #~ msgstr "VIDEOJS Player Optionen"
604
-
605
- #~ msgid ""
606
- #~ "%s features more customization settings, internationalization, better "
607
- #~ "error handling and experimental LiveLeak integration."
608
- #~ msgstr ""
609
- #~ "%s integriert mehr Einstellungsmöglichkeiten, Internationalisierung, "
610
- #~ "bessere Fehlerbehandlung und experimentelle LiveLeak Integration."
611
-
612
- #~ msgid "Align"
613
- #~ msgstr "Ausrichtung"
614
-
615
- #~ msgid "Found a bug or <strong>missing a specific video service</strong>?"
616
- #~ msgstr ""
617
- #~ "Hast du einen Fehler gefunden oder <strong>fehlt dir eine bestimmte Video "
618
- #~ "Plattform</strong>?"
619
-
620
- #~ msgid "Do you like the plugin?"
621
- #~ msgstr "Gefällt dir das Plugin?"
622
-
623
- #~ msgid "rate it"
624
- #~ msgstr "bewerte es"
625
-
626
- #~ msgid ""
627
- #~ "All parameters are optional. If %s the current post's id will be used."
628
- #~ msgstr ""
629
- #~ "Alle Parameter sind optional. Wenn %s gilt, wird die ID vom aktuellen "
630
- #~ "Eintrag verwendet."
631
-
632
- #~ msgid ""
633
- #~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
634
- #~ "strong> features more customization settings and a more dynamic admin "
635
- #~ "interface."
636
- #~ msgstr ""
637
- #~ "Version %s integriert mehr Einstellungsmöglichkeiten, "
638
- #~ "Internationalisierung, besseres Fehlerbehandlung und LiveLeak Videos "
639
- #~ "(experimentell)."
640
-
641
- #~ msgid ""
642
- #~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
643
- #~ "strong> now supports <strong>local videos</strong> and many more "
644
- #~ "customization settings."
645
- #~ msgstr ""
646
- #~ "Version %s integriert <strong>lokale Videos</strong>, LiveLeak Videos "
647
- #~ "(experimentell), mehr Einstellungsmöglichkeiten, Internationalisierung "
648
- #~ "und besseres Fehlerbehandlung."
649
-
650
- #~ msgid "YouTube, Vimeo, Dailymotion; Local Media"
651
- #~ msgstr "Video Formate"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: featured-video-plus 1.3 de_DE\n"
4
+ "POT-Creation-Date: 2014-01-02 19:58+0100\n"
5
+ "PO-Revision-Date: 2014-01-02 19:59+0100\n"
6
+ "Last-Translator: Alexander Höreth <hello@yrnxt.com>\n"
7
+ "Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
8
+ "Language: de_DE\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.3\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-SearchPath-0: php\n"
17
+
18
+ #: php/backend.php:31
19
+ msgid "Video URL"
20
+ msgstr "Video URL"
21
+
22
+ #: php/backend.php:32
23
+ msgid "Fallback: same video, different format"
24
+ msgstr "Fallback: gleiche Video, anderes Format"
25
+
26
+ #: php/backend.php:93 php/backend.php:683 php/backend.php:690
27
+ #: php/backend.php:707 php/backend.php:709
28
+ msgid "Featured Video"
29
+ msgstr "Beitragsvideo"
30
+
31
+ #: php/backend.php:124
32
+ msgid "Outdated WordPress Version"
33
+ msgstr "Veraltete WordPress Version"
34
+
35
+ #: php/backend.php:124
36
+ #, php-format
37
+ msgid ""
38
+ "There is WordPress 3.5 out there! The plugin supports older versions way "
39
+ "back to 3.1 - but %s is defenitly to old!"
40
+ msgstr ""
41
+ "Es gibt schon WordPress 3.5! Das Plugin unterstützt alle Versionen ab 3.1 - "
42
+ "aber %s ist wirklich zu alt!"
43
+
44
+ #: php/backend.php:136
45
+ msgid "Set Featured Video"
46
+ msgstr "Beitragsvideo festlegen"
47
+
48
+ #: php/backend.php:136
49
+ msgid "Set featured video"
50
+ msgstr "Beitragsvideo festlegen"
51
+
52
+ #: php/backend.php:146 php/backend.php:640
53
+ msgid "Supported Video Formats"
54
+ msgstr "Unterstützte Videoformate"
55
+
56
+ #: php/backend.php:146
57
+ msgid "or"
58
+ msgstr "oder"
59
+
60
+ #: php/backend.php:146
61
+ msgid "More information"
62
+ msgstr "Mehr Informationen"
63
+
64
+ #: php/backend.php:153
65
+ msgid "Hint"
66
+ msgstr "Hinweis"
67
+
68
+ #: php/backend.php:153
69
+ #, php-format
70
+ msgid "Take a look into the %sContextual Help%s."
71
+ msgstr "Wirf einen Blick in die %sHilfe%s."
72
+
73
+ #: php/backend.php:159 php/settings.php:390
74
+ msgid "Featured Image"
75
+ msgstr "Beitragsbild"
76
+
77
+ #: php/backend.php:159
78
+ msgid ""
79
+ "For automatically displaying the Featured Video a Featured Image is required."
80
+ msgstr ""
81
+ "Um das Artikelvideo automatisch im Theme anzeigen zu können, muss ein "
82
+ "Artikelbild festgelegt werden."
83
+
84
+ #: php/backend.php:164
85
+ msgid "Set as Featured Image"
86
+ msgstr "Als Beitragsbild festlegen"
87
+
88
+ #: php/backend.php:168
89
+ msgid "The current theme does not support Featured Images"
90
+ msgstr "Das aktuelle Theme nutzt keine Beitragsbilder."
91
+
92
+ #: php/backend.php:168
93
+ #, php-format
94
+ msgid ""
95
+ "To display Featured Videos you need to use the <code>Shortcode</code> or "
96
+ "<code>PHP functions</code>. To hide this notice deactivate &quot;<em>Replace "
97
+ "Featured Images</em>&quot; in the %sMedia Settings%s."
98
+ msgstr ""
99
+ "Damit Beitragsvideos in deinem Theme angezeigt werden, musst du den "
100
+ "<code>Shortcode</code> oder die <code>PHP-Funktionen</code> verwenden. Um "
101
+ "diese Warnung zu verstecken, deaktiviere &quot;<em>Artikelbilder ersetzen</"
102
+ "em>&quot; in deinen %sMedien Einstellungen%s."
103
+
104
+ #: php/backend.php:634
105
+ #, php-format
106
+ msgid ""
107
+ "To use local videos, copy the <code>Link To Media File</code> from your "
108
+ "%sMedia Library%s and paste it into the text field."
109
+ msgstr ""
110
+ "Um lokale Videos zu nutzen, kopiere den <code>Link zur Medien-Datei</code> "
111
+ "aus deiner %sMediathek%s und füge ihn in das Textfeld ein."
112
+
113
+ #: php/backend.php:635
114
+ msgid ""
115
+ "To use local videos as Featured Videos WordPress 3.6 or higher is required."
116
+ msgstr ""
117
+ "Um lokale Videos als Beitragsvideos zu nutzen wird WordPress 3.6 oder höher "
118
+ "benötigt."
119
+
120
+ #: php/backend.php:642
121
+ msgid "Converting your videos"
122
+ msgstr "Videos konvertieren"
123
+
124
+ #: php/backend.php:643
125
+ #, php-format
126
+ msgid ""
127
+ "Take a look at the %sMiro Video Converter%s. It is open source, lightweight "
128
+ "and compatible with Windows, Mac and Linux."
129
+ msgstr ""
130
+ "Schau dir den %sMiro Video Converter%s an. Er is Open Source, klein, einfach "
131
+ "zu verwenden und mit Windows, Mac und Linux kompatibel."
132
+
133
+ #: php/backend.php:644
134
+ msgid "Fixing upload errors"
135
+ msgstr "Videoupload Fehler beheben"
136
+
137
+ #: php/backend.php:646
138
+ #, php-format
139
+ msgid ""
140
+ "Read %sthis%s on how to increase the <strong>maximum file upload size</"
141
+ "strong>."
142
+ msgstr ""
143
+ "Lies %sdas hier%s, um zu erfahren, wie man das <strong>Dateigrößenlimit</"
144
+ "strong> erhöht."
145
+
146
+ #: php/backend.php:651
147
+ msgid ""
148
+ "These are some of the tested URL formats. Everything in bold is required, "
149
+ "everything in brackets is optional."
150
+ msgstr ""
151
+ "Das hier sind einige getestete URL Formate. Alles fettgedruckte ist "
152
+ "notwendig, alles in Klammern optional."
153
+
154
+ #: php/backend.php:683 php/backend.php:707
155
+ msgid "Local Media"
156
+ msgstr "Lokale Medien"
157
+
158
+ #: php/backend.php:690 php/backend.php:709
159
+ msgid "Valid URLs"
160
+ msgstr "Video URLs"
161
+
162
+ #: php/settings.php:21
163
+ msgid "Featured Videos"
164
+ msgstr "Beitragsvideos"
165
+
166
+ #: php/settings.php:23
167
+ msgid "Usage"
168
+ msgstr "Anwendung"
169
+
170
+ #: php/settings.php:24
171
+ msgid "Autoplay"
172
+ msgstr ""
173
+
174
+ #: php/settings.php:25
175
+ msgid "Video Sizing"
176
+ msgstr "Videogröße"
177
+
178
+ #: php/settings.php:26
179
+ msgid "Video Align"
180
+ msgstr "Video-Ausrichtung"
181
+
182
+ #: php/settings.php:27
183
+ msgid "Local Video Options"
184
+ msgstr "Lokale Videos"
185
+
186
+ #: php/settings.php:28
187
+ msgid "YouTube Options"
188
+ msgstr "YouTube Optionen"
189
+
190
+ #: php/settings.php:29
191
+ msgid "Vimeo Options"
192
+ msgstr "Vimeo Optionen"
193
+
194
+ #: php/settings.php:30
195
+ msgid "Dailymotion Options"
196
+ msgstr "Dailymotion Optionen"
197
+
198
+ #: php/settings.php:31
199
+ msgid "Support"
200
+ msgstr "Support"
201
+
202
+ #: php/settings.php:45
203
+ #, php-format
204
+ msgid ""
205
+ "To display your featured videos you can either make use of the automatic "
206
+ "replacement, use the %s or manually edit your theme's source files to make "
207
+ "use of the plugins PHP-functions."
208
+ msgstr ""
209
+ "Um die Artikelvideos anzuzeigen kannst du entweder das automatische Ersetzen "
210
+ "der Artikelbilder nutzen, auf den %s zurückgreifen oder manuel die PHP-"
211
+ "Funktionen in deine Theme Dateien integrieren."
212
+
213
+ #: php/settings.php:46
214
+ #, php-format
215
+ msgid ""
216
+ "For more information about Shortcode and PHP functions see the %sContextual "
217
+ "Help%s."
218
+ msgstr ""
219
+ "Für mehr Informationen über den Shortcode und die PHP-Funktionen schaue in "
220
+ "die %sHilfe%s."
221
+
222
+ #: php/settings.php:62
223
+ msgid "Replace featured image automatically if possible"
224
+ msgstr "Ersetze Artikelvideos wenn möglich"
225
+
226
+ #: php/settings.php:62 php/settings.php:90 php/settings.php:112
227
+ #: php/settings.php:122 php/settings.php:143
228
+ msgid "default"
229
+ msgstr "default"
230
+
231
+ #: php/settings.php:63
232
+ msgid "Open video overlay when featured image is clicked. Define width below!"
233
+ msgstr ""
234
+ "Öffne eine video lightbox wenn das Artikelbild angeklickt wird. Gib unten "
235
+ "eine Breite an!"
236
+
237
+ #: php/settings.php:64
238
+ msgid "Replace featured image with video on click and auto play if possible"
239
+ msgstr ""
240
+ "Ersetze das Artikelbild mit dem Video wenn es angeklickt wird und spiele es "
241
+ "wenn möglich sofort ab"
242
+
243
+ #: php/settings.php:65
244
+ msgid "None of the above: Manually use PHP-functions or shortcodes"
245
+ msgstr ""
246
+ "Nichts von den obenstehenden: Nutze die PHP-Funktionen oder den Shortcode"
247
+
248
+ #: php/settings.php:66
249
+ #, php-format
250
+ msgid ""
251
+ "The first three options require your theme to make use of WordPress' "
252
+ "%sfeatured image%s capabilities."
253
+ msgstr ""
254
+ "Die ersten drei Optionen setzen voraus, dass dein Theme die WordPress' "
255
+ "%sArtikelbild%s funktionen nutzt."
256
+
257
+ #: php/settings.php:70
258
+ msgid "The current theme does not support featured images"
259
+ msgstr "Das aktuelle Theme nutzt keine Beitragsbilder"
260
+
261
+ #: php/settings.php:70
262
+ msgid ""
263
+ "To display Featured Videos you need to use the <code>Shortcode</code> or "
264
+ "<code>PHP functions</code>."
265
+ msgstr ""
266
+ "Um Artikelvideos anzuzeigen musst du den <code>Shortcode</code> oder die "
267
+ "<code>PHP-Funktionen</code> nutzen."
268
+
269
+ #: php/settings.php:86
270
+ msgid "yes"
271
+ msgstr "ja"
272
+
273
+ #: php/settings.php:88
274
+ msgid "auto"
275
+ msgstr ""
276
+
277
+ #: php/settings.php:90
278
+ msgid "no"
279
+ msgstr "nein"
280
+
281
+ #: php/settings.php:109
282
+ msgid "Width"
283
+ msgstr "Breite"
284
+
285
+ #: php/settings.php:119
286
+ msgid "Height"
287
+ msgstr "Höhe"
288
+
289
+ #: php/settings.php:128
290
+ msgid ""
291
+ "When using <code>auto</code> the video will be adjusted to fit it's parent "
292
+ "element while sticking to it's ratio. Using a <code>fixed</code> height and "
293
+ "width might result in <em>not so pretty</em> black bars."
294
+ msgstr ""
295
+ "Wenn <code>auto</code> gesetzt ist, wird das jeweilige Video automatisch an "
296
+ "das Elternelement angepasst. Dabei wird versucht, die Seitenverhältnisse "
297
+ "beizubehalten. Feste Breite und/oder Höhe kann zu <em>nicht so schönen</em> "
298
+ "schwarzen Balken führen."
299
+
300
+ #: php/settings.php:142
301
+ msgid "left"
302
+ msgstr "links"
303
+
304
+ #: php/settings.php:143
305
+ msgid "center"
306
+ msgstr "zentriert"
307
+
308
+ #: php/settings.php:144
309
+ msgid "right"
310
+ msgstr "rechts"
311
+
312
+ #: php/settings.php:157
313
+ msgid "Use featured image as video thumbnail"
314
+ msgstr "Artikelbild als video thumbnail nutzen"
315
+
316
+ #: php/settings.php:158
317
+ msgid "Loop videos"
318
+ msgstr "Videoschleife"
319
+
320
+ #: php/settings.php:179
321
+ msgid "Light Theme"
322
+ msgstr "Helles Design"
323
+
324
+ #: php/settings.php:180
325
+ msgid "Fullscreen Button"
326
+ msgstr "Vollbildschalter"
327
+
328
+ #: php/settings.php:188
329
+ msgid "Info"
330
+ msgstr "Info"
331
+
332
+ #: php/settings.php:190
333
+ msgid "Related Videos"
334
+ msgstr "Verwandte Videos"
335
+
336
+ #: php/settings.php:191
337
+ msgid "Javascript API"
338
+ msgstr ""
339
+
340
+ #: php/settings.php:192
341
+ msgid "White Progressbar"
342
+ msgstr "Weißer Fortschrittsbalken"
343
+
344
+ #: php/settings.php:194 php/settings.php:247
345
+ msgid "Logo"
346
+ msgstr "Logo"
347
+
348
+ #: php/settings.php:216
349
+ msgid "Portrait"
350
+ msgstr "Portrait"
351
+
352
+ #: php/settings.php:217
353
+ msgid "Title"
354
+ msgstr "Titel"
355
+
356
+ #: php/settings.php:218
357
+ msgid "Byline"
358
+ msgstr "Author"
359
+
360
+ #: php/settings.php:221
361
+ msgid "Color"
362
+ msgstr "Farbe"
363
+
364
+ #: php/settings.php:225
365
+ msgid "Vimeo Plus Videos might ignore these settings."
366
+ msgstr "Vimeo Plus Videos können diese Einstellungen ignorieren."
367
+
368
+ #: php/settings.php:248
369
+ msgid "Videoinfo"
370
+ msgstr "Videoinfo"
371
+
372
+ #: php/settings.php:249
373
+ msgid "Syndication Key"
374
+ msgstr "Syndication Schlüssel"
375
+
376
+ #: php/settings.php:253
377
+ msgid "Foreground"
378
+ msgstr "Vordergrund"
379
+
380
+ #: php/settings.php:258
381
+ msgid "Highlight"
382
+ msgstr "Hervorhebung"
383
+
384
+ #: php/settings.php:263
385
+ msgid "Background"
386
+ msgstr "Hintergrund"
387
+
388
+ #: php/settings.php:280
389
+ #, php-format
390
+ msgid ""
391
+ "If you have found a bug or are missing a specific video service, please "
392
+ "%slet me know%s in the support forum. Elsewise, if you like the plugin: "
393
+ "Please %srate it!%s"
394
+ msgstr ""
395
+ "Wenn du einen Fehler gefunden hast oder einen bestimmten Video-Anbieter "
396
+ "vermisst, %ssag bescheid%s; Ansonsten, wenn dir das Plugin gefällt, bitte "
397
+ "%sbewerte es!%s"
398
+
399
+ #: php/settings.php:365
400
+ msgid "Displays the video in its default size."
401
+ msgstr "Stellt das Video in seiner Standardgröße dar."
402
+
403
+ #: php/settings.php:369
404
+ msgid ""
405
+ "Displays the video with an width of 300 pixel. Height will be fitted to the "
406
+ "aspect ratio."
407
+ msgstr ""
408
+ "Stellt das Video mit einer breite von 300 Pixeln dar. Die Höhe wird "
409
+ "automatisch angepasst, so dass das Seitenverhältniss erhalten bleibt."
410
+
411
+ #: php/settings.php:373
412
+ msgid "Displays the video with an fixed width and height."
413
+ msgstr "Stellt das Video mit fester Breite und Höhe dar."
414
+
415
+ #: php/settings.php:387
416
+ #, php-format
417
+ msgid ""
418
+ "All parameters are optional. If %s the current post's id will be used. %s is "
419
+ "either a string keyword (thumbnail, medium, large or full) or a 2-item array "
420
+ "representing width and height in pixels, e.g. array(32,32)."
421
+ msgstr ""
422
+ "Alle Parameter sind optional. Wenn %s gilt, wird die ID des aktuellen "
423
+ "Beitrags genutzt. %s ist entweder ein String (thumbnail, medium, large oder "
424
+ "full) oder ein Array mit zwei Stellen (Breite und Höhe); Zum Beispiel "
425
+ "array(32,32)."
426
+
427
+ #: php/settings.php:390
428
+ #, php-format
429
+ msgid ""
430
+ "The functions are implemented corresponding to the original %sfunctions%s: "
431
+ "They are intended to be used and to act the same way. Take a look into the "
432
+ "WordPress Codex for further guidance:"
433
+ msgstr ""
434
+ "Die Funktionen sind nach den original %sFunktionen%s implementiert. Sie "
435
+ "sollten genauso genutzt werden können und sich genauso verhalten. Schau dir "
436
+ "für mehr Informationen den WordPress Codex an:"
437
+
438
+ #: php/settings.php:413 php/settings.php:436
439
+ msgid "PHP-Functions"
440
+ msgstr "PHP-Funktionen"
441
+
442
+ #~ msgid "Set Featured Video Fallback"
443
+ #~ msgstr "Beitragsvideo-Ersatz festlegen"
444
+
445
+ #~ msgid "Set featured video fallback"
446
+ #~ msgstr "Beitragsvideo Fallback festlegen"
447
+
448
+ #~ msgid "Fallback Video"
449
+ #~ msgstr "Fallback Video"
450
+
451
+ #~ msgid ""
452
+ #~ "The two input fields should contain the same video but in distinct "
453
+ #~ "formats."
454
+ #~ msgstr ""
455
+ #~ "Die zwei Eingabefelder sollen das gleiche Video in unterschiedlichen "
456
+ #~ "Formaten enthalten."
457
+
458
+ #~ msgid ""
459
+ #~ "To use local videos, copy the <code>File URL</code> from your %sMedia "
460
+ #~ "Library%s and paste it into the text field."
461
+ #~ msgstr ""
462
+ #~ "Um lokale Videos zu nutzen, kopiere die <code>Datei-URL</code> aus deiner "
463
+ #~ "%sMediathek%s und füge sie in das Textfeld ein."
464
+
465
+ #~ msgid ""
466
+ #~ "The second text field is intended to hold the URL to the same video in a "
467
+ #~ "different format. It will be used as fallback if the primary file can not "
468
+ #~ "be played."
469
+ #~ msgstr ""
470
+ #~ "Das zweite Textfeld ist für eine URL zu dem gleichen Video in einem "
471
+ #~ "anderen Videoformat gedacht. Dieses zweite Video wird dann als Fallback "
472
+ #~ "benutzt, falls das erste Video nicht kompatibel ist."
473
+
474
+ #~ msgid ""
475
+ #~ "WordPress by default does not support <code>webM</code>. The plugin "
476
+ #~ "activates it, but under some conditions this might not be enough. %sHere"
477
+ #~ "%s you can get more information on this."
478
+ #~ msgstr ""
479
+ #~ "Normalerweise unterstützt WordPress kein <code>webM</code>. Das Plugin "
480
+ #~ "aktiviert die unterstützung, aber manchmal reicht das noch nicht. %sHier"
481
+ #~ "%s gibt es mehr Informationen."
482
+
483
+ #~ msgid "Flash Fallback"
484
+ #~ msgstr "Flash Fallback"
485
+
486
+ #~ msgid ""
487
+ #~ "The video player, %sVIDEOJS%s, features an Adobe Flash fallback. All you "
488
+ #~ "need to do is provide an <code>mp4</code>-video."
489
+ #~ msgstr ""
490
+ #~ "Der Video Player, %sVIDEOJS%s, bietet einen Adobe Flash Fallback. Du "
491
+ #~ "musst einfach nur ein <code>mp4</code>-Video einbinden."
492
+
493
+ #~ msgid ""
494
+ #~ "YouTube, Vimeo and Dailymotion videos can autoplay when a single post/"
495
+ #~ "page is being viewed."
496
+ #~ msgstr ""
497
+ #~ "Wenn gesetzt, starten YouTube, Vimeo und Dailymotion Videos automatisch "
498
+ #~ "wenn sie auf der Seite eines einzelnen Beitrags angezeigt werden."
499
+
500
+ #~ msgid "Use CDN"
501
+ #~ msgstr "Nutze CDN"
502
+
503
+ #~ msgid "Include JS"
504
+ #~ msgstr "JS einbinden"
505
+
506
+ #~ msgid "Include CSS"
507
+ #~ msgstr "CSS einbinden"
508
+
509
+ #~ msgid ""
510
+ #~ "Disabling JS and/or CSS will break the local video player. Disable only "
511
+ #~ "when you want to replace VideoJS with a different script and know what "
512
+ #~ "you are doing."
513
+ #~ msgstr ""
514
+ #~ "JS und/oder CSS einbindung ist für die richtige Darstellung von lokalen "
515
+ #~ "Videos notwendig. Nutze diese funktionen nur wenn du VideoJS durch ein "
516
+ #~ "anderes Skript austauschen willst und weißt was du tust."
517
+
518
+ #~ msgid "Featured Video Plus was <strong>upgraded</strong>."
519
+ #~ msgstr "Featured Video Plus wurde <strong>aktualisiert</strong>."
520
+
521
+ #~ msgid ""
522
+ #~ "%s brings new options for YouTube and local videos, fixes a whole bunch "
523
+ #~ "of glitches and introduces a new PHP-function."
524
+ #~ msgstr ""
525
+ #~ "%s bringt neue Einstellungsmöglichkeiten für YouTube und lokale Videos, "
526
+ #~ "behebt einige Fehler und baut eine neue PHP-Funktion ein."
527
+
528
+ #~ msgid "If you like the plugin, please %srate it%s."
529
+ #~ msgstr "Wenn dir das Plugin gefällt, bitte %sbewerte es%s."
530
+
531
+ #~ msgid ""
532
+ #~ "%s <strong>ajax</strong>ifies the Featured Video box, introduces new "
533
+ #~ "options for YouTube and local videos and a new PHP-function."
534
+ #~ msgstr ""
535
+ #~ "In %s wurde die Featured Video box überarbeitet und unterstützt nun AJAX. "
536
+ #~ "Außerdem gibt es neue Optionen in den Medieneinstellungen, besonders für "
537
+ #~ "YouTube und lokale Videos."
538
+
539
+ #~ msgid ""
540
+ #~ "%s features a seamless <strong>WP3.5 Media Manager</strong> integration, "
541
+ #~ "an all new <strong>ajax</strong>ified metabox, time-links (#t=4m2s) for "
542
+ #~ "YouTube and Dailymotion, new PHP functions for developers and more."
543
+ #~ msgstr ""
544
+ #~ "%s integriert den <strong>WP3.5 Media Manager</strong> nahtlos, "
545
+ #~ "unterstützt nun AJAX, bietet time-links für YouTube und "
546
+ #~ "Dailymotion(#t=4m2s), einige neue Einstellungen und neue PHP Funktionen "
547
+ #~ "für Entwickler."
548
+
549
+ #~ msgid ""
550
+ #~ "%s features a seamless WP3.5 Media Manager integration, an ajaxified "
551
+ #~ "metabox, time-links (#t=4m2s) for YouTube and Dailymotion, more "
552
+ #~ "customization settings and internationalization."
553
+ #~ msgstr ""
554
+ #~ "%s integriert den <strong>WP3.5 Media Manager</strong> nahtlos, bringt "
555
+ #~ "AJAX, bietet time-links für YouTube und Dailymotion(#t=4m2s), mehr "
556
+ #~ "Einstellungen und Internationalisierung."
557
+
558
+ #~ msgid ""
559
+ #~ "%s features support for <strong>Local Videos</strong>, a seamless WP3.5 "
560
+ #~ "Media Manager integration, an ajaxified metabox, time-links (#t=4m2s) for "
561
+ #~ "YouTube and Dailymotion and many more customization settings."
562
+ #~ msgstr ""
563
+ #~ "%s integriert unterstützung für <strong>lokale Videos</strong>, den neuen "
564
+ #~ "WP3.5 Media Manager, eine überarbeitete AJAX-Metabox, time-links "
565
+ #~ "(#t=4m2s) für YouTube und Dailymotion und viele neue "
566
+ #~ "Einstellungsmöglichkeiten."
567
+
568
+ #~ msgid ""
569
+ #~ "Featured Video Plus is <strong>ready to use</strong>. There is a new box "
570
+ #~ "on post & page edit screens for you to add videos. <strong>Take a look at "
571
+ #~ "your new %sMedia Settings%s</strong>."
572
+ #~ msgstr ""
573
+ #~ "Featured Video Plus wurde <strong>aktiviert</strong>. Beim bearbeiten "
574
+ #~ "deiner Einträge gibt es eine neue Box um Artikelvideos hinzuzufügen. "
575
+ #~ "Außerdem: <strong>Schau in deine %sMedien Einstellungen%s</strong>."
576
+
577
+ #~ msgid "Replace Featured Images"
578
+ #~ msgstr "Beitragsbilder ersetzen"
579
+
580
+ #~ msgid ""
581
+ #~ "If a Featured Video is available it can be displayed in place of the "
582
+ #~ "Featured Image. Still, a Featured Image is required."
583
+ #~ msgstr ""
584
+ #~ "Wenn ein Artikelvideo vorhanden ist kann es anstelle des Artikelbildes "
585
+ #~ "angezeigt werden. Dafür muss trotzdem ein Artikelbild gesetzt sein!"
586
+
587
+ #~ msgid ""
588
+ #~ "The plugin logs it's version, the WordPress version and WordPress "
589
+ #~ "language for internal statistics. Those help for future plugin "
590
+ #~ "development."
591
+ #~ msgstr ""
592
+ #~ "Das Plugin speichert seine Version, die WordPress Version und WordPress "
593
+ #~ "Spracheinstellung für eigene Statistiken."
594
+
595
+ #~ msgid ""
596
+ #~ "No personal user information is being collected. Still, you can easily "
597
+ #~ "Opt-Out and have the data deleted:"
598
+ #~ msgstr ""
599
+ #~ "Es werden keine persönlichen Nutzerinformationen gespeichert. Wenn du "
600
+ #~ "willst kannst du dich abmelden und deine Daten werden gelöscht:"
601
+
602
+ #~ msgid "VIDEOJS Player Options"
603
+ #~ msgstr "VIDEOJS Player Optionen"
604
+
605
+ #~ msgid ""
606
+ #~ "%s features more customization settings, internationalization, better "
607
+ #~ "error handling and experimental LiveLeak integration."
608
+ #~ msgstr ""
609
+ #~ "%s integriert mehr Einstellungsmöglichkeiten, Internationalisierung, "
610
+ #~ "bessere Fehlerbehandlung und experimentelle LiveLeak Integration."
611
+
612
+ #~ msgid "Align"
613
+ #~ msgstr "Ausrichtung"
614
+
615
+ #~ msgid "Found a bug or <strong>missing a specific video service</strong>?"
616
+ #~ msgstr ""
617
+ #~ "Hast du einen Fehler gefunden oder <strong>fehlt dir eine bestimmte Video "
618
+ #~ "Plattform</strong>?"
619
+
620
+ #~ msgid "Do you like the plugin?"
621
+ #~ msgstr "Gefällt dir das Plugin?"
622
+
623
+ #~ msgid "rate it"
624
+ #~ msgstr "bewerte es"
625
+
626
+ #~ msgid ""
627
+ #~ "All parameters are optional. If %s the current post's id will be used."
628
+ #~ msgstr ""
629
+ #~ "Alle Parameter sind optional. Wenn %s gilt, wird die ID vom aktuellen "
630
+ #~ "Eintrag verwendet."
631
+
632
+ #~ msgid ""
633
+ #~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
634
+ #~ "strong> features more customization settings and a more dynamic admin "
635
+ #~ "interface."
636
+ #~ msgstr ""
637
+ #~ "Version %s integriert mehr Einstellungsmöglichkeiten, "
638
+ #~ "Internationalisierung, besseres Fehlerbehandlung und LiveLeak Videos "
639
+ #~ "(experimentell)."
640
+
641
+ #~ msgid ""
642
+ #~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
643
+ #~ "strong> now supports <strong>local videos</strong> and many more "
644
+ #~ "customization settings."
645
+ #~ msgstr ""
646
+ #~ "Version %s integriert <strong>lokale Videos</strong>, LiveLeak Videos "
647
+ #~ "(experimentell), mehr Einstellungsmöglichkeiten, Internationalisierung "
648
+ #~ "und besseres Fehlerbehandlung."
649
+
650
+ #~ msgid "YouTube, Vimeo, Dailymotion; Local Media"
651
+ #~ msgstr "Video Formate"
lng/featured-video-plus-es_ES.po CHANGED
@@ -1,667 +1,667 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: featured-video-plus 1.3 de_DE\n"
4
- "POT-Creation-Date: 2013-04-30 00:01+0100\n"
5
- "PO-Revision-Date: 2013-12-19 13:02+0100\n"
6
- "Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
7
- "Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
8
- "Language: de_DE\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.3\n"
13
- "X-Poedit-KeywordsList: __;_e\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: php\n"
17
-
18
- #: php/backend.php:32
19
- msgid "Video URL"
20
- msgstr "URL del vídeo"
21
-
22
- #: php/backend.php:33
23
- msgid "Fallback: same video, different format"
24
- msgstr "Fallback: Mismo video, diferente formato"
25
-
26
- #: php/backend.php:92 php/backend.php:707 php/backend.php:714
27
- #: php/backend.php:731 php/backend.php:733
28
- msgid "Featured Video"
29
- msgstr "Video destacado"
30
-
31
- #: php/backend.php:123
32
- msgid "Outdated WordPress Version"
33
- msgstr "Versión de WordPress fuera de fecha"
34
-
35
- #: php/backend.php:123
36
- #, php-format
37
- msgid ""
38
- "There is WordPress 3.5 out there! The plugin supports older versions way "
39
- "back to 3.1 - but %s is defenitly to old!"
40
- msgstr ""
41
- "¡Ya está afuera el WordPress 3.5! El plugin soporta versiones anteriores "
42
- "hasta el 3.1 - ¡pero %s es definitivamente muy viejo!"
43
-
44
- #: php/backend.php:134
45
- msgid "Set Featured Video"
46
- msgstr "Asignar Video Destacado"
47
-
48
- #: php/backend.php:134
49
- msgid "Set featured video"
50
- msgstr "Asignar video destacado"
51
-
52
- #: php/backend.php:143
53
- msgid "Set Featured Video Fallback"
54
- msgstr "Asignar Fallback de Video Destacado "
55
-
56
- #: php/backend.php:143
57
- msgid "Set featured video fallback"
58
- msgstr "Asignar fallback de video destacado "
59
-
60
- #: php/backend.php:152 php/backend.php:659
61
- msgid "Supported Video Formats"
62
- msgstr "Formatos de Video Soportados"
63
-
64
- #: php/backend.php:152
65
- msgid "or"
66
- msgstr "o"
67
-
68
- #: php/backend.php:152 php/backend.php:658
69
- msgid "More information"
70
- msgstr "Más información"
71
-
72
- #: php/backend.php:157
73
- msgid "Fallback Video"
74
- msgstr "Video de Fallback"
75
-
76
- #: php/backend.php:157
77
- msgid ""
78
- "The two input fields should contain the same video but in distinct formats."
79
- msgstr ""
80
- "Los dos campos de entrada deben contener el mismo video pero en formatos "
81
- "diferentes."
82
-
83
- #: php/backend.php:164
84
- msgid "Hint"
85
- msgstr "Pista"
86
-
87
- #: php/backend.php:164
88
- #, php-format
89
- msgid "Take a look into the %sContextual Help%s."
90
- msgstr "Eche un vistazo a la %sAyuda Contextual%s."
91
-
92
- #: php/backend.php:170 php/settings.php:401
93
- msgid "Featured Image"
94
- msgstr "Foto principal"
95
-
96
- #: php/backend.php:170
97
- msgid ""
98
- "For automatically displaying the Featured Video a Featured Image is required."
99
- msgstr ""
100
- "Para mostrar de manera automática el Video Principal una Imagen Principal es "
101
- "requerida."
102
-
103
- #: php/backend.php:175
104
- msgid "Set as Featured Image"
105
- msgstr "Establecer como imagen Principal"
106
-
107
- #: php/backend.php:179
108
- msgid "The current theme does not support Featured Images"
109
- msgstr "El tema actual no soporta Imágenes Destacadas"
110
-
111
- #: php/backend.php:179
112
- #, php-format
113
- msgid ""
114
- "To display Featured Videos you need to use the <code>Shortcode</code> or "
115
- "<code>PHP functions</code>. To hide this notice deactivate &quot;<em>Replace "
116
- "Featured Images</em>&quot; in the %sMedia Settings%s."
117
- msgstr ""
118
- "Para mostrar Videos Destacados usted necesita usar el <code>Código corto</"
119
- "code> o las <code>funciones PHP</code>. Para ocultar este mensaje desactive "
120
- "&quot;<em>Reemplazar Imágenes Destacadas</em>&quot; en %sAjustes de Media%s."
121
-
122
- #: php/backend.php:653
123
- #, php-format
124
- msgid ""
125
- "To use local videos, copy the <code>Link To Media File</code> from your "
126
- "%sMedia Library%s and paste it into the text field."
127
- msgstr ""
128
- "Para usar los videos locales, copie el <code>Link To Media File</code> desde "
129
- "su %sMedia Library%s y péguelo en el campo de texto."
130
-
131
- #: php/backend.php:654
132
- #, php-format
133
- msgid ""
134
- "To use local videos, copy the <code>File URL</code> from your %sMedia Library"
135
- "%s and paste it into the text field."
136
- msgstr ""
137
- "Para usar los videos locales, copie lal <code>File URL</code> de su %sMedia "
138
- "Library%s y péguelo en el campo de texto."
139
-
140
- #: php/backend.php:658
141
- msgid ""
142
- "The second text field is intended to hold the URL to the same video in a "
143
- "different format. It will be used as fallback if the primary file can not be "
144
- "played."
145
- msgstr ""
146
- "El segundo campo de texto está pensado para tener la URL para el mismo video "
147
- "en un formato diferente. Será usado como fallback si el archivo primario no "
148
- "puede ser reproducido."
149
-
150
- #: php/backend.php:661
151
- msgid "Converting your videos"
152
- msgstr "Convirtiendo sus videos"
153
-
154
- #: php/backend.php:662
155
- #, php-format
156
- msgid ""
157
- "Take a look at the %sMiro Video Converter%s. It is open source, lightweight "
158
- "and compatible with Windows, Mac and Linux."
159
- msgstr ""
160
- "Échele un vistazo al %sMiro Video Converter%s. Es de código abierto, de poco "
161
- "tamaño y compatible con Windows, Mac y Linux."
162
-
163
- #: php/backend.php:663
164
- msgid "Fixing upload errors"
165
- msgstr "Arreglando errores de subida"
166
-
167
- #: php/backend.php:665
168
- #, php-format
169
- msgid ""
170
- "Read %sthis%s on how to increase the <strong>maximum file upload size</"
171
- "strong>."
172
- msgstr ""
173
- "Lea %sesto%s sobre la forma de aumentar <strong>el tamaño máximo de los "
174
- "archivos subidos</strong>."
175
-
176
- #: php/backend.php:666
177
- #, php-format
178
- msgid ""
179
- "WordPress by default does not support <code>webM</code>. The plugin "
180
- "activates it, but under some conditions this might not be enough. %sHere%s "
181
- "you can get more information on this."
182
- msgstr ""
183
- "WordPress en los ajustes por defecto no soporta <code>webM</code>. El plugin "
184
- "lo activa, pero en algunas condiciones puede no ser suficiente. %sAquí%s "
185
- "usted puede ver más al respecto."
186
-
187
- #: php/backend.php:668
188
- msgid "Flash Fallback"
189
- msgstr "Fallback del Flash "
190
-
191
- #: php/backend.php:669
192
- #, php-format
193
- msgid ""
194
- "The video player, %sVIDEOJS%s, features an Adobe Flash fallback. All you "
195
- "need to do is provide an <code>mp4</code>-video."
196
- msgstr ""
197
- "El reproductor de video, %sVIDEOJS%s, tiene un fallback de Adobe Flash. Todo "
198
- "lo que usted necesita es proveer un video <code>mp4</code>."
199
-
200
- #: php/backend.php:673
201
- msgid ""
202
- "These are some of the tested URL formats. Everything in bold is required, "
203
- "everything in brackets is optional."
204
- msgstr ""
205
- "Hay algunos de los formatos de URL probados. Todo lo que está en negrita es "
206
- "obligatorio, todo lo que está en corchete es opcional."
207
-
208
- #: php/backend.php:707 php/backend.php:731
209
- msgid "Local Media"
210
- msgstr "Media local"
211
-
212
- #: php/backend.php:714 php/backend.php:733
213
- msgid "Valid URLs"
214
- msgstr "URLs válidos"
215
-
216
- #: php/settings.php:21
217
- msgid "Featured Videos"
218
- msgstr "Videos Principales"
219
-
220
- #: php/settings.php:23
221
- msgid "Usage"
222
- msgstr "Uso"
223
-
224
- #: php/settings.php:24
225
- msgid "Autoplay"
226
- msgstr "Autoplay"
227
-
228
- #: php/settings.php:25
229
- msgid "Video Sizing"
230
- msgstr "Tamaño del video"
231
-
232
- #: php/settings.php:26
233
- msgid "Video Align"
234
- msgstr "Alineación de Video"
235
-
236
- #: php/settings.php:27
237
- msgid "Local Video Options"
238
- msgstr "Opciones de video local"
239
-
240
- #: php/settings.php:28
241
- msgid "YouTube Options"
242
- msgstr "Opciones de YouTube"
243
-
244
- #: php/settings.php:29
245
- msgid "Vimeo Options"
246
- msgstr "Opciones de Video"
247
-
248
- #: php/settings.php:30
249
- msgid "Dailymotion Options"
250
- msgstr "Opciones de movimiento diario"
251
-
252
- #: php/settings.php:31
253
- msgid "Support"
254
- msgstr "Soporte"
255
-
256
- #: php/settings.php:45
257
- #, php-format
258
- msgid ""
259
- "To display your featured videos you can either make use of the automatic "
260
- "replacement, use the %s or manually edit your theme's source files to make "
261
- "use of the plugins PHP-functions."
262
- msgstr ""
263
- "Para visualizar tus videos destacados puede hacer uso de la sustitución "
264
- "automática, utilice el %s o edite manualmente los archivos de origen de su "
265
- "tema para hacer uso de los plugins de funciones de PHP."
266
-
267
- #: php/settings.php:46
268
- #, php-format
269
- msgid ""
270
- "For more information about Shortcode and PHP functions see the %sContextual "
271
- "Help%s."
272
- msgstr ""
273
- "Para más información acerca del código corto y de las funciones de PHP vea "
274
- "la %s Ayuda Contextual%s."
275
-
276
- #: php/settings.php:62
277
- msgid "Replace featured image automatically if possible"
278
- msgstr "Reemplazar la imagen principal automáticamente si es posible"
279
-
280
- #: php/settings.php:62 php/settings.php:89 php/settings.php:112
281
- #: php/settings.php:122 php/settings.php:143
282
- msgid "default"
283
- msgstr "por defecto"
284
-
285
- #: php/settings.php:63
286
- msgid "Open video overlay when featured image is clicked. Define width below!"
287
- msgstr ""
288
- "Abrir la superposición de video cuando a la imagen destacada se le hace "
289
- "clic. ¡Defina el ancho debajo!"
290
-
291
- #: php/settings.php:64
292
- msgid "Replace featured image with video on click and auto play if possible"
293
- msgstr ""
294
- "Reemplazar la imagen destacada con el video al hacer clic y con auto "
295
- "ejecución si es posible"
296
-
297
- #: php/settings.php:65
298
- msgid "None of the above: Manually use PHP-functions or shortcodes"
299
- msgstr ""
300
- "Ninguna de las anteriores: Utilice manualmente las funciones de PHP o los "
301
- "códigos cortos"
302
-
303
- #: php/settings.php:66
304
- #, php-format
305
- msgid ""
306
- "The first three options require your theme to make use of WordPress' "
307
- "%sfeatured image%s capabilities."
308
- msgstr ""
309
- "Las tres primeras opciones requieren de su tema para hacer uso de las "
310
- "capacidades de '%simagen estacada%s de WordPress."
311
-
312
- #: php/settings.php:71
313
- msgid "The current theme does not support featured images"
314
- msgstr "El tema actual no soporta imágenes principales"
315
-
316
- #: php/settings.php:71
317
- msgid ""
318
- "To display Featured Videos you need to use the <code>Shortcode</code> or "
319
- "<code>PHP functions</code>."
320
- msgstr ""
321
- "Para visualizar Videos Destacados usted necesita usar el <code>Código corto "
322
- "</code> o las <code> funciones de PHP </code>."
323
-
324
- #: php/settings.php:87
325
- msgid "yes"
326
- msgstr "sí"
327
-
328
- #: php/settings.php:89
329
- msgid "no"
330
- msgstr "no"
331
-
332
- #: php/settings.php:90
333
- msgid ""
334
- "YouTube, Vimeo and Dailymotion videos can autoplay when a single post/page "
335
- "is being viewed."
336
- msgstr ""
337
- "Los videos de YouTube, Vimeo y Dailymotion se reproducirán automáticamente "
338
- "cuando se esté viendo un post/página simple."
339
-
340
- #: php/settings.php:109
341
- msgid "Width"
342
- msgstr "Ancho"
343
-
344
- #: php/settings.php:119
345
- msgid "Height"
346
- msgstr "Largo"
347
-
348
- #: php/settings.php:128
349
- msgid ""
350
- "When using <code>auto</code> the video will be adjusted to fit it's parent "
351
- "element while sticking to it's ratio. Using a <code>fixed</code> height and "
352
- "width might result in <em>not so pretty</em> black bars."
353
- msgstr ""
354
- "Cuando se usa <code>auto</code> el video será ajustado para encajar su "
355
- "elemento padre mientras se mantiene con su radio. Usar un largo y ancho "
356
- "<code>fijo</code> puede resultar en bandas negras <em>no muy bonitas</em>."
357
-
358
- #: php/settings.php:142
359
- msgid "left"
360
- msgstr "izquierda"
361
-
362
- #: php/settings.php:143
363
- msgid "center"
364
- msgstr "centro"
365
-
366
- #: php/settings.php:144
367
- msgid "right"
368
- msgstr "derecha"
369
-
370
- #: php/settings.php:163
371
- msgid "Use CDN"
372
- msgstr "Utilice CDN"
373
-
374
- #: php/settings.php:164
375
- msgid "Include JS"
376
- msgstr "Incluir JS"
377
-
378
- #: php/settings.php:165
379
- msgid "Include CSS"
380
- msgstr "Incluir CSS"
381
-
382
- #: php/settings.php:166
383
- msgid ""
384
- "Disabling JS and/or CSS will break the local video player. Disable only when "
385
- "you want to replace VideoJS with a different script and know what you are "
386
- "doing."
387
- msgstr ""
388
- "Deshabilitar JS y CSS presentará problemas en su reproductor de video. "
389
- "Deshabilitar sólo cuando se desea reemplazar VideoJS con un script diferente "
390
- "y se sabe lo que se está haciendo."
391
-
392
- #: php/settings.php:167
393
- msgid "Use featured image as video thumbnail"
394
- msgstr "Utilice la imagen en miniatura en el video"
395
-
396
- #: php/settings.php:188
397
- msgid "Light Theme"
398
- msgstr "Tema Light"
399
-
400
- #: php/settings.php:189
401
- msgid "Fullscreen Button"
402
- msgstr "Botón de Pantalla Completa"
403
-
404
- #: php/settings.php:197
405
- msgid "Info"
406
- msgstr "Información"
407
-
408
- #: php/settings.php:199
409
- msgid "Related Videos"
410
- msgstr "Videos relacionados"
411
-
412
- #: php/settings.php:200
413
- msgid "Javascript API"
414
- msgstr "API de Javascript "
415
-
416
- #: php/settings.php:201
417
- msgid "White Progressbar"
418
- msgstr "Barra de Progreso Blanca"
419
-
420
- #: php/settings.php:203 php/settings.php:256
421
- msgid "Logo"
422
- msgstr "Logo"
423
-
424
- #: php/settings.php:225
425
- msgid "Portrait"
426
- msgstr "Retrato"
427
-
428
- #: php/settings.php:226
429
- msgid "Title"
430
- msgstr "Título"
431
-
432
- #: php/settings.php:227
433
- msgid "Byline"
434
- msgstr "Esquinado"
435
-
436
- #: php/settings.php:230
437
- msgid "Color"
438
- msgstr "Color"
439
-
440
- #: php/settings.php:234
441
- msgid "Vimeo Plus Videos might ignore these settings."
442
- msgstr "Vimeo Plus Videos puede ignorar estos ajustes."
443
-
444
- #: php/settings.php:257
445
- msgid "Videoinfo"
446
- msgstr "Información del video"
447
-
448
- #: php/settings.php:258
449
- msgid "Syndication Key"
450
- msgstr "Llave de Sindicación"
451
-
452
- #: php/settings.php:262
453
- msgid "Foreground"
454
- msgstr "Primer Plano"
455
-
456
- #: php/settings.php:267
457
- msgid "Highlight"
458
- msgstr "Destacar"
459
-
460
- #: php/settings.php:272
461
- msgid "Background"
462
- msgstr "Fondo"
463
-
464
- #: php/settings.php:289
465
- #, php-format
466
- msgid ""
467
- "If you have found a bug or are missing a specific video service, please "
468
- "%slet me know%s in the support forum. Elsewise, if you like the plugin: "
469
- "Please %srate it!%s"
470
- msgstr ""
471
- "Si usted a encontrado algún error o le falta un servicio de vídeo "
472
- "específico, por favor %shágamelo saber%s en el foro de soporte. Dígame si el "
473
- "plugin le gusta: Por favor %sevalúelo%s"
474
-
475
- #: php/settings.php:376
476
- msgid "Displays the video in its default size."
477
- msgstr "Visualizar el video en su tamaño por defecto."
478
-
479
- #: php/settings.php:380
480
- msgid ""
481
- "Displays the video with an width of 300 pixel. Height will be fitted to the "
482
- "aspect ratio."
483
- msgstr ""
484
- "Visualizar el video con un ancho de 300 pixeles. El largo puede ser definido "
485
- "en el aspect ratio."
486
-
487
- #: php/settings.php:384
488
- msgid "Displays the video with an fixed width and height."
489
- msgstr "Visualizar el video con un ancho y una altura fijos."
490
-
491
- #: php/settings.php:398
492
- #, php-format
493
- msgid ""
494
- "All parameters are optional. If %s the current post's id will be used. %s is "
495
- "either a string keyword (thumbnail, medium, large or full) or a 2-item array "
496
- "representing width and height in pixels, e.g. array(32,32)."
497
- msgstr ""
498
- "Todos los parámetros son opcionales. Si%s se utiliza el id del mensaje "
499
- "actual. %s o es una palabra clave de cadena (miniatura, medio, largo o "
500
- "completo) o una matriz de 2 elementos que representa el ancho y la altura en "
501
- "píxeles, e.j. array(32,32)."
502
-
503
- #: php/settings.php:401
504
- #, php-format
505
- msgid ""
506
- "The functions are implemented corresponding to the original %sfunctions%s: "
507
- "They are intended to be used and to act the same way. Take a look into the "
508
- "WordPress Codex for further guidance:"
509
- msgstr ""
510
- "Las funciones están implementadas correspondiendo con las %sfunciones%s "
511
- "originales: Ellas están destinadas a ser utilizadas y actuar de la misma "
512
- "manera. Eche un vistazo en el Codex de WordPress para obtener más ayuda:"
513
-
514
- #: php/settings.php:424 php/settings.php:447
515
- msgid "PHP-Functions"
516
- msgstr "Funciones de PHP"
517
-
518
- #: php/upgrade.php:164 php/upgrade.php:175 php/upgrade.php:186
519
- #: php/upgrade.php:197 php/upgrade.php:208
520
- msgid "Featured Video Plus was <strong>upgraded</strong>."
521
- msgstr "Featured Video Plus fue <strong>actualizado</strong>."
522
-
523
- #: php/upgrade.php:164
524
- #, php-format
525
- msgid ""
526
- "%s brings new options for YouTube and local videos, fixes a whole bunch of "
527
- "glitches and introduces a new PHP-function."
528
- msgstr ""
529
- "%s trae nuevas opciones para YouTube y vídeos locales, corrige un montón de "
530
- "problemas técnicos e introduce una nueva función de PHP."
531
-
532
- #: php/upgrade.php:164 php/upgrade.php:175 php/upgrade.php:186
533
- #: php/upgrade.php:197 php/upgrade.php:208
534
- #, php-format
535
- msgid "If you like the plugin, please %srate it%s."
536
- msgstr "Si le gusta este plugin, por favor %sevalúelo%s."
537
-
538
- #: php/upgrade.php:175
539
- #, php-format
540
- msgid ""
541
- "%s <strong>ajax</strong>ifies the Featured Video box, introduces new options "
542
- "for YouTube and local videos and a new PHP-function."
543
- msgstr ""
544
- "%s <strong>ajax</strong>ifies el cuadro de Video Principal, introduce nuevas "
545
- "opciones para YouTube y videos locales y una nueva función PHP."
546
-
547
- #: php/upgrade.php:186
548
- #, php-format
549
- msgid ""
550
- "%s features a seamless <strong>WP3.5 Media Manager</strong> integration, an "
551
- "all new <strong>ajax</strong>ified metabox, time-links (#t=4m2s) for YouTube "
552
- "and Dailymotion, new PHP functions for developers and more."
553
- msgstr ""
554
- "%s tiene una integración transparente con <strong>WP3.5 Media Manager</"
555
- "strong>, y una nueva meta caja <strong>ajax</strong>ified, enlaces-tiempo "
556
- "(#t=4m2s) para YouTube y Dailymotion, nuevas funciones PHP para "
557
- "desarrolladores y más."
558
-
559
- #: php/upgrade.php:197
560
- #, php-format
561
- msgid ""
562
- "%s features a seamless WP3.5 Media Manager integration, an ajaxified "
563
- "metabox, time-links (#t=4m2s) for YouTube and Dailymotion, more "
564
- "customization settings and internationalization."
565
- msgstr ""
566
- "%s tiene una integración transparente con WP3.5 Media Manager, y una nueva "
567
- "meta caja <strong>ajax</strong>ified, enlaces-tiempo (#t=4m2s) para YouTube "
568
- "y Dailymotion, más ajustes de personalización e internacionalización."
569
-
570
- #: php/upgrade.php:208
571
- #, php-format
572
- msgid ""
573
- "%s features support for <strong>Local Videos</strong>, a seamless WP3.5 "
574
- "Media Manager integration, an ajaxified metabox, time-links (#t=4m2s) for "
575
- "YouTube and Dailymotion and many more customization settings."
576
- msgstr ""
577
- "%s incluye soporte para <strong>Videos Locales</strong>, una perfecta "
578
- "integración con WP3.5 Media Manager, una meta caja ajaxified, enlaces-tiempo "
579
- "(#t=4m2s) para YouTube y Dailymotion, y muchos más ajustes de "
580
- "personalización."
581
-
582
- #: php/upgrade.php:220
583
- #, php-format
584
- msgid ""
585
- "Featured Video Plus is <strong>ready to use</strong>. There is a new box on "
586
- "post & page edit screens for you to add videos. <strong>Take a look at your "
587
- "new %sMedia Settings%s</strong>."
588
- msgstr ""
589
- "Featured Video Plus está <strong>listo para usarse</strong>. Hay un nuevo "
590
- "cuadro en sus pantallas de edición de posts y páginas para adicionar videos. "
591
- "<strong>Mire su nuevos %sAjustes de Media%s</strong>."
592
-
593
- #~ msgid "Replace Featured Images"
594
- #~ msgstr "Beitragsbilder ersetzen"
595
-
596
- #~ msgid ""
597
- #~ "If a Featured Video is available it can be displayed in place of the "
598
- #~ "Featured Image. Still, a Featured Image is required."
599
- #~ msgstr ""
600
- #~ "Wenn ein Artikelvideo vorhanden ist kann es anstelle des Artikelbildes "
601
- #~ "angezeigt werden. Dafür muss trotzdem ein Artikelbild gesetzt sein!"
602
-
603
- #~ msgid ""
604
- #~ "The plugin logs it's version, the WordPress version and WordPress "
605
- #~ "language for internal statistics. Those help for future plugin "
606
- #~ "development."
607
- #~ msgstr ""
608
- #~ "Das Plugin speichert seine Version, die WordPress Version und WordPress "
609
- #~ "Spracheinstellung für eigene Statistiken."
610
-
611
- #~ msgid ""
612
- #~ "No personal user information is being collected. Still, you can easily "
613
- #~ "Opt-Out and have the data deleted:"
614
- #~ msgstr ""
615
- #~ "Es werden keine persönlichen Nutzerinformationen gespeichert. Wenn du "
616
- #~ "willst kannst du dich abmelden und deine Daten werden gelöscht:"
617
-
618
- #~ msgid "VIDEOJS Player Options"
619
- #~ msgstr "VIDEOJS Player Optionen"
620
-
621
- #~ msgid ""
622
- #~ "%s features more customization settings, internationalization, better "
623
- #~ "error handling and experimental LiveLeak integration."
624
- #~ msgstr ""
625
- #~ "%s integriert mehr Einstellungsmöglichkeiten, Internationalisierung, "
626
- #~ "bessere Fehlerbehandlung und experimentelle LiveLeak Integration."
627
-
628
- #~ msgid "Align"
629
- #~ msgstr "Ausrichtung"
630
-
631
- #~ msgid "Found a bug or <strong>missing a specific video service</strong>?"
632
- #~ msgstr ""
633
- #~ "Hast du einen Fehler gefunden oder <strong>fehlt dir eine bestimmte Video "
634
- #~ "Plattform</strong>?"
635
-
636
- #~ msgid "Do you like the plugin?"
637
- #~ msgstr "Gefällt dir das Plugin?"
638
-
639
- #~ msgid "rate it"
640
- #~ msgstr "bewerte es"
641
-
642
- #~ msgid ""
643
- #~ "All parameters are optional. If %s the current post's id will be used."
644
- #~ msgstr ""
645
- #~ "Alle Parameter sind optional. Wenn %s gilt, wird die ID vom aktuellen "
646
- #~ "Eintrag verwendet."
647
-
648
- #~ msgid ""
649
- #~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
650
- #~ "strong> features more customization settings and a more dynamic admin "
651
- #~ "interface."
652
- #~ msgstr ""
653
- #~ "Version %s integriert mehr Einstellungsmöglichkeiten, "
654
- #~ "Internationalisierung, besseres Fehlerbehandlung und LiveLeak Videos "
655
- #~ "(experimentell)."
656
-
657
- #~ msgid ""
658
- #~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
659
- #~ "strong> now supports <strong>local videos</strong> and many more "
660
- #~ "customization settings."
661
- #~ msgstr ""
662
- #~ "Version %s integriert <strong>lokale Videos</strong>, LiveLeak Videos "
663
- #~ "(experimentell), mehr Einstellungsmöglichkeiten, Internationalisierung "
664
- #~ "und besseres Fehlerbehandlung."
665
-
666
- #~ msgid "YouTube, Vimeo, Dailymotion; Local Media"
667
- #~ msgstr "Video Formate"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: featured-video-plus 1.3 de_DE\n"
4
+ "POT-Creation-Date: 2013-04-30 00:01+0100\n"
5
+ "PO-Revision-Date: 2013-12-19 13:02+0100\n"
6
+ "Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
7
+ "Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
8
+ "Language: de_DE\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.3\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-SearchPath-0: php\n"
17
+
18
+ #: php/backend.php:32
19
+ msgid "Video URL"
20
+ msgstr "URL del vídeo"
21
+
22
+ #: php/backend.php:33
23
+ msgid "Fallback: same video, different format"
24
+ msgstr "Fallback: Mismo video, diferente formato"
25
+
26
+ #: php/backend.php:92 php/backend.php:707 php/backend.php:714
27
+ #: php/backend.php:731 php/backend.php:733
28
+ msgid "Featured Video"
29
+ msgstr "Video destacado"
30
+
31
+ #: php/backend.php:123
32
+ msgid "Outdated WordPress Version"
33
+ msgstr "Versión de WordPress fuera de fecha"
34
+
35
+ #: php/backend.php:123
36
+ #, php-format
37
+ msgid ""
38
+ "There is WordPress 3.5 out there! The plugin supports older versions way "
39
+ "back to 3.1 - but %s is defenitly to old!"
40
+ msgstr ""
41
+ "¡Ya está afuera el WordPress 3.5! El plugin soporta versiones anteriores "
42
+ "hasta el 3.1 - ¡pero %s es definitivamente muy viejo!"
43
+
44
+ #: php/backend.php:134
45
+ msgid "Set Featured Video"
46
+ msgstr "Asignar Video Destacado"
47
+
48
+ #: php/backend.php:134
49
+ msgid "Set featured video"
50
+ msgstr "Asignar video destacado"
51
+
52
+ #: php/backend.php:143
53
+ msgid "Set Featured Video Fallback"
54
+ msgstr "Asignar Fallback de Video Destacado "
55
+
56
+ #: php/backend.php:143
57
+ msgid "Set featured video fallback"
58
+ msgstr "Asignar fallback de video destacado "
59
+
60
+ #: php/backend.php:152 php/backend.php:659
61
+ msgid "Supported Video Formats"
62
+ msgstr "Formatos de Video Soportados"
63
+
64
+ #: php/backend.php:152
65
+ msgid "or"
66
+ msgstr "o"
67
+
68
+ #: php/backend.php:152 php/backend.php:658
69
+ msgid "More information"
70
+ msgstr "Más información"
71
+
72
+ #: php/backend.php:157
73
+ msgid "Fallback Video"
74
+ msgstr "Video de Fallback"
75
+
76
+ #: php/backend.php:157
77
+ msgid ""
78
+ "The two input fields should contain the same video but in distinct formats."
79
+ msgstr ""
80
+ "Los dos campos de entrada deben contener el mismo video pero en formatos "
81
+ "diferentes."
82
+
83
+ #: php/backend.php:164
84
+ msgid "Hint"
85
+ msgstr "Pista"
86
+
87
+ #: php/backend.php:164
88
+ #, php-format
89
+ msgid "Take a look into the %sContextual Help%s."
90
+ msgstr "Eche un vistazo a la %sAyuda Contextual%s."
91
+
92
+ #: php/backend.php:170 php/settings.php:401
93
+ msgid "Featured Image"
94
+ msgstr "Foto principal"
95
+
96
+ #: php/backend.php:170
97
+ msgid ""
98
+ "For automatically displaying the Featured Video a Featured Image is required."
99
+ msgstr ""
100
+ "Para mostrar de manera automática el Video Principal una Imagen Principal es "
101
+ "requerida."
102
+
103
+ #: php/backend.php:175
104
+ msgid "Set as Featured Image"
105
+ msgstr "Establecer como imagen Principal"
106
+
107
+ #: php/backend.php:179
108
+ msgid "The current theme does not support Featured Images"
109
+ msgstr "El tema actual no soporta Imágenes Destacadas"
110
+
111
+ #: php/backend.php:179
112
+ #, php-format
113
+ msgid ""
114
+ "To display Featured Videos you need to use the <code>Shortcode</code> or "
115
+ "<code>PHP functions</code>. To hide this notice deactivate &quot;<em>Replace "
116
+ "Featured Images</em>&quot; in the %sMedia Settings%s."
117
+ msgstr ""
118
+ "Para mostrar Videos Destacados usted necesita usar el <code>Código corto</"
119
+ "code> o las <code>funciones PHP</code>. Para ocultar este mensaje desactive "
120
+ "&quot;<em>Reemplazar Imágenes Destacadas</em>&quot; en %sAjustes de Media%s."
121
+
122
+ #: php/backend.php:653
123
+ #, php-format
124
+ msgid ""
125
+ "To use local videos, copy the <code>Link To Media File</code> from your "
126
+ "%sMedia Library%s and paste it into the text field."
127
+ msgstr ""
128
+ "Para usar los videos locales, copie el <code>Link To Media File</code> desde "
129
+ "su %sMedia Library%s y péguelo en el campo de texto."
130
+
131
+ #: php/backend.php:654
132
+ #, php-format
133
+ msgid ""
134
+ "To use local videos, copy the <code>File URL</code> from your %sMedia Library"
135
+ "%s and paste it into the text field."
136
+ msgstr ""
137
+ "Para usar los videos locales, copie lal <code>File URL</code> de su %sMedia "
138
+ "Library%s y péguelo en el campo de texto."
139
+
140
+ #: php/backend.php:658
141
+ msgid ""
142
+ "The second text field is intended to hold the URL to the same video in a "
143
+ "different format. It will be used as fallback if the primary file can not be "
144
+ "played."
145
+ msgstr ""
146
+ "El segundo campo de texto está pensado para tener la URL para el mismo video "
147
+ "en un formato diferente. Será usado como fallback si el archivo primario no "
148
+ "puede ser reproducido."
149
+
150
+ #: php/backend.php:661
151
+ msgid "Converting your videos"
152
+ msgstr "Convirtiendo sus videos"
153
+
154
+ #: php/backend.php:662
155
+ #, php-format
156
+ msgid ""
157
+ "Take a look at the %sMiro Video Converter%s. It is open source, lightweight "
158
+ "and compatible with Windows, Mac and Linux."
159
+ msgstr ""
160
+ "Échele un vistazo al %sMiro Video Converter%s. Es de código abierto, de poco "
161
+ "tamaño y compatible con Windows, Mac y Linux."
162
+
163
+ #: php/backend.php:663
164
+ msgid "Fixing upload errors"
165
+ msgstr "Arreglando errores de subida"
166
+
167
+ #: php/backend.php:665
168
+ #, php-format
169
+ msgid ""
170
+ "Read %sthis%s on how to increase the <strong>maximum file upload size</"
171
+ "strong>."
172
+ msgstr ""
173
+ "Lea %sesto%s sobre la forma de aumentar <strong>el tamaño máximo de los "
174
+ "archivos subidos</strong>."
175
+
176
+ #: php/backend.php:666
177
+ #, php-format
178
+ msgid ""
179
+ "WordPress by default does not support <code>webM</code>. The plugin "
180
+ "activates it, but under some conditions this might not be enough. %sHere%s "
181
+ "you can get more information on this."
182
+ msgstr ""
183
+ "WordPress en los ajustes por defecto no soporta <code>webM</code>. El plugin "
184
+ "lo activa, pero en algunas condiciones puede no ser suficiente. %sAquí%s "
185
+ "usted puede ver más al respecto."
186
+
187
+ #: php/backend.php:668
188
+ msgid "Flash Fallback"
189
+ msgstr "Fallback del Flash "
190
+
191
+ #: php/backend.php:669
192
+ #, php-format
193
+ msgid ""
194
+ "The video player, %sVIDEOJS%s, features an Adobe Flash fallback. All you "
195
+ "need to do is provide an <code>mp4</code>-video."
196
+ msgstr ""
197
+ "El reproductor de video, %sVIDEOJS%s, tiene un fallback de Adobe Flash. Todo "
198
+ "lo que usted necesita es proveer un video <code>mp4</code>."
199
+
200
+ #: php/backend.php:673
201
+ msgid ""
202
+ "These are some of the tested URL formats. Everything in bold is required, "
203
+ "everything in brackets is optional."
204
+ msgstr ""
205
+ "Hay algunos de los formatos de URL probados. Todo lo que está en negrita es "
206
+ "obligatorio, todo lo que está en corchete es opcional."
207
+
208
+ #: php/backend.php:707 php/backend.php:731
209
+ msgid "Local Media"
210
+ msgstr "Media local"
211
+
212
+ #: php/backend.php:714 php/backend.php:733
213
+ msgid "Valid URLs"
214
+ msgstr "URLs válidos"
215
+
216
+ #: php/settings.php:21
217
+ msgid "Featured Videos"
218
+ msgstr "Videos Principales"
219
+
220
+ #: php/settings.php:23
221
+ msgid "Usage"
222
+ msgstr "Uso"
223
+
224
+ #: php/settings.php:24
225
+ msgid "Autoplay"
226
+ msgstr "Autoplay"
227
+
228
+ #: php/settings.php:25
229
+ msgid "Video Sizing"
230
+ msgstr "Tamaño del video"
231
+
232
+ #: php/settings.php:26
233
+ msgid "Video Align"
234
+ msgstr "Alineación de Video"
235
+
236
+ #: php/settings.php:27
237
+ msgid "Local Video Options"
238
+ msgstr "Opciones de video local"
239
+
240
+ #: php/settings.php:28
241
+ msgid "YouTube Options"
242
+ msgstr "Opciones de YouTube"
243
+
244
+ #: php/settings.php:29
245
+ msgid "Vimeo Options"
246
+ msgstr "Opciones de Video"
247
+
248
+ #: php/settings.php:30
249
+ msgid "Dailymotion Options"
250
+ msgstr "Opciones de movimiento diario"
251
+
252
+ #: php/settings.php:31
253
+ msgid "Support"
254
+ msgstr "Soporte"
255
+
256
+ #: php/settings.php:45
257
+ #, php-format
258
+ msgid ""
259
+ "To display your featured videos you can either make use of the automatic "
260
+ "replacement, use the %s or manually edit your theme's source files to make "
261
+ "use of the plugins PHP-functions."
262
+ msgstr ""
263
+ "Para visualizar tus videos destacados puede hacer uso de la sustitución "
264
+ "automática, utilice el %s o edite manualmente los archivos de origen de su "
265
+ "tema para hacer uso de los plugins de funciones de PHP."
266
+
267
+ #: php/settings.php:46
268
+ #, php-format
269
+ msgid ""
270
+ "For more information about Shortcode and PHP functions see the %sContextual "
271
+ "Help%s."
272
+ msgstr ""
273
+ "Para más información acerca del código corto y de las funciones de PHP vea "
274
+ "la %s Ayuda Contextual%s."
275
+
276
+ #: php/settings.php:62
277
+ msgid "Replace featured image automatically if possible"
278
+ msgstr "Reemplazar la imagen principal automáticamente si es posible"
279
+
280
+ #: php/settings.php:62 php/settings.php:89 php/settings.php:112
281
+ #: php/settings.php:122 php/settings.php:143
282
+ msgid "default"
283
+ msgstr "por defecto"
284
+
285
+ #: php/settings.php:63
286
+ msgid "Open video overlay when featured image is clicked. Define width below!"
287
+ msgstr ""
288
+ "Abrir la superposición de video cuando a la imagen destacada se le hace "
289
+ "clic. ¡Defina el ancho debajo!"
290
+
291
+ #: php/settings.php:64
292
+ msgid "Replace featured image with video on click and auto play if possible"
293
+ msgstr ""
294
+ "Reemplazar la imagen destacada con el video al hacer clic y con auto "
295
+ "ejecución si es posible"
296
+
297
+ #: php/settings.php:65
298
+ msgid "None of the above: Manually use PHP-functions or shortcodes"
299
+ msgstr ""
300
+ "Ninguna de las anteriores: Utilice manualmente las funciones de PHP o los "
301
+ "códigos cortos"
302
+
303
+ #: php/settings.php:66
304
+ #, php-format
305
+ msgid ""
306
+ "The first three options require your theme to make use of WordPress' "
307
+ "%sfeatured image%s capabilities."
308
+ msgstr ""
309
+ "Las tres primeras opciones requieren de su tema para hacer uso de las "
310
+ "capacidades de '%simagen estacada%s de WordPress."
311
+
312
+ #: php/settings.php:71
313
+ msgid "The current theme does not support featured images"
314
+ msgstr "El tema actual no soporta imágenes principales"
315
+
316
+ #: php/settings.php:71
317
+ msgid ""
318
+ "To display Featured Videos you need to use the <code>Shortcode</code> or "
319
+ "<code>PHP functions</code>."
320
+ msgstr ""
321
+ "Para visualizar Videos Destacados usted necesita usar el <code>Código corto "
322
+ "</code> o las <code> funciones de PHP </code>."
323
+
324
+ #: php/settings.php:87
325
+ msgid "yes"
326
+ msgstr "sí"
327
+
328
+ #: php/settings.php:89
329
+ msgid "no"
330
+ msgstr "no"
331
+
332
+ #: php/settings.php:90
333
+ msgid ""
334
+ "YouTube, Vimeo and Dailymotion videos can autoplay when a single post/page "
335
+ "is being viewed."
336
+ msgstr ""
337
+ "Los videos de YouTube, Vimeo y Dailymotion se reproducirán automáticamente "
338
+ "cuando se esté viendo un post/página simple."
339
+
340
+ #: php/settings.php:109
341
+ msgid "Width"
342
+ msgstr "Ancho"
343
+
344
+ #: php/settings.php:119
345
+ msgid "Height"
346
+ msgstr "Largo"
347
+
348
+ #: php/settings.php:128
349
+ msgid ""
350
+ "When using <code>auto</code> the video will be adjusted to fit it's parent "
351
+ "element while sticking to it's ratio. Using a <code>fixed</code> height and "
352
+ "width might result in <em>not so pretty</em> black bars."
353
+ msgstr ""
354
+ "Cuando se usa <code>auto</code> el video será ajustado para encajar su "
355
+ "elemento padre mientras se mantiene con su radio. Usar un largo y ancho "
356
+ "<code>fijo</code> puede resultar en bandas negras <em>no muy bonitas</em>."
357
+
358
+ #: php/settings.php:142
359
+ msgid "left"
360
+ msgstr "izquierda"
361
+
362
+ #: php/settings.php:143
363
+ msgid "center"
364
+ msgstr "centro"
365
+
366
+ #: php/settings.php:144
367
+ msgid "right"
368
+ msgstr "derecha"
369
+
370
+ #: php/settings.php:163
371
+ msgid "Use CDN"
372
+ msgstr "Utilice CDN"
373
+
374
+ #: php/settings.php:164
375
+ msgid "Include JS"
376
+ msgstr "Incluir JS"
377
+
378
+ #: php/settings.php:165
379
+ msgid "Include CSS"
380
+ msgstr "Incluir CSS"
381
+
382
+ #: php/settings.php:166
383
+ msgid ""
384
+ "Disabling JS and/or CSS will break the local video player. Disable only when "
385
+ "you want to replace VideoJS with a different script and know what you are "
386
+ "doing."
387
+ msgstr ""
388
+ "Deshabilitar JS y CSS presentará problemas en su reproductor de video. "
389
+ "Deshabilitar sólo cuando se desea reemplazar VideoJS con un script diferente "
390
+ "y se sabe lo que se está haciendo."
391
+
392
+ #: php/settings.php:167
393
+ msgid "Use featured image as video thumbnail"
394
+ msgstr "Utilice la imagen en miniatura en el video"
395
+
396
+ #: php/settings.php:188
397
+ msgid "Light Theme"
398
+ msgstr "Tema Light"
399
+
400
+ #: php/settings.php:189
401
+ msgid "Fullscreen Button"
402
+ msgstr "Botón de Pantalla Completa"
403
+
404
+ #: php/settings.php:197
405
+ msgid "Info"
406
+ msgstr "Información"
407
+
408
+ #: php/settings.php:199
409
+ msgid "Related Videos"
410
+ msgstr "Videos relacionados"
411
+
412
+ #: php/settings.php:200
413
+ msgid "Javascript API"
414
+ msgstr "API de Javascript "
415
+
416
+ #: php/settings.php:201
417
+ msgid "White Progressbar"
418
+ msgstr "Barra de Progreso Blanca"
419
+
420
+ #: php/settings.php:203 php/settings.php:256
421
+ msgid "Logo"
422
+ msgstr "Logo"
423
+
424
+ #: php/settings.php:225
425
+ msgid "Portrait"
426
+ msgstr "Retrato"
427
+
428
+ #: php/settings.php:226
429
+ msgid "Title"
430
+ msgstr "Título"
431
+
432
+ #: php/settings.php:227
433
+ msgid "Byline"
434
+ msgstr "Esquinado"
435
+
436
+ #: php/settings.php:230
437
+ msgid "Color"
438
+ msgstr "Color"
439
+
440
+ #: php/settings.php:234
441
+ msgid "Vimeo Plus Videos might ignore these settings."
442
+ msgstr "Vimeo Plus Videos puede ignorar estos ajustes."
443
+
444
+ #: php/settings.php:257
445
+ msgid "Videoinfo"
446
+ msgstr "Información del video"
447
+
448
+ #: php/settings.php:258
449
+ msgid "Syndication Key"
450
+ msgstr "Llave de Sindicación"
451
+
452
+ #: php/settings.php:262
453
+ msgid "Foreground"
454
+ msgstr "Primer Plano"
455
+
456
+ #: php/settings.php:267
457
+ msgid "Highlight"
458
+ msgstr "Destacar"
459
+
460
+ #: php/settings.php:272
461
+ msgid "Background"
462
+ msgstr "Fondo"
463
+
464
+ #: php/settings.php:289
465
+ #, php-format
466
+ msgid ""
467
+ "If you have found a bug or are missing a specific video service, please "
468
+ "%slet me know%s in the support forum. Elsewise, if you like the plugin: "
469
+ "Please %srate it!%s"
470
+ msgstr ""
471
+ "Si usted a encontrado algún error o le falta un servicio de vídeo "
472
+ "específico, por favor %shágamelo saber%s en el foro de soporte. Dígame si el "
473
+ "plugin le gusta: Por favor %sevalúelo%s"
474
+
475
+ #: php/settings.php:376
476
+ msgid "Displays the video in its default size."
477
+ msgstr "Visualizar el video en su tamaño por defecto."
478
+
479
+ #: php/settings.php:380
480
+ msgid ""
481
+ "Displays the video with an width of 300 pixel. Height will be fitted to the "
482
+ "aspect ratio."
483
+ msgstr ""
484
+ "Visualizar el video con un ancho de 300 pixeles. El largo puede ser definido "
485
+ "en el aspect ratio."
486
+
487
+ #: php/settings.php:384
488
+ msgid "Displays the video with an fixed width and height."
489
+ msgstr "Visualizar el video con un ancho y una altura fijos."
490
+
491
+ #: php/settings.php:398
492
+ #, php-format
493
+ msgid ""
494
+ "All parameters are optional. If %s the current post's id will be used. %s is "
495
+ "either a string keyword (thumbnail, medium, large or full) or a 2-item array "
496
+ "representing width and height in pixels, e.g. array(32,32)."
497
+ msgstr ""
498
+ "Todos los parámetros son opcionales. Si%s se utiliza el id del mensaje "
499
+ "actual. %s o es una palabra clave de cadena (miniatura, medio, largo o "
500
+ "completo) o una matriz de 2 elementos que representa el ancho y la altura en "
501
+ "píxeles, e.j. array(32,32)."
502
+
503
+ #: php/settings.php:401
504
+ #, php-format
505
+ msgid ""
506
+ "The functions are implemented corresponding to the original %sfunctions%s: "
507
+ "They are intended to be used and to act the same way. Take a look into the "
508
+ "WordPress Codex for further guidance:"
509
+ msgstr ""
510
+ "Las funciones están implementadas correspondiendo con las %sfunciones%s "
511
+ "originales: Ellas están destinadas a ser utilizadas y actuar de la misma "
512
+ "manera. Eche un vistazo en el Codex de WordPress para obtener más ayuda:"
513
+
514
+ #: php/settings.php:424 php/settings.php:447
515
+ msgid "PHP-Functions"
516
+ msgstr "Funciones de PHP"
517
+
518
+ #: php/upgrade.php:164 php/upgrade.php:175 php/upgrade.php:186
519
+ #: php/upgrade.php:197 php/upgrade.php:208
520
+ msgid "Featured Video Plus was <strong>upgraded</strong>."
521
+ msgstr "Featured Video Plus fue <strong>actualizado</strong>."
522
+
523
+ #: php/upgrade.php:164
524
+ #, php-format
525
+ msgid ""
526
+ "%s brings new options for YouTube and local videos, fixes a whole bunch of "
527
+ "glitches and introduces a new PHP-function."
528
+ msgstr ""
529
+ "%s trae nuevas opciones para YouTube y vídeos locales, corrige un montón de "
530
+ "problemas técnicos e introduce una nueva función de PHP."
531
+
532
+ #: php/upgrade.php:164 php/upgrade.php:175 php/upgrade.php:186
533
+ #: php/upgrade.php:197 php/upgrade.php:208
534
+ #, php-format
535
+ msgid "If you like the plugin, please %srate it%s."
536
+ msgstr "Si le gusta este plugin, por favor %sevalúelo%s."
537
+
538
+ #: php/upgrade.php:175
539
+ #, php-format
540
+ msgid ""
541
+ "%s <strong>ajax</strong>ifies the Featured Video box, introduces new options "
542
+ "for YouTube and local videos and a new PHP-function."
543
+ msgstr ""
544
+ "%s <strong>ajax</strong>ifies el cuadro de Video Principal, introduce nuevas "
545
+ "opciones para YouTube y videos locales y una nueva función PHP."
546
+
547
+ #: php/upgrade.php:186
548
+ #, php-format
549
+ msgid ""
550
+ "%s features a seamless <strong>WP3.5 Media Manager</strong> integration, an "
551
+ "all new <strong>ajax</strong>ified metabox, time-links (#t=4m2s) for YouTube "
552
+ "and Dailymotion, new PHP functions for developers and more."
553
+ msgstr ""
554
+ "%s tiene una integración transparente con <strong>WP3.5 Media Manager</"
555
+ "strong>, y una nueva meta caja <strong>ajax</strong>ified, enlaces-tiempo "
556
+ "(#t=4m2s) para YouTube y Dailymotion, nuevas funciones PHP para "
557
+ "desarrolladores y más."
558
+
559
+ #: php/upgrade.php:197
560
+ #, php-format
561
+ msgid ""
562
+ "%s features a seamless WP3.5 Media Manager integration, an ajaxified "
563
+ "metabox, time-links (#t=4m2s) for YouTube and Dailymotion, more "
564
+ "customization settings and internationalization."
565
+ msgstr ""
566
+ "%s tiene una integración transparente con WP3.5 Media Manager, y una nueva "
567
+ "meta caja <strong>ajax</strong>ified, enlaces-tiempo (#t=4m2s) para YouTube "
568
+ "y Dailymotion, más ajustes de personalización e internacionalización."
569
+
570
+ #: php/upgrade.php:208
571
+ #, php-format
572
+ msgid ""
573
+ "%s features support for <strong>Local Videos</strong>, a seamless WP3.5 "
574
+ "Media Manager integration, an ajaxified metabox, time-links (#t=4m2s) for "
575
+ "YouTube and Dailymotion and many more customization settings."
576
+ msgstr ""
577
+ "%s incluye soporte para <strong>Videos Locales</strong>, una perfecta "
578
+ "integración con WP3.5 Media Manager, una meta caja ajaxified, enlaces-tiempo "
579
+ "(#t=4m2s) para YouTube y Dailymotion, y muchos más ajustes de "
580
+ "personalización."
581
+
582
+ #: php/upgrade.php:220
583
+ #, php-format
584
+ msgid ""
585
+ "Featured Video Plus is <strong>ready to use</strong>. There is a new box on "
586
+ "post & page edit screens for you to add videos. <strong>Take a look at your "
587
+ "new %sMedia Settings%s</strong>."
588
+ msgstr ""
589
+ "Featured Video Plus está <strong>listo para usarse</strong>. Hay un nuevo "
590
+ "cuadro en sus pantallas de edición de posts y páginas para adicionar videos. "
591
+ "<strong>Mire su nuevos %sAjustes de Media%s</strong>."
592
+
593
+ #~ msgid "Replace Featured Images"
594
+ #~ msgstr "Beitragsbilder ersetzen"
595
+
596
+ #~ msgid ""
597
+ #~ "If a Featured Video is available it can be displayed in place of the "
598
+ #~ "Featured Image. Still, a Featured Image is required."
599
+ #~ msgstr ""
600
+ #~ "Wenn ein Artikelvideo vorhanden ist kann es anstelle des Artikelbildes "
601
+ #~ "angezeigt werden. Dafür muss trotzdem ein Artikelbild gesetzt sein!"
602
+
603
+ #~ msgid ""
604
+ #~ "The plugin logs it's version, the WordPress version and WordPress "
605
+ #~ "language for internal statistics. Those help for future plugin "
606
+ #~ "development."
607
+ #~ msgstr ""
608
+ #~ "Das Plugin speichert seine Version, die WordPress Version und WordPress "
609
+ #~ "Spracheinstellung für eigene Statistiken."
610
+
611
+ #~ msgid ""
612
+ #~ "No personal user information is being collected. Still, you can easily "
613
+ #~ "Opt-Out and have the data deleted:"
614
+ #~ msgstr ""
615
+ #~ "Es werden keine persönlichen Nutzerinformationen gespeichert. Wenn du "
616
+ #~ "willst kannst du dich abmelden und deine Daten werden gelöscht:"
617
+
618
+ #~ msgid "VIDEOJS Player Options"
619
+ #~ msgstr "VIDEOJS Player Optionen"
620
+
621
+ #~ msgid ""
622
+ #~ "%s features more customization settings, internationalization, better "
623
+ #~ "error handling and experimental LiveLeak integration."
624
+ #~ msgstr ""
625
+ #~ "%s integriert mehr Einstellungsmöglichkeiten, Internationalisierung, "
626
+ #~ "bessere Fehlerbehandlung und experimentelle LiveLeak Integration."
627
+
628
+ #~ msgid "Align"
629
+ #~ msgstr "Ausrichtung"
630
+
631
+ #~ msgid "Found a bug or <strong>missing a specific video service</strong>?"
632
+ #~ msgstr ""
633
+ #~ "Hast du einen Fehler gefunden oder <strong>fehlt dir eine bestimmte Video "
634
+ #~ "Plattform</strong>?"
635
+
636
+ #~ msgid "Do you like the plugin?"
637
+ #~ msgstr "Gefällt dir das Plugin?"
638
+
639
+ #~ msgid "rate it"
640
+ #~ msgstr "bewerte es"
641
+
642
+ #~ msgid ""
643
+ #~ "All parameters are optional. If %s the current post's id will be used."
644
+ #~ msgstr ""
645
+ #~ "Alle Parameter sind optional. Wenn %s gilt, wird die ID vom aktuellen "
646
+ #~ "Eintrag verwendet."
647
+
648
+ #~ msgid ""
649
+ #~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
650
+ #~ "strong> features more customization settings and a more dynamic admin "
651
+ #~ "interface."
652
+ #~ msgstr ""
653
+ #~ "Version %s integriert mehr Einstellungsmöglichkeiten, "
654
+ #~ "Internationalisierung, besseres Fehlerbehandlung und LiveLeak Videos "
655
+ #~ "(experimentell)."
656
+
657
+ #~ msgid ""
658
+ #~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
659
+ #~ "strong> now supports <strong>local videos</strong> and many more "
660
+ #~ "customization settings."
661
+ #~ msgstr ""
662
+ #~ "Version %s integriert <strong>lokale Videos</strong>, LiveLeak Videos "
663
+ #~ "(experimentell), mehr Einstellungsmöglichkeiten, Internationalisierung "
664
+ #~ "und besseres Fehlerbehandlung."
665
+
666
+ #~ msgid "YouTube, Vimeo, Dailymotion; Local Media"
667
+ #~ msgstr "Video Formate"
lng/featured-video-plus.pot CHANGED
@@ -1,392 +1,392 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: featured-video-plus 1.3\n"
4
- "POT-Creation-Date: 2014-01-02 20:31+0100\n"
5
- "PO-Revision-Date: 2014-01-02 20:31+0100\n"
6
- "Last-Translator: Alexander Höreth <hello@yrnxt.com>\n"
7
- "Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
8
- "Language: en\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.3\n"
13
- "X-Poedit-KeywordsList: __;_e\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: php\n"
17
-
18
- #: php/backend.php:31
19
- msgid "Video URL"
20
- msgstr ""
21
-
22
- #: php/backend.php:32
23
- msgid "Fallback: same video, different format"
24
- msgstr ""
25
-
26
- #: php/backend.php:93 php/backend.php:683 php/backend.php:690
27
- #: php/backend.php:707 php/backend.php:709
28
- msgid "Featured Video"
29
- msgstr ""
30
-
31
- #: php/backend.php:124
32
- msgid "Outdated WordPress Version"
33
- msgstr ""
34
-
35
- #: php/backend.php:124
36
- #, php-format
37
- msgid ""
38
- "There is WordPress 3.5 out there! The plugin supports older versions way "
39
- "back to 3.1 - but %s is defenitly to old!"
40
- msgstr ""
41
-
42
- #: php/backend.php:136
43
- msgid "Set Featured Video"
44
- msgstr ""
45
-
46
- #: php/backend.php:136
47
- msgid "Set featured video"
48
- msgstr ""
49
-
50
- #: php/backend.php:146 php/backend.php:640
51
- msgid "Supported Video Formats"
52
- msgstr ""
53
-
54
- #: php/backend.php:146
55
- msgid "or"
56
- msgstr ""
57
-
58
- #: php/backend.php:146
59
- msgid "More information"
60
- msgstr ""
61
-
62
- #: php/backend.php:153
63
- msgid "Hint"
64
- msgstr ""
65
-
66
- #: php/backend.php:153
67
- #, php-format
68
- msgid "Take a look into the %sContextual Help%s."
69
- msgstr ""
70
-
71
- #: php/backend.php:159 php/settings.php:390
72
- msgid "Featured Image"
73
- msgstr ""
74
-
75
- #: php/backend.php:159
76
- msgid ""
77
- "For automatically displaying the Featured Video a Featured Image is required."
78
- msgstr ""
79
-
80
- #: php/backend.php:164
81
- msgid "Set as Featured Image"
82
- msgstr ""
83
-
84
- #: php/backend.php:168
85
- msgid "The current theme does not support Featured Images"
86
- msgstr ""
87
-
88
- #: php/backend.php:168
89
- #, php-format
90
- msgid ""
91
- "To display Featured Videos you need to use the <code>Shortcode</code> or "
92
- "<code>PHP functions</code>. To hide this notice deactivate &quot;<em>Replace "
93
- "Featured Images</em>&quot; in the %sMedia Settings%s."
94
- msgstr ""
95
-
96
- #: php/backend.php:634
97
- #, php-format
98
- msgid ""
99
- "To use local videos, copy the <code>Link To Media File</code> from your "
100
- "%sMedia Library%s and paste it into the text field."
101
- msgstr ""
102
-
103
- #: php/backend.php:635
104
- msgid ""
105
- "To use local videos as Featured Videos WordPress 3.6 or higher is required."
106
- msgstr ""
107
-
108
- #: php/backend.php:642
109
- msgid "Converting your videos"
110
- msgstr ""
111
-
112
- #: php/backend.php:643
113
- #, php-format
114
- msgid ""
115
- "Take a look at the %sMiro Video Converter%s. It is open source, lightweight "
116
- "and compatible with Windows, Mac and Linux."
117
- msgstr ""
118
-
119
- #: php/backend.php:644
120
- msgid "Fixing upload errors"
121
- msgstr ""
122
-
123
- #: php/backend.php:646
124
- #, php-format
125
- msgid ""
126
- "Read %sthis%s on how to increase the <strong>maximum file upload size</"
127
- "strong>."
128
- msgstr ""
129
-
130
- #: php/backend.php:651
131
- msgid ""
132
- "These are some of the tested URL formats. Everything in bold is required, "
133
- "everything in brackets is optional."
134
- msgstr ""
135
-
136
- #: php/backend.php:683 php/backend.php:707
137
- msgid "Local Media"
138
- msgstr ""
139
-
140
- #: php/backend.php:690 php/backend.php:709
141
- msgid "Valid URLs"
142
- msgstr ""
143
-
144
- #: php/settings.php:21
145
- msgid "Featured Videos"
146
- msgstr ""
147
-
148
- #: php/settings.php:23
149
- msgid "Usage"
150
- msgstr ""
151
-
152
- #: php/settings.php:24
153
- msgid "Autoplay"
154
- msgstr ""
155
-
156
- #: php/settings.php:25
157
- msgid "Video Sizing"
158
- msgstr ""
159
-
160
- #: php/settings.php:26
161
- msgid "Video Align"
162
- msgstr ""
163
-
164
- #: php/settings.php:27
165
- msgid "Local Video Options"
166
- msgstr ""
167
-
168
- #: php/settings.php:28
169
- msgid "YouTube Options"
170
- msgstr ""
171
-
172
- #: php/settings.php:29
173
- msgid "Vimeo Options"
174
- msgstr ""
175
-
176
- #: php/settings.php:30
177
- msgid "Dailymotion Options"
178
- msgstr ""
179
-
180
- #: php/settings.php:31
181
- msgid "Support"
182
- msgstr ""
183
-
184
- #: php/settings.php:45
185
- #, php-format
186
- msgid ""
187
- "To display your featured videos you can either make use of the automatic "
188
- "replacement, use the %s or manually edit your theme's source files to make "
189
- "use of the plugins PHP-functions."
190
- msgstr ""
191
-
192
- #: php/settings.php:46
193
- #, php-format
194
- msgid ""
195
- "For more information about Shortcode and PHP functions see the %sContextual "
196
- "Help%s."
197
- msgstr ""
198
-
199
- #: php/settings.php:62
200
- msgid "Replace featured image automatically if possible"
201
- msgstr ""
202
-
203
- #: php/settings.php:62 php/settings.php:90 php/settings.php:112
204
- #: php/settings.php:122 php/settings.php:143
205
- msgid "default"
206
- msgstr ""
207
-
208
- #: php/settings.php:63
209
- msgid "Open video overlay when featured image is clicked. Define width below!"
210
- msgstr ""
211
-
212
- #: php/settings.php:64
213
- msgid "Replace featured image with video on click and auto play if possible"
214
- msgstr ""
215
-
216
- #: php/settings.php:65
217
- msgid "None of the above: Manually use PHP-functions or shortcodes"
218
- msgstr ""
219
-
220
- #: php/settings.php:66
221
- #, php-format
222
- msgid ""
223
- "The first three options require your theme to make use of WordPress' "
224
- "%sfeatured image%s capabilities."
225
- msgstr ""
226
-
227
- #: php/settings.php:70
228
- msgid "The current theme does not support featured images"
229
- msgstr ""
230
-
231
- #: php/settings.php:70
232
- msgid ""
233
- "To display Featured Videos you need to use the <code>Shortcode</code> or "
234
- "<code>PHP functions</code>."
235
- msgstr ""
236
-
237
- #: php/settings.php:86
238
- msgid "yes"
239
- msgstr ""
240
-
241
- #: php/settings.php:88
242
- msgid "auto"
243
- msgstr ""
244
-
245
- #: php/settings.php:90
246
- msgid "no"
247
- msgstr ""
248
-
249
- #: php/settings.php:109
250
- msgid "Width"
251
- msgstr ""
252
-
253
- #: php/settings.php:119
254
- msgid "Height"
255
- msgstr ""
256
-
257
- #: php/settings.php:128
258
- msgid ""
259
- "When using <code>auto</code> the video will be adjusted to fit it's parent "
260
- "element while sticking to it's ratio. Using a <code>fixed</code> height and "
261
- "width might result in <em>not so pretty</em> black bars."
262
- msgstr ""
263
-
264
- #: php/settings.php:142
265
- msgid "left"
266
- msgstr ""
267
-
268
- #: php/settings.php:143
269
- msgid "center"
270
- msgstr ""
271
-
272
- #: php/settings.php:144
273
- msgid "right"
274
- msgstr ""
275
-
276
- #: php/settings.php:157
277
- msgid "Use featured image as video thumbnail"
278
- msgstr ""
279
-
280
- #: php/settings.php:158
281
- msgid "Loop videos"
282
- msgstr ""
283
-
284
- #: php/settings.php:179
285
- msgid "Light Theme"
286
- msgstr ""
287
-
288
- #: php/settings.php:180
289
- msgid "Fullscreen Button"
290
- msgstr ""
291
-
292
- #: php/settings.php:188
293
- msgid "Info"
294
- msgstr ""
295
-
296
- #: php/settings.php:190
297
- msgid "Related Videos"
298
- msgstr ""
299
-
300
- #: php/settings.php:191
301
- msgid "Javascript API"
302
- msgstr ""
303
-
304
- #: php/settings.php:192
305
- msgid "White Progressbar"
306
- msgstr ""
307
-
308
- #: php/settings.php:194 php/settings.php:247
309
- msgid "Logo"
310
- msgstr ""
311
-
312
- #: php/settings.php:216
313
- msgid "Portrait"
314
- msgstr ""
315
-
316
- #: php/settings.php:217
317
- msgid "Title"
318
- msgstr ""
319
-
320
- #: php/settings.php:218
321
- msgid "Byline"
322
- msgstr ""
323
-
324
- #: php/settings.php:221
325
- msgid "Color"
326
- msgstr ""
327
-
328
- #: php/settings.php:225
329
- msgid "Vimeo Plus Videos might ignore these settings."
330
- msgstr ""
331
-
332
- #: php/settings.php:248
333
- msgid "Videoinfo"
334
- msgstr ""
335
-
336
- #: php/settings.php:249
337
- msgid "Syndication Key"
338
- msgstr ""
339
-
340
- #: php/settings.php:253
341
- msgid "Foreground"
342
- msgstr ""
343
-
344
- #: php/settings.php:258
345
- msgid "Highlight"
346
- msgstr ""
347
-
348
- #: php/settings.php:263
349
- msgid "Background"
350
- msgstr ""
351
-
352
- #: php/settings.php:280
353
- #, php-format
354
- msgid ""
355
- "If you have found a bug or are missing a specific video service, please "
356
- "%slet me know%s in the support forum. Elsewise, if you like the plugin: "
357
- "Please %srate it!%s"
358
- msgstr ""
359
-
360
- #: php/settings.php:365
361
- msgid "Displays the video in its default size."
362
- msgstr ""
363
-
364
- #: php/settings.php:369
365
- msgid ""
366
- "Displays the video with an width of 300 pixel. Height will be fitted to the "
367
- "aspect ratio."
368
- msgstr ""
369
-
370
- #: php/settings.php:373
371
- msgid "Displays the video with an fixed width and height."
372
- msgstr ""
373
-
374
- #: php/settings.php:387
375
- #, php-format
376
- msgid ""
377
- "All parameters are optional. If %s the current post's id will be used. %s is "
378
- "either a string keyword (thumbnail, medium, large or full) or a 2-item array "
379
- "representing width and height in pixels, e.g. array(32,32)."
380
- msgstr ""
381
-
382
- #: php/settings.php:390
383
- #, php-format
384
- msgid ""
385
- "The functions are implemented corresponding to the original %sfunctions%s: "
386
- "They are intended to be used and to act the same way. Take a look into the "
387
- "WordPress Codex for further guidance:"
388
- msgstr ""
389
-
390
- #: php/settings.php:413 php/settings.php:436
391
- msgid "PHP-Functions"
392
- msgstr ""
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: featured-video-plus 1.3\n"
4
+ "POT-Creation-Date: 2014-01-02 20:31+0100\n"
5
+ "PO-Revision-Date: 2014-01-02 20:31+0100\n"
6
+ "Last-Translator: Alexander Höreth <hello@yrnxt.com>\n"
7
+ "Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.3\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-SearchPath-0: php\n"
17
+
18
+ #: php/backend.php:31
19
+ msgid "Video URL"
20
+ msgstr ""
21
+
22
+ #: php/backend.php:32
23
+ msgid "Fallback: same video, different format"
24
+ msgstr ""
25
+
26
+ #: php/backend.php:93 php/backend.php:683 php/backend.php:690
27
+ #: php/backend.php:707 php/backend.php:709
28
+ msgid "Featured Video"
29
+ msgstr ""
30
+
31
+ #: php/backend.php:124
32
+ msgid "Outdated WordPress Version"
33
+ msgstr ""
34
+
35
+ #: php/backend.php:124
36
+ #, php-format
37
+ msgid ""
38
+ "There is WordPress 3.5 out there! The plugin supports older versions way "
39
+ "back to 3.1 - but %s is defenitly to old!"
40
+ msgstr ""
41
+
42
+ #: php/backend.php:136
43
+ msgid "Set Featured Video"
44
+ msgstr ""
45
+
46
+ #: php/backend.php:136
47
+ msgid "Set featured video"
48
+ msgstr ""
49
+
50
+ #: php/backend.php:146 php/backend.php:640
51
+ msgid "Supported Video Formats"
52
+ msgstr ""
53
+
54
+ #: php/backend.php:146
55
+ msgid "or"
56
+ msgstr ""
57
+
58
+ #: php/backend.php:146
59
+ msgid "More information"
60
+ msgstr ""
61
+
62
+ #: php/backend.php:153
63
+ msgid "Hint"
64
+ msgstr ""
65
+
66
+ #: php/backend.php:153
67
+ #, php-format
68
+ msgid "Take a look into the %sContextual Help%s."
69
+ msgstr ""
70
+
71
+ #: php/backend.php:159 php/settings.php:390
72
+ msgid "Featured Image"
73
+ msgstr ""
74
+
75
+ #: php/backend.php:159
76
+ msgid ""
77
+ "For automatically displaying the Featured Video a Featured Image is required."
78
+ msgstr ""
79
+
80
+ #: php/backend.php:164
81
+ msgid "Set as Featured Image"
82
+ msgstr ""
83
+
84
+ #: php/backend.php:168
85
+ msgid "The current theme does not support Featured Images"
86
+ msgstr ""
87
+
88
+ #: php/backend.php:168
89
+ #, php-format
90
+ msgid ""
91
+ "To display Featured Videos you need to use the <code>Shortcode</code> or "
92
+ "<code>PHP functions</code>. To hide this notice deactivate &quot;<em>Replace "
93
+ "Featured Images</em>&quot; in the %sMedia Settings%s."
94
+ msgstr ""
95
+
96
+ #: php/backend.php:634
97
+ #, php-format
98
+ msgid ""
99
+ "To use local videos, copy the <code>Link To Media File</code> from your "
100
+ "%sMedia Library%s and paste it into the text field."
101
+ msgstr ""
102
+
103
+ #: php/backend.php:635
104
+ msgid ""
105
+ "To use local videos as Featured Videos WordPress 3.6 or higher is required."
106
+ msgstr ""
107
+
108
+ #: php/backend.php:642
109
+ msgid "Converting your videos"
110
+ msgstr ""
111
+
112
+ #: php/backend.php:643
113
+ #, php-format
114
+ msgid ""
115
+ "Take a look at the %sMiro Video Converter%s. It is open source, lightweight "
116
+ "and compatible with Windows, Mac and Linux."
117
+ msgstr ""
118
+
119
+ #: php/backend.php:644
120
+ msgid "Fixing upload errors"
121
+ msgstr ""
122
+
123
+ #: php/backend.php:646
124
+ #, php-format
125
+ msgid ""
126
+ "Read %sthis%s on how to increase the <strong>maximum file upload size</"
127
+ "strong>."
128
+ msgstr ""
129
+
130
+ #: php/backend.php:651
131
+ msgid ""
132
+ "These are some of the tested URL formats. Everything in bold is required, "
133
+ "everything in brackets is optional."
134
+ msgstr ""
135
+
136
+ #: php/backend.php:683 php/backend.php:707
137
+ msgid "Local Media"
138
+ msgstr ""
139
+
140
+ #: php/backend.php:690 php/backend.php:709
141
+ msgid "Valid URLs"
142
+ msgstr ""
143
+
144
+ #: php/settings.php:21
145
+ msgid "Featured Videos"
146
+ msgstr ""
147
+
148
+ #: php/settings.php:23
149
+ msgid "Usage"
150
+ msgstr ""
151
+
152
+ #: php/settings.php:24
153
+ msgid "Autoplay"
154
+ msgstr ""
155
+
156
+ #: php/settings.php:25
157
+ msgid "Video Sizing"
158
+ msgstr ""
159
+
160
+ #: php/settings.php:26
161
+ msgid "Video Align"
162
+ msgstr ""
163
+
164
+ #: php/settings.php:27
165
+ msgid "Local Video Options"
166
+ msgstr ""
167
+
168
+ #: php/settings.php:28
169
+ msgid "YouTube Options"
170
+ msgstr ""
171
+
172
+ #: php/settings.php:29
173
+ msgid "Vimeo Options"
174
+ msgstr ""
175
+
176
+ #: php/settings.php:30
177
+ msgid "Dailymotion Options"
178
+ msgstr ""
179
+
180
+ #: php/settings.php:31
181
+ msgid "Support"
182
+ msgstr ""
183
+
184
+ #: php/settings.php:45
185
+ #, php-format
186
+ msgid ""
187
+ "To display your featured videos you can either make use of the automatic "
188
+ "replacement, use the %s or manually edit your theme's source files to make "
189
+ "use of the plugins PHP-functions."
190
+ msgstr ""
191
+
192
+ #: php/settings.php:46
193
+ #, php-format
194
+ msgid ""
195
+ "For more information about Shortcode and PHP functions see the %sContextual "
196
+ "Help%s."
197
+ msgstr ""
198
+
199
+ #: php/settings.php:62
200
+ msgid "Replace featured image automatically if possible"
201
+ msgstr ""
202
+
203
+ #: php/settings.php:62 php/settings.php:90 php/settings.php:112
204
+ #: php/settings.php:122 php/settings.php:143
205
+ msgid "default"
206
+ msgstr ""
207
+
208
+ #: php/settings.php:63
209
+ msgid "Open video overlay when featured image is clicked. Define width below!"
210
+ msgstr ""
211
+
212
+ #: php/settings.php:64
213
+ msgid "Replace featured image with video on click and auto play if possible"
214
+ msgstr ""
215
+
216
+ #: php/settings.php:65
217
+ msgid "None of the above: Manually use PHP-functions or shortcodes"
218
+ msgstr ""
219
+
220
+ #: php/settings.php:66
221
+ #, php-format
222
+ msgid ""
223
+ "The first three options require your theme to make use of WordPress' "
224
+ "%sfeatured image%s capabilities."
225
+ msgstr ""
226
+
227
+ #: php/settings.php:70
228
+ msgid "The current theme does not support featured images"
229
+ msgstr ""
230
+
231
+ #: php/settings.php:70
232
+ msgid ""
233
+ "To display Featured Videos you need to use the <code>Shortcode</code> or "
234
+ "<code>PHP functions</code>."
235
+ msgstr ""
236
+
237
+ #: php/settings.php:86
238
+ msgid "yes"
239
+ msgstr ""
240
+
241
+ #: php/settings.php:88
242
+ msgid "auto"
243
+ msgstr ""
244
+
245
+ #: php/settings.php:90
246
+ msgid "no"
247
+ msgstr ""
248
+
249
+ #: php/settings.php:109
250
+ msgid "Width"
251
+ msgstr ""
252
+
253
+ #: php/settings.php:119
254
+ msgid "Height"
255
+ msgstr ""
256
+
257
+ #: php/settings.php:128
258
+ msgid ""
259
+ "When using <code>auto</code> the video will be adjusted to fit it's parent "
260
+ "element while sticking to it's ratio. Using a <code>fixed</code> height and "
261
+ "width might result in <em>not so pretty</em> black bars."
262
+ msgstr ""
263
+
264
+ #: php/settings.php:142
265
+ msgid "left"
266
+ msgstr ""
267
+
268
+ #: php/settings.php:143
269
+ msgid "center"
270
+ msgstr ""
271
+
272
+ #: php/settings.php:144
273
+ msgid "right"
274
+ msgstr ""
275
+
276
+ #: php/settings.php:157
277
+ msgid "Use featured image as video thumbnail"
278
+ msgstr ""
279
+
280
+ #: php/settings.php:158
281
+ msgid "Loop videos"
282
+ msgstr ""
283
+
284
+ #: php/settings.php:179
285
+ msgid "Light Theme"
286
+ msgstr ""
287
+
288
+ #: php/settings.php:180
289
+ msgid "Fullscreen Button"
290
+ msgstr ""
291
+
292
+ #: php/settings.php:188
293
+ msgid "Info"
294
+ msgstr ""
295
+
296
+ #: php/settings.php:190
297
+ msgid "Related Videos"
298
+ msgstr ""
299
+
300
+ #: php/settings.php:191
301
+ msgid "Javascript API"
302
+ msgstr ""
303
+
304
+ #: php/settings.php:192
305
+ msgid "White Progressbar"
306
+ msgstr ""
307
+
308
+ #: php/settings.php:194 php/settings.php:247
309
+ msgid "Logo"
310
+ msgstr ""
311
+
312
+ #: php/settings.php:216
313
+ msgid "Portrait"
314
+ msgstr ""
315
+
316
+ #: php/settings.php:217
317
+ msgid "Title"
318
+ msgstr ""
319
+
320
+ #: php/settings.php:218
321
+ msgid "Byline"
322
+ msgstr ""
323
+
324
+ #: php/settings.php:221
325
+ msgid "Color"
326
+ msgstr ""
327
+
328
+ #: php/settings.php:225
329
+ msgid "Vimeo Plus Videos might ignore these settings."
330
+ msgstr ""
331
+
332
+ #: php/settings.php:248
333
+ msgid "Videoinfo"
334
+ msgstr ""
335
+
336
+ #: php/settings.php:249
337
+ msgid "Syndication Key"
338
+ msgstr ""
339
+
340
+ #: php/settings.php:253
341
+ msgid "Foreground"
342
+ msgstr ""
343
+
344
+ #: php/settings.php:258
345
+ msgid "Highlight"
346
+ msgstr ""
347
+
348
+ #: php/settings.php:263
349
+ msgid "Background"
350
+ msgstr ""
351
+
352
+ #: php/settings.php:280
353
+ #, php-format
354
+ msgid ""
355
+ "If you have found a bug or are missing a specific video service, please "
356
+ "%slet me know%s in the support forum. Elsewise, if you like the plugin: "
357
+ "Please %srate it!%s"
358
+ msgstr ""
359
+
360
+ #: php/settings.php:365
361
+ msgid "Displays the video in its default size."
362
+ msgstr ""
363
+
364
+ #: php/settings.php:369
365
+ msgid ""
366
+ "Displays the video with an width of 300 pixel. Height will be fitted to the "
367
+ "aspect ratio."
368
+ msgstr ""
369
+
370
+ #: php/settings.php:373
371
+ msgid "Displays the video with an fixed width and height."
372
+ msgstr ""
373
+
374
+ #: php/settings.php:387
375
+ #, php-format
376
+ msgid ""
377
+ "All parameters are optional. If %s the current post's id will be used. %s is "
378
+ "either a string keyword (thumbnail, medium, large or full) or a 2-item array "
379
+ "representing width and height in pixels, e.g. array(32,32)."
380
+ msgstr ""
381
+
382
+ #: php/settings.php:390
383
+ #, php-format
384
+ msgid ""
385
+ "The functions are implemented corresponding to the original %sfunctions%s: "
386
+ "They are intended to be used and to act the same way. Take a look into the "
387
+ "WordPress Codex for further guidance:"
388
+ msgstr ""
389
+
390
+ #: php/settings.php:413 php/settings.php:436
391
+ msgid "PHP-Functions"
392
+ msgstr ""
php/backend.php CHANGED
@@ -28,8 +28,8 @@ class featured_video_plus_backend {
28
  wp_die( 'featured_video_plus general instance required!', 'Error!' );
29
 
30
  $this->featured_video_plus = $featured_video_plus_instance;
31
- $this->default_value = __('Video URL', 'featured-video-plus');
32
- $this->default_value_sec = __('Fallback: same video, different format', 'featured-video-plus');
33
  }
34
 
35
  /**
@@ -69,11 +69,11 @@ class featured_video_plus_backend {
69
  $options = get_option('fvp-settings');
70
  $upload_dir = wp_upload_dir();
71
  wp_localize_script( 'fvp_backend', 'fvp_backend_data', array(
72
- 'wp_upload_dir' => $upload_dir['baseurl'],
73
- 'loading_gif' => get_admin_url(null,'images/loading.gif'),
74
- 'default_value' => $this->default_value,
75
  'default_value_sec' => $this->default_value_sec,
76
- 'wp_35' => get_bloginfo('version') >= 3.5
77
  ) );
78
  }
79
 
@@ -164,7 +164,7 @@ class featured_video_plus_backend {
164
  printf('<p id="fvp_set_featimg_box"'.$class.'>'."\n\t".'<span id="fvp_set_featimg_input">'."\n\t\t".'<input id="fvp_set_featimg" name="fvp_set_featimg" type="checkbox" value="set_featimg" />'."\n\t\t".'<label for="fvp_set_featimg">&nbsp;%s</label>'."\n\t".'</span>'."\n\t".'<a class="fvp_hidden" id="fvp_set_featimg_link" href="#">%s</a>'."\n".'</p>'."\n", __('Set as Featured Image', 'featured-video-plus'), __('Set as Featured Image', 'featured-video-plus') );
165
 
166
  // current theme does not support Featured Images
167
- if( !current_theme_supports('post-thumbnails') && $options['overwrite'] != 'manual' )
168
  echo '<p class="fvp_warning description"><span style="font-weight: bold;">'.__('The current theme does not support Featured Images', 'featured-video-plus').':</span>&nbsp;'.sprintf(__('To display Featured Videos you need to use the <code>Shortcode</code> or <code>PHP functions</code>. To hide this notice deactivate &quot;<em>Replace Featured Images</em>&quot; in the %sMedia Settings%s.', 'featured-video-plus'), '<a href="'.get_admin_url(null, '/options-media.php').'">', '</a>' )."</p>\n\n";
169
 
170
  echo "<!-- Featured Video Plus Metabox End-->\n\n\n";
@@ -179,18 +179,18 @@ class featured_video_plus_backend {
179
  */
180
  public function metabox_save($post_id){
181
 
182
- if (( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) || // Autosave, do nothing
183
- ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || // AJAX? Not used here
184
- ( !current_user_can( 'edit_post', $post_id ) ) || // Check user permissions
185
- ( false !== wp_is_post_revision( $post_id ) ) // Return if it's a post revision
186
  ) return;
187
 
188
  $post = array(
189
- 'id' => $post_id,
190
- 'fvp_nonce' => isset($_POST['fvp_nonce']) ? $_POST['fvp_nonce'] : '',
191
- 'fvp_set_featimg' => isset($_POST['fvp_set_featimg']) ? $_POST['fvp_set_featimg'] : '',
192
- 'fvp_video' => isset($_POST['fvp_video']) ? $_POST['fvp_video'] : '',
193
- 'fvp_sec' => isset($_POST['fvp_sec']) ? $_POST['fvp_sec'] : ''
194
  );
195
  $this->save($post);
196
 
@@ -199,11 +199,11 @@ class featured_video_plus_backend {
199
 
200
  public function ajax() {
201
  $post = array(
202
- 'id' => $_POST['id'],
203
- 'fvp_nonce' => isset($_POST['fvp_nonce']) ? $_POST['fvp_nonce'] : '',
204
  'fvp_set_featimg' => isset($_POST['fvp_set_featimg']) ? $_POST['fvp_set_featimg'] : '',
205
- 'fvp_video' => isset($_POST['fvp_video']) ? $_POST['fvp_video'] : '',
206
- 'fvp_sec' => isset($_POST['fvp_sec']) ? $_POST['fvp_sec'] : ''
207
  );
208
  $meta = $this->save($post);
209
 
@@ -225,7 +225,7 @@ class featured_video_plus_backend {
225
  * @see http://codex.wordpress.org/Function_Reference/update_post_meta
226
  */
227
  function save($post) {
228
- if( ( isset($post['fvp_nonce']) && // WP Form submitted..
229
  !wp_verify_nonce( $post['fvp_nonce'], FVP_NAME ) ) )
230
  return false;
231
 
@@ -233,12 +233,12 @@ class featured_video_plus_backend {
233
  $meta = get_post_meta($post['id'], '_fvp_video', true);
234
 
235
  // video is empty or default value
236
- if( !isset($post['fvp_video']) || empty($post['fvp_video']) || $post['fvp_video'] == $this->default_value )
237
  $url = '';
238
  else $url = trim($post['fvp_video']);
239
 
240
  // fallback video is empty or default value
241
- if( !isset($post['fvp_sec']) || empty($post['fvp_sec']) || $post['fvp_sec'] == $this->default_value_sec )
242
  $sec = '';
243
  else $sec = trim($post['fvp_sec']);
244
 
@@ -258,7 +258,7 @@ class featured_video_plus_backend {
258
 
259
  $data = $this->get_video_data($url, $sec);
260
 
261
- $url = isset($data['url']) && !empty($data['url']) ? $data['url'] : $url;
262
  // Do we have a screen capture to pull?
263
  if( isset($data['img']) && !empty($data['img']) ) {
264
  $this->delete_featured_video_image( $post['id'], $meta );
@@ -266,16 +266,17 @@ class featured_video_plus_backend {
266
  }
267
 
268
  $meta = array(
269
- 'full' => $url,
270
- 'id' => isset($data['id']) ? $data['id'] : '',
271
- 'sec' => isset($data['sec']) ? $data['sec'] : '',
272
- 'img' => isset($img) ? $img : '',
273
- 'prov' => isset($data['provider']) ? $data['provider'] : '',
274
- 'time' => isset($data['time']) ? $data['time'] : '',
275
- 'valid' => isset($data['valid']) ? $data['valid'] : true
 
276
  );
277
 
278
- update_post_meta( $post['id'], '_fvp_video', $meta );
279
  return $meta;
280
  }
281
 
@@ -311,7 +312,6 @@ class featured_video_plus_backend {
311
  case 'youtu':
312
  $provider = 'youtube';
313
  case 'youtube':
314
- // domain 11 char ID time-link parameter
315
  $pattern = '#(?:https?\:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/watch\?.+&v=))([\w-]{11})#x';
316
  preg_match($pattern, $url, $url_data);
317
  if( !isset($url_data[1]) )
@@ -326,10 +326,10 @@ class featured_video_plus_backend {
326
  parse_str( $response['body'], $result );
327
  if (isset($result['status']) && $result['status'] == 'fail'){
328
  $data = array(
329
- 'id' => $video_id,
330
  'provider' => $provider,
331
- 'url' => $url,
332
- 'api' => false
333
  );
334
  break;
335
  }
@@ -337,37 +337,40 @@ class featured_video_plus_backend {
337
  // extract info of a time-link
338
  preg_match('/t=(?:(\d+)m)?(?:(\d+)s)?/', $url, $attr);
339
  if( !empty($attr[1] ) || !empty($attr[2]) ) {
340
- $min = !empty($attr[1]) ? $attr[1]*60 : 0;
341
- $sek = !empty($attr[2]) ? $attr[2] : 0;
342
- $video_time = $min + $sek;
343
  } else {
344
  preg_match('/start=(\d+)/', $url, $attr);
345
- if( !empty($attr[1] ) )
346
- $video_time = $attr[1];
347
- else
348
- $video_time = 0;
 
 
349
  }
350
 
351
  // generate video metadata
352
  $data = array(
353
- 'id' => $video_id,
354
- 'provider' => $provider,
355
- 'time' => $video_time,
356
- 'title' => $result['title'],
 
357
  'description' => $result['keywords'],
358
- 'filename' => sanitize_file_name($result['title']),
359
- 'timestamp' => $result['timestamp'],
360
- 'author' => $result['author'],
361
- 'tags' => $result['keywords'],
362
- 'img' => ( isset($result['iurlmaxres']) && !empty($result['iurlmaxres']) ) ? $result['iurlmaxres'] : 'http://img.youtube.com/vi/' . $video_id . '/0.jpg',
363
- 'url' => ( $video_time > 0 ) ? 'http://youtu.be/'.$video_id.'#t='.floor($video_time/60).'m'.($video_time%60).'s' : 'http://youtu.be/'.$video_id
364
  );
365
 
366
  break;
367
 
368
  // vimeo.com
369
  case 'vimeo':
370
- // domain video ID
371
  $pattern = '#(?:https?://)?(?:\w+.)?vimeo.com/(?:video/|moogaloop\.swf\?clip_id=)?(\w+)#x';
372
  preg_match($pattern, $url, $url_data);
373
  $video_id = $url_data[1];
@@ -386,16 +389,16 @@ class featured_video_plus_backend {
386
 
387
  // generate video metadata
388
  $data = array(
389
- 'id' => $video_id,
390
- 'provider' => $provider,
391
- 'title' => $result[0]['title'],
392
- 'description' => $result[0]['description'],
393
- 'filename' => sanitize_file_name( $result[0]['title'] ),
394
- 'timestamp' => strtotime( $result[0]['upload_date'] ),
395
- 'author' => $result[0]['user_name'],
396
- 'tags' => $result[0]['tags'],
397
- 'img' => $result[0]['thumbnail_large'],
398
- 'url' => $result[0]['url']
399
  );
400
 
401
  break;
@@ -422,8 +425,8 @@ class featured_video_plus_backend {
422
  // extract info of a time-link
423
  preg_match('/t=(?:(\d+)m)?(?:(\d+)s)?/', $url, $attr);
424
  if( !empty($attr[1] ) || !empty($attr[2]) ) {
425
- $min = !empty($attr[1]) ? $attr[1]*60 : 0;
426
- $sek = !empty($attr[2]) ? $attr[2] : 0;
427
  $video_time = $min + $sek;
428
  } else {
429
  preg_match('/start=(\d+)/', $url, $attr);
@@ -435,17 +438,17 @@ class featured_video_plus_backend {
435
 
436
  // generate video metadata
437
  $data = array(
438
- 'id' => $video_id,
439
- 'provider' => $provider,
440
- 'time' => $video_time,
441
- 'title' => $result['title'],
442
- 'description' => $result['description'],
443
- 'filename' => sanitize_file_name($result['title']),
444
- 'timestamp' => $result['created_time'],
445
- 'author' => $result['owner.screenname'],
446
- 'tags' => implode(', ', $result['tags']),
447
- 'img' => ( isset($result['thumbnail_url']) && !empty($result['thumbnail_url']) ) ? $result['thumbnail_url'] : $result['thumbnail_large_url'],
448
- 'url' => 'http://dailymotion.com/video/'.$video_id. ( $video_time>0 ? '#t='.floor($video_time/60).'m'.($video_time%60).'s' : '')
449
  );
450
 
451
  break;
@@ -466,7 +469,7 @@ class featured_video_plus_backend {
466
  // no API provided, the plugin pulls the website and gets the video
467
  // source url and other metadata from the source code.
468
  case 'liveleak': // view-source:http://www.liveleak.com/view?i=45f_1358105976&ajax=1
469
- // domain video ID
470
  preg_match('/(?:http:\/\/)?(?:www\.)?liveleak.com\/view\?i=([\d\w]{3}_\d{10})/', $url, $url_data);
471
  if( !isset($url_data[1]) )
472
  break;
@@ -492,16 +495,16 @@ class featured_video_plus_backend {
492
  $result['title'] = isset($title[1]) ? $title[1] : '';
493
 
494
  $data = array(
495
- 'id' => $video_id,
496
- 'provider' => $provider,
497
- 'title' => $result['title'],
498
  'description' => isset($desc[1]) ? $desc[1] : '',
499
- 'filename' => sanitize_file_name($result['title']),
500
- 'timestamp' => time(),
501
- //'author' => '', // <strong>By:</strong> <a href="http://www.liveleak.com/c/k-doe">k-doe</a>
502
- //'tags' => '', // <strong>Tags:</strong> <a href="browse?q=Drive By">Drive By</a>, <a href="browse?q=Fire Extinguisher">Fire Extinguisher</a><br />
503
- 'img' => isset($result['image']) ? trim($result['image'],"\"") : '',
504
- 'url' => 'http://liveleak.com/view?i='.$video_data[1]
505
  );
506
  break;
507
  }
@@ -542,9 +545,9 @@ class featured_video_plus_backend {
542
 
543
  // Generate attachment post metadata
544
  $img_data = array(
545
- 'post_content'=> $data['description'],
546
- 'post_title' => $data['title'],
547
- 'post_name' => $data['filename']
548
  );
549
 
550
  // pull external img to local server and add to media library
@@ -554,16 +557,16 @@ class featured_video_plus_backend {
554
  // generate picture metadata
555
  $img_meta = wp_get_attachment_metadata( $img );
556
  $img_meta['image_meta'] = array(
557
- 'aperture' => 0,
558
- 'credit' => $data['id'],
559
- 'camera' => $data['provider'],
560
- 'caption' => $data['description'],
561
  'created_timestamp' => $data['timestamp'],
562
- 'copyright' => $data['author'],
563
- 'focal_length' => 0,
564
- 'iso' => 0,
565
- 'shutter_speed' => 0,
566
- 'title' => $data['title']
567
  );
568
 
569
  // save picture metadata
@@ -571,7 +574,7 @@ class featured_video_plus_backend {
571
  update_post_meta( $img, '_fvp_image', $data['provider'] . '?' . $data['id'] );
572
  }
573
 
574
- if( (get_bloginfo('version') >= 3.1) && // set_post_thumbnail was added in 3.1
575
  ( (!has_post_thumbnail( $post_id )) ||
576
  ($set_featimg) ) )
577
  set_post_thumbnail( $post_id, $img );
@@ -586,7 +589,8 @@ class featured_video_plus_backend {
586
  * @since 1.4
587
  */
588
  function delete_featured_video_image($post_id, $meta) {
589
- if(!isset($meta['img'])||empty($meta['img'])) return false;
 
590
 
591
  // Unset featured image if it is from this video
592
  delete_post_meta( $post_id, '_thumbnail_id', $meta['img'] );
@@ -606,9 +610,8 @@ class featured_video_plus_backend {
606
  public function ajax_get_embed(){
607
  header( "Content-Type: application/json" );
608
 
609
- if (!isset( $_POST['nonce'] ) ||
610
- !wp_verify_nonce( $_POST['nonce'], 'featured-video-plus-nonce' )){
611
- json_encode(array('success' => false, 'html' => 'invalid nonce'));
612
  exit();
613
  }
614
 
@@ -630,9 +633,9 @@ class featured_video_plus_backend {
630
  * @since 1.3
631
  */
632
  public function help() {
633
- $mediahref = (get_bloginfo('version') >= 3.5) ? '<a href="#" class="insert-media" title="Add Media">' : '<a href="media-upload.php?post_id=4&amp;type=video&amp;TB_iframe=1&amp;width=640&amp;height=207" id="add_video" class="thickbox" title="Add Video">';
634
- $general = (get_bloginfo('version') >= 3.6) ? sprintf( __('To use local videos, copy the <code>Link To Media File</code> from your %sMedia Library%s and paste it into the text field.', 'featured-video-plus'), $mediahref, '</a>' ) :
635
- sprintf( __('To use local videos as Featured Videos WordPress 3.6 or higher is required.', 'featured-video-plus'), $mediahref, '</a>' );
636
 
637
  $this->help_localmedia = '
638
  <h4 style="margin-bottom: 0;"></h4>
@@ -679,14 +682,14 @@ class featured_video_plus_backend {
679
  if( get_bloginfo('version') >= 3.3 ) {
680
  // LOCALVIDEOS HELP TAB
681
  $screen->add_help_tab( array(
682
- 'id' => 'fvp_help_localvideos',
683
  'title' => __('Featured Video','featured-video-plus').':&nbsp;'.__('Local Media', 'featured-video-plus'),
684
  'content' => $this->help_localmedia
685
  ));
686
 
687
  // LEGAL URLs HELP TAB
688
  $screen->add_help_tab( array(
689
- 'id' => 'fvp_help_urls',
690
  'title' => __('Featured Video','featured-video-plus').':&nbsp;'.__('Valid URLs', 'featured-video-plus'),
691
  'content' => $this->help_urls
692
  ));
28
  wp_die( 'featured_video_plus general instance required!', 'Error!' );
29
 
30
  $this->featured_video_plus = $featured_video_plus_instance;
31
+ $this->default_value = __('Video URL', 'featured-video-plus');
32
+ $this->default_value_sec = __('Fallback: same video, different format', 'featured-video-plus');
33
  }
34
 
35
  /**
69
  $options = get_option('fvp-settings');
70
  $upload_dir = wp_upload_dir();
71
  wp_localize_script( 'fvp_backend', 'fvp_backend_data', array(
72
+ 'wp_upload_dir' => $upload_dir['baseurl'],
73
+ 'loading_gif' => get_admin_url(null,'images/loading.gif'),
74
+ 'default_value' => $this->default_value,
75
  'default_value_sec' => $this->default_value_sec,
76
+ 'wp_35' => get_bloginfo('version') >= 3.5
77
  ) );
78
  }
79
 
164
  printf('<p id="fvp_set_featimg_box"'.$class.'>'."\n\t".'<span id="fvp_set_featimg_input">'."\n\t\t".'<input id="fvp_set_featimg" name="fvp_set_featimg" type="checkbox" value="set_featimg" />'."\n\t\t".'<label for="fvp_set_featimg">&nbsp;%s</label>'."\n\t".'</span>'."\n\t".'<a class="fvp_hidden" id="fvp_set_featimg_link" href="#">%s</a>'."\n".'</p>'."\n", __('Set as Featured Image', 'featured-video-plus'), __('Set as Featured Image', 'featured-video-plus') );
165
 
166
  // current theme does not support Featured Images
167
+ if( !current_theme_supports('post-thumbnails') && $options['usage'] != 'manual' )
168
  echo '<p class="fvp_warning description"><span style="font-weight: bold;">'.__('The current theme does not support Featured Images', 'featured-video-plus').':</span>&nbsp;'.sprintf(__('To display Featured Videos you need to use the <code>Shortcode</code> or <code>PHP functions</code>. To hide this notice deactivate &quot;<em>Replace Featured Images</em>&quot; in the %sMedia Settings%s.', 'featured-video-plus'), '<a href="'.get_admin_url(null, '/options-media.php').'">', '</a>' )."</p>\n\n";
169
 
170
  echo "<!-- Featured Video Plus Metabox End-->\n\n\n";
179
  */
180
  public function metabox_save($post_id){
181
 
182
+ if (( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) || // Autosave, do nothing
183
+ ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || // AJAX? Not used here
184
+ ( !current_user_can( 'edit_post', $post_id ) ) || // Check user permissions
185
+ ( false !== wp_is_post_revision( $post_id ) ) // Return if it's a post revision
186
  ) return;
187
 
188
  $post = array(
189
+ 'id' => $post_id,
190
+ 'fvp_nonce' => isset($_POST['fvp_nonce']) ? $_POST['fvp_nonce'] : '',
191
+ 'fvp_set_featimg' => isset($_POST['fvp_set_featimg']) ? $_POST['fvp_set_featimg'] : '',
192
+ 'fvp_video' => isset($_POST['fvp_video']) ? $_POST['fvp_video'] : '',
193
+ 'fvp_sec' => isset($_POST['fvp_sec']) ? $_POST['fvp_sec'] : ''
194
  );
195
  $this->save($post);
196
 
199
 
200
  public function ajax() {
201
  $post = array(
202
+ 'id' => $_POST['id'],
203
+ 'fvp_nonce' => isset($_POST['fvp_nonce']) ? $_POST['fvp_nonce'] : '',
204
  'fvp_set_featimg' => isset($_POST['fvp_set_featimg']) ? $_POST['fvp_set_featimg'] : '',
205
+ 'fvp_video' => isset($_POST['fvp_video']) ? $_POST['fvp_video'] : '',
206
+ 'fvp_sec' => isset($_POST['fvp_sec']) ? $_POST['fvp_sec'] : ''
207
  );
208
  $meta = $this->save($post);
209
 
225
  * @see http://codex.wordpress.org/Function_Reference/update_post_meta
226
  */
227
  function save($post) {
228
+ if( ( isset($post['fvp_nonce']) && // WP Form submitted..
229
  !wp_verify_nonce( $post['fvp_nonce'], FVP_NAME ) ) )
230
  return false;
231
 
233
  $meta = get_post_meta($post['id'], '_fvp_video', true);
234
 
235
  // video is empty or default value
236
+ if( !isset($post['fvp_video']) || empty($post['fvp_video']) || $post['fvp_video'] == $this->default_value )
237
  $url = '';
238
  else $url = trim($post['fvp_video']);
239
 
240
  // fallback video is empty or default value
241
+ if( !isset($post['fvp_sec']) || empty($post['fvp_sec']) || $post['fvp_sec'] == $this->default_value_sec )
242
  $sec = '';
243
  else $sec = trim($post['fvp_sec']);
244
 
258
 
259
  $data = $this->get_video_data($url, $sec);
260
 
261
+ $url = isset($data['url']) && !empty($data['url']) ? $data['url'] : $url;
262
  // Do we have a screen capture to pull?
263
  if( isset($data['img']) && !empty($data['img']) ) {
264
  $this->delete_featured_video_image( $post['id'], $meta );
266
  }
267
 
268
  $meta = array(
269
+ 'full' => $url,
270
+ 'id' => isset($data['id']) ? $data['id'] : '',
271
+ 'sec' => isset($data['sec']) ? $data['sec'] : '',
272
+ 'img' => isset($img) ? $img : '',
273
+ 'prov' => isset($data['provider']) ? $data['provider'] : '',
274
+ 'time' => isset($data['time']) ? $data['time'] : '',
275
+ 'end_time' => isset($data['end_time']) ? $data['end_time'] : '',
276
+ 'valid' => isset($data['valid']) ? $data['valid'] : true
277
  );
278
 
279
+ update_post_meta($post['id'], '_fvp_video', $meta);
280
  return $meta;
281
  }
282
 
312
  case 'youtu':
313
  $provider = 'youtube';
314
  case 'youtube':
 
315
  $pattern = '#(?:https?\:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/watch\?.+&v=))([\w-]{11})#x';
316
  preg_match($pattern, $url, $url_data);
317
  if( !isset($url_data[1]) )
326
  parse_str( $response['body'], $result );
327
  if (isset($result['status']) && $result['status'] == 'fail'){
328
  $data = array(
329
+ 'id' => $video_id,
330
  'provider' => $provider,
331
+ 'url' => $url,
332
+ 'api' => false
333
  );
334
  break;
335
  }
337
  // extract info of a time-link
338
  preg_match('/t=(?:(\d+)m)?(?:(\d+)s)?/', $url, $attr);
339
  if( !empty($attr[1] ) || !empty($attr[2]) ) {
340
+ $min = !empty($attr[1]) ? $attr[1]*60 : 0;
341
+ $sek = !empty($attr[2]) ? $attr[2] : 0;
342
+ $start_time = $min + $sek;
343
  } else {
344
  preg_match('/start=(\d+)/', $url, $attr);
345
+ if( !empty($attr[1] ) ) $start_time = $attr[1];
346
+ else $start_time = 0;
347
+
348
+ preg_match('/end=(\d+)/', $url, $attr);
349
+ if( !empty($attr[1] ) ) $end_time = $attr[1];
350
+ else $end_time = 0;
351
  }
352
 
353
  // generate video metadata
354
  $data = array(
355
+ 'id' => $video_id,
356
+ 'provider' => $provider,
357
+ 'time' => $start_time,
358
+ 'end_time' => $end_time,
359
+ 'title' => $result['title'],
360
  'description' => $result['keywords'],
361
+ 'filename' => sanitize_file_name($result['title']),
362
+ 'timestamp' => $result['timestamp'],
363
+ 'author' => $result['author'],
364
+ 'tags' => $result['keywords'],
365
+ 'img' => ( isset($result['iurlmaxres']) && !empty($result['iurlmaxres']) ) ? $result['iurlmaxres'] : 'http://img.youtube.com/vi/' . $video_id . '/0.jpg',
366
+ 'url' => ( $start_time > 0 ) ? $url : 'http://youtu.be/'.$video_id
367
  );
368
 
369
  break;
370
 
371
  // vimeo.com
372
  case 'vimeo':
373
+ // domain video ID
374
  $pattern = '#(?:https?://)?(?:\w+.)?vimeo.com/(?:video/|moogaloop\.swf\?clip_id=)?(\w+)#x';
375
  preg_match($pattern, $url, $url_data);
376
  $video_id = $url_data[1];
389
 
390
  // generate video metadata
391
  $data = array(
392
+ 'id' => $video_id,
393
+ 'provider' => $provider,
394
+ 'title' => $result[0]['title'],
395
+ 'description' => $result[0]['description'],
396
+ 'filename' => sanitize_file_name( $result[0]['title'] ),
397
+ 'timestamp' => strtotime( $result[0]['upload_date'] ),
398
+ 'author' => $result[0]['user_name'],
399
+ 'tags' => $result[0]['tags'],
400
+ 'img' => $result[0]['thumbnail_large'],
401
+ 'url' => $result[0]['url']
402
  );
403
 
404
  break;
425
  // extract info of a time-link
426
  preg_match('/t=(?:(\d+)m)?(?:(\d+)s)?/', $url, $attr);
427
  if( !empty($attr[1] ) || !empty($attr[2]) ) {
428
+ $min = !empty($attr[1]) ? $attr[1]*60 : 0;
429
+ $sek = !empty($attr[2]) ? $attr[2] : 0;
430
  $video_time = $min + $sek;
431
  } else {
432
  preg_match('/start=(\d+)/', $url, $attr);
438
 
439
  // generate video metadata
440
  $data = array(
441
+ 'id' => $video_id,
442
+ 'provider' => $provider,
443
+ 'time' => $video_time,
444
+ 'title' => $result['title'],
445
+ 'description' => $result['description'],
446
+ 'filename' => sanitize_file_name($result['title']),
447
+ 'timestamp' => $result['created_time'],
448
+ 'author' => $result['owner.screenname'],
449
+ 'tags' => implode(', ', $result['tags']),
450
+ 'img' => ( isset($result['thumbnail_url']) && !empty($result['thumbnail_url']) ) ? $result['thumbnail_url'] : $result['thumbnail_large_url'],
451
+ 'url' => 'http://dailymotion.com/video/'.$video_id. ( $video_time>0 ? '#t='.floor($video_time/60).'m'.($video_time%60).'s' : '')
452
  );
453
 
454
  break;
469
  // no API provided, the plugin pulls the website and gets the video
470
  // source url and other metadata from the source code.
471
  case 'liveleak': // view-source:http://www.liveleak.com/view?i=45f_1358105976&ajax=1
472
+ // domain video ID
473
  preg_match('/(?:http:\/\/)?(?:www\.)?liveleak.com\/view\?i=([\d\w]{3}_\d{10})/', $url, $url_data);
474
  if( !isset($url_data[1]) )
475
  break;
495
  $result['title'] = isset($title[1]) ? $title[1] : '';
496
 
497
  $data = array(
498
+ 'id' => $video_id,
499
+ 'provider' => $provider,
500
+ 'title' => $result['title'],
501
  'description' => isset($desc[1]) ? $desc[1] : '',
502
+ 'filename' => sanitize_file_name($result['title']),
503
+ 'timestamp' => time(),
504
+ //'author' => '', // <strong>By:</strong> <a href="http://www.liveleak.com/c/k-doe">k-doe</a>
505
+ //'tags' => '', // <strong>Tags:</strong> <a href="browse?q=Drive By">Drive By</a>, <a href="browse?q=Fire Extinguisher">Fire Extinguisher</a><br />
506
+ 'img' => isset($result['image']) ? trim($result['image'],"\"") : '',
507
+ 'url' => 'http://liveleak.com/view?i='.$video_data[1]
508
  );
509
  break;
510
  }
545
 
546
  // Generate attachment post metadata
547
  $img_data = array(
548
+ 'post_content' => $data['description'],
549
+ 'post_title' => $data['title'],
550
+ 'post_name' => $data['filename']
551
  );
552
 
553
  // pull external img to local server and add to media library
557
  // generate picture metadata
558
  $img_meta = wp_get_attachment_metadata( $img );
559
  $img_meta['image_meta'] = array(
560
+ 'aperture' => 0,
561
+ 'credit' => $data['id'],
562
+ 'camera' => $data['provider'],
563
+ 'caption' => $data['description'],
564
  'created_timestamp' => $data['timestamp'],
565
+ 'copyright' => $data['author'],
566
+ 'focal_length' => 0,
567
+ 'iso' => 0,
568
+ 'shutter_speed' => 0,
569
+ 'title' => $data['title']
570
  );
571
 
572
  // save picture metadata
574
  update_post_meta( $img, '_fvp_image', $data['provider'] . '?' . $data['id'] );
575
  }
576
 
577
+ if( (get_bloginfo('version') >= 3.1) && // set_post_thumbnail was added in 3.1
578
  ( (!has_post_thumbnail( $post_id )) ||
579
  ($set_featimg) ) )
580
  set_post_thumbnail( $post_id, $img );
589
  * @since 1.4
590
  */
591
  function delete_featured_video_image($post_id, $meta) {
592
+ if( !isset($meta['img']) || empty($meta['img']) )
593
+ return false;
594
 
595
  // Unset featured image if it is from this video
596
  delete_post_meta( $post_id, '_thumbnail_id', $meta['img'] );
610
  public function ajax_get_embed(){
611
  header( "Content-Type: application/json" );
612
 
613
+ if ( !isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'featured-video-plus-nonce') ){
614
+ echo json_encode(array('success' => false, 'html' => 'invalid nonce'));
 
615
  exit();
616
  }
617
 
633
  * @since 1.3
634
  */
635
  public function help() {
636
+ $mediahref = (get_bloginfo('version') >= 3.5) ? '<a href="#" class="insert-media" title="Add Media">' : '<a href="media-upload.php?post_id=4&amp;type=video&amp;TB_iframe=1&amp;width=640&amp;height=207" id="add_video" class="thickbox" title="Add Video">';
637
+ $general = (get_bloginfo('version') >= 3.6) ? sprintf( __('To use local videos, copy the <code>Link To Media File</code> from your %sMedia Library%s and paste it into the text field.', 'featured-video-plus'), $mediahref, '</a>' ) :
638
+ sprintf( __('To use local videos as Featured Videos WordPress 3.6 or higher is required.', 'featured-video-plus'), $mediahref, '</a>' );
639
 
640
  $this->help_localmedia = '
641
  <h4 style="margin-bottom: 0;"></h4>
682
  if( get_bloginfo('version') >= 3.3 ) {
683
  // LOCALVIDEOS HELP TAB
684
  $screen->add_help_tab( array(
685
+ 'id' => 'fvp_help_localvideos',
686
  'title' => __('Featured Video','featured-video-plus').':&nbsp;'.__('Local Media', 'featured-video-plus'),
687
  'content' => $this->help_localmedia
688
  ));
689
 
690
  // LEGAL URLs HELP TAB
691
  $screen->add_help_tab( array(
692
+ 'id' => 'fvp_help_urls',
693
  'title' => __('Featured Video','featured-video-plus').':&nbsp;'.__('Valid URLs', 'featured-video-plus'),
694
  'content' => $this->help_urls
695
  ));
php/frontend.php CHANGED
@@ -21,8 +21,8 @@ class featured_video_plus_frontend {
21
  * @param featured_video_plus_instance required, dies without
22
  */
23
  function __construct( $featured_video_plus_instance ) {
24
- if ( !isset($featured_video_plus_instance) )
25
- wp_die( 'featured_video_plus general instance required!', 'Error!' );
26
 
27
  $this->featured_video_plus = $featured_video_plus_instance;
28
  }
@@ -85,7 +85,8 @@ class featured_video_plus_frontend {
85
 
86
  $options = get_option( 'fvp-settings' );
87
 
88
- if (($options['usage']=='manual') || !has_post_video($post_id))
 
89
  return $html;
90
 
91
  elseif ($options['usage']=='replace')
21
  * @param featured_video_plus_instance required, dies without
22
  */
23
  function __construct( $featured_video_plus_instance ) {
24
+ if ( !isset($featured_video_plus_instance) )
25
+ wp_die( 'featured_video_plus general instance required!', 'Error!' );
26
 
27
  $this->featured_video_plus = $featured_video_plus_instance;
28
  }
85
 
86
  $options = get_option( 'fvp-settings' );
87
 
88
+ if ( ( isset($options['issingle']) && $options['issingle'] && ! is_single()) ||
89
+ ( $options['usage']=='manual' || !has_post_video($post_id) ) )
90
  return $html;
91
 
92
  elseif ($options['usage']=='replace')
php/general.php CHANGED
@@ -26,11 +26,11 @@ class featured_video_plus {
26
  if( !has_post_video($post_id) )
27
  return false;
28
 
29
- $meta = get_post_meta($post_id, '_fvp_video', true);
30
- $options= get_option( 'fvp-settings' );
31
 
32
- $size = $this->get_size($size);
33
- $size = array( 'width' => $size[0], 'height' => $size[1] );
34
 
35
  if( ! is_admin() ) {
36
  switch ( $options['autoplay'] ) {
@@ -79,43 +79,63 @@ class featured_video_plus {
79
  break;
80
 
81
  case 'vimeo':
82
- $options = get_option( 'fvp-settings' );
83
- $src = 'http://player.vimeo.com/video/'.$meta['id'].'?badge=0&amp;portrait='.$options['vimeo']['portrait'].'&amp;title='.$options['vimeo']['title'].'&amp;byline='.$options['vimeo']['byline'].'&amp;color='.$options['vimeo']['color'].'&autoplay='.$autoplay;
 
 
 
 
 
 
 
 
 
84
  $embed = "\n\t" . '<iframe src="'.$src.'" width="'.$size['width'].'" height="'.$size['height'].'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>' . "\n";
85
  break;
86
 
87
  case 'youtube':
88
- $theme = isset($options['youtube']['theme']) ? $options['youtube']['theme'] : 'dark';
89
- $color = isset($options['youtube']['color']) ? $options['youtube']['color'] : 'red';
90
- $jsapi = isset($options['youtube']['jsapi']) ? $options['youtube']['jsapi'] : '0&playerapiid=fvpyt'.$post_id;
91
- $info = isset($options['youtube']['info']) ? $options['youtube']['info'] : 1;
92
- $logo = isset($options['youtube']['logo']) ? $options['youtube']['logo'] : 1;
93
- $rel = isset($options['youtube']['rel']) ? $options['youtube']['rel'] : 1;
94
- $fs = isset($options['youtube']['fs']) ? $options['youtube']['fs'] : 1;
95
- $wmode = isset($options['youtube']['wmode'])&& $options['youtube']['wmode'] != 'auto' ? '&wmode='.$options['youtube']['wmode'] : '';
96
-
97
- $src = 'http://www.youtube.com/embed/'.$meta['id'].'?theme='.$theme.$wmode.'&color='.$color.'&showinfo='.$info.'&modestbranding='.$logo.'&enablejsapi='.$jsapi.'&origin='.esc_attr(home_url()).'&rel='.$rel.'&fs='.$fs.'&start='.$meta['time'].'&autoplay='.$autoplay;
 
 
 
 
 
 
 
 
98
  $embed = "\n\t" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="'.$src.'" type="text/html" frameborder="0" id="fvpyt'.$post_id.'"></iframe>' . "\n";
99
  break;
100
 
101
  case 'dailymotion':
102
- $foreground = isset($options['dailymotion']['foreground']) ? $options['dailymotion']['foreground'] : 'F7FFFD';
103
- $highlight = isset($options['dailymotion']['highlight']) ? $options['dailymotion']['highlight'] : 'FFC300';
104
- $background = isset($options['dailymotion']['background']) ? $options['dailymotion']['background'] : '171D1B';
105
- $logo = isset($options['dailymotion']['logo']) ? $options['dailymotion']['logo'] : 1;
106
- $hideinfo = isset($options['dailymotion']['info']) ?1-$options['dailymotion']['info'] : 0;
107
- $syndication = empty($options['dailymotion']['syndication']) ? '' : '&syndication='.$options['dailymotion']['syndication'];
108
-
109
- $dm['src'] = 'http://www.dailymotion.com/embed/video/'.$meta['id'].'?logo='.$logo.'&hideInfos='.$hideinfo.'&foreground=%23'.$foreground.'&highlight=%23'.$highlight.'&background=%23'.$background.$syndication.'&start='.$meta['time'].'&autoplay='.$autoplay;
110
- $embed = "\n" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="'.$dm['src'].'" frameborder="0"></iframe>' . "\n";
 
 
 
111
  break;
112
 
113
  case 'liveleak':
114
- $embed = "\n" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="http://www.liveleak.com/ll_embed?f='.$meta['id'].'" frameborder="0" allowfullscreen></iframe>';
115
  break;
116
 
117
  case 'prochan':
118
- $embed = "\n" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="http://www.prochan.com/embed?f='.$meta['id'].'" frameborder="0" allowfullscreen></iframe>';
119
  break;
120
 
121
  default:
26
  if( !has_post_video($post_id) )
27
  return false;
28
 
29
+ $meta = get_post_meta($post_id, '_fvp_video', true);
30
+ $options = get_option( 'fvp-settings' );
31
 
32
+ $size = $this->get_size($size);
33
+ $size = array( 'width' => $size[0], 'height' => $size[1] );
34
 
35
  if( ! is_admin() ) {
36
  switch ( $options['autoplay'] ) {
79
  break;
80
 
81
  case 'vimeo':
82
+ $option = $options['vimeo'];
83
+ $params = array(
84
+ 'badge' => 0,
85
+ 'portrait' => $option['portrait'],
86
+ 'title' => $option['title'],
87
+ 'byline' => $option['byline'],
88
+ 'color' => $option['color'],
89
+ 'autoplay' => $autoplay
90
+ );
91
+
92
+ $src = '//player.vimeo.com/video/'.$meta['id'].'?'.http_build_query($params);
93
  $embed = "\n\t" . '<iframe src="'.$src.'" width="'.$size['width'].'" height="'.$size['height'].'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>' . "\n";
94
  break;
95
 
96
  case 'youtube':
97
+ $option = $options['youtube'];
98
+ $params = array(
99
+ 'origin' => esc_attr(home_url()),
100
+ 'theme' => isset($option['theme']) ? $option['theme'] : 'dark',
101
+ 'color' => isset($option['color']) ? $option['color'] : 'red',
102
+ 'enablejsapi' => isset($option['jsapi']) ? $option['jsapi'] : null,
103
+ 'showinfo' => isset($option['info']) ? $option['info'] : 1,
104
+ 'modestbranding' => isset($option['logo']) ? $option['logo'] : 1,
105
+ 'rel' => isset($option['rel']) ? $option['rel'] : 1,
106
+ 'fs' => isset($option['fs']) ? $option['fs'] : 1,
107
+ 'start' => isset($meta['time']) ? $meta['time'] : null,
108
+ 'end' => isset($meta['end_time']) ? $meta['end_time'] : null,
109
+ 'autoplay' => $autoplay,
110
+ 'wmode' => isset($option['wmode']) && $option['wmode'] != 'auto' ? $option['wmode'] : null,
111
+ 'playerapiid' => isset($option['jsapi']) && $option['jsapi'] == 1 ? 'fvpyt'.$post_id : null,
112
+ );
113
+
114
+ $src = '//www.youtube.com/embed/'.$meta['id'].'?'.http_build_query($params);
115
  $embed = "\n\t" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="'.$src.'" type="text/html" frameborder="0" id="fvpyt'.$post_id.'"></iframe>' . "\n";
116
  break;
117
 
118
  case 'dailymotion':
119
+ $option = $options['dailymotion'];
120
+ $params = array(
121
+ 'foreground' => isset($option['foreground']) ? $option['foreground'] : null,
122
+ 'highlight' => isset($option['highlight']) ? $option['highlight'] : null,
123
+ 'background' => isset($option['background']) ? $option['background'] : null,
124
+ 'logo' => isset($option['logo']) ? $option['logo'] : 1,
125
+ 'hideInfos' => isset($option['info']) ? 1-$option['info'] : 0,
126
+ 'syndication' => empty($option['syndication']) ? null : $option['syndication'],
127
+ 'start' => $meta['time']
128
+ );
129
+ $src = '//www.dailymotion.com/embed/video/'.$meta['id'].'?'.http_build_query($params);
130
+ $embed = "\n" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="'.$src.'" frameborder="0"></iframe>' . "\n";
131
  break;
132
 
133
  case 'liveleak':
134
+ $embed = "\n" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="//www.liveleak.com/ll_embed?f='.$meta['id'].'" frameborder="0" allowfullscreen></iframe>';
135
  break;
136
 
137
  case 'prochan':
138
+ $embed = "\n" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="//www.prochan.com/embed?f='.$meta['id'].'" frameborder="0" allowfullscreen></iframe>';
139
  break;
140
 
141
  default:
php/settings.php CHANGED
@@ -18,17 +18,17 @@ class featured_video_plus_settings {
18
  * @since 1.0
19
  */
20
  function settings_init() {
21
- add_settings_section('fvp-settings-section', __('Featured Videos', 'featured-video-plus'), array( &$this, 'settings_content' ), 'media');
22
-
23
- add_settings_field('fvp-settings-usage', __('Usage', 'featured-video-plus'), array( &$this, 'settings_usage' ), 'media', 'fvp-settings-section');
24
- add_settings_field('fvp-settings-autoplay', __('Autoplay', 'featured-video-plus'), array( &$this, 'settings_autoplay' ), 'media', 'fvp-settings-section');
25
- add_settings_field('fvp-settings-sizing', __('Video Sizing', 'featured-video-plus'), array( &$this, 'settings_sizing' ), 'media', 'fvp-settings-section');
26
- add_settings_field('fvp-settings-align', __('Video Align', 'featured-video-plus'), array( &$this, 'settings_align' ), 'media', 'fvp-settings-section');
27
- add_settings_field('fvp-settings-local', __('Local Video Options', 'featured-video-plus'), array( &$this, 'settings_local' ), 'media', 'fvp-settings-section');
28
- add_settings_field('fvp-settings-youtube', __('YouTube Options', 'featured-video-plus'), array( &$this, 'settings_youtube' ), 'media', 'fvp-settings-section');
29
- add_settings_field('fvp-settings-vimeo', __('Vimeo Options', 'featured-video-plus'), array( &$this, 'settings_vimeo' ), 'media', 'fvp-settings-section');
30
- add_settings_field('fvp-settings-dailymotion',__('Dailymotion Options', 'featured-video-plus'), array( &$this, 'settings_dailymotion' ),'media', 'fvp-settings-section');
31
- add_settings_field('fvp-settings-rate', __('Support', 'featured-video-plus'), array( &$this, 'settings_rate' ), 'media', 'fvp-settings-section');
32
 
33
  register_setting('media', 'fvp-settings', array( &$this, 'settings_save' ));
34
  }
@@ -54,10 +54,14 @@ class featured_video_plus_settings {
54
  * @since 1.7
55
  */
56
  function settings_usage() {
57
- $options = get_option( 'fvp-settings' );
58
- $usage = isset($options['usage']) ? $options['usage'] : 'replace';
 
59
  ?>
60
 
 
 
 
61
 
62
  <input type="radio" name="fvp-settings[usage]" id="fvp-settings-usage-1" value="replace" <?php checked( 'replace', $usage ) ?>/><label for="fvp-settings-usage-1">&nbsp;<?php _e('Replace featured image automatically if possible', 'featured-video-plus'); ?>&nbsp;<span style="font-style: italic;">(<?php _e('default', 'featured-video-plus'); ?>)</span></label><br />
63
  <input type="radio" name="fvp-settings[usage]" id="fvp-settings-usage-2" value="overlay" <?php checked( 'overlay', $usage ) ?>/><label for="fvp-settings-usage-2">&nbsp;<?php _e('Open video overlay when featured image is clicked. Define width below!', 'featured-video-plus'); ?></label><br />
@@ -78,15 +82,15 @@ if( !current_theme_supports('post-thumbnails') )
78
  * @since 1.4
79
  */
80
  function settings_autoplay() {
81
- $options = get_option( 'fvp-settings' );
82
  $autoplay = isset($options['autoplay']) ? $options['autoplay'] : 'no';
83
  ?>
84
 
85
- <input type="radio" name="fvp-settings[autoplay]" id="fvp-settings-autoplay-1" value="yes" <?php checked( 'yes', $autoplay ) ?>/>
86
  <label for="fvp-settings-autoplay-1">&nbsp;<?php _e('yes', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
87
- <input type="radio" name="fvp-settings[autoplay]" id="fvp-settings-autoplay-2" value="auto" <?php checked( 'auto', $autoplay ) ?>/>
88
  <label for="fvp-settings-autoplay-2">&nbsp;<?php _e('auto', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
89
- <input type="radio" name="fvp-settings[autoplay]" id="fvp-settings-autoplay-3" value="no" <?php checked( 'no', $autoplay ) ?>/>
90
  <label for="fvp-settings-autoplay-2">&nbsp;<?php _e('no', 'featured-video-plus'); ?>&nbsp;<span style="font-style: italic;">(<?php _e('default', 'featured-video-plus'); ?>)</span></label>
91
 
92
  <?php }
@@ -139,9 +143,9 @@ if( !current_theme_supports('post-thumbnails') )
139
  function settings_align() {
140
  $align = isset($options['align']) ? $options['align'] : 'center'; ?>
141
 
142
- <input type="radio" name="fvp-settings[align]" id="fvp-settings-align-1" value="left" <?php checked( 'left', $align, true ) ?>/><label for="fvp-settings-align-1">&nbsp;<?php _e('left', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
143
- <input type="radio" name="fvp-settings[align]" id="fvp-settings-align-2" value="center" <?php checked( 'center',$align, true ) ?>/><label for="fvp-settings-align-2">&nbsp;<?php _e('center', 'featured-video-plus'); ?>&nbsp;<span style="font-style: italic;">(<?php _e('default', 'featured-video-plus'); ?>)</span></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
144
- <input type="radio" name="fvp-settings[align]" id="fvp-settings-align-3" value="right" <?php checked( 'right', $align, true ) ?>/><label for="fvp-settings-align-3">&nbsp;<?php _e('right', 'featured-video-plus'); ?></label>
145
 
146
  <?php }
147
  /**
@@ -151,11 +155,11 @@ if( !current_theme_supports('post-thumbnails') )
151
  */
152
  function settings_local() {
153
  $options = get_option( 'fvp-settings' );
154
- $local['poster'] = isset($options['local']['poster']) ? $options['local']['poster'] : false;
155
- $local['loop'] = isset($options['local']['loop']) ? $options['local']['loop'] : false; ?>
156
 
157
- <input type="checkbox" name="fvp-settings[local][poster]" id="fvp-settings-local-poster" value="true" <?php checked( true, $local['poster'], 1 ) ?>/><label for="fvp-settings-local-poster">&nbsp;<?php _e('Use featured image as video thumbnail', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
158
- <input type="checkbox" name="fvp-settings[local][loop]" id="fvp-settings-local-loop" value="true" <?php checked( true, $local['loop'], 1 ) ?>/><label for="fvp-settings-local-loop">&nbsp;<?php _e('Loop videos', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
159
 
160
  <?php }
161
 
@@ -167,31 +171,31 @@ if( !current_theme_supports('post-thumbnails') )
167
  */
168
  function settings_youtube() {
169
  $options = get_option( 'fvp-settings' );
170
- $youtube['theme'] = isset($options['youtube']['theme']) ? $options['youtube']['theme'] : 'dark';
171
- $youtube['color'] = isset($options['youtube']['color']) ? $options['youtube']['color'] : 'red';
172
- $youtube['wmode'] = isset($options['youtube']['wmode']) ? $options['youtube']['wmode'] : 'auto';
173
- $youtube['jsapi'] = isset($options['youtube']['jsapi']) ? $options['youtube']['jsapi'] : 0;
174
- $youtube['info'] = isset($options['youtube']['info']) ? $options['youtube']['info'] : 1;
175
- $youtube['logo'] = isset($options['youtube']['logo']) ? $options['youtube']['logo'] : 1;
176
- $youtube['rel'] = isset($options['youtube']['rel']) ? $options['youtube']['rel'] : 1;
177
- $youtube['fs'] = isset($options['youtube']['fs']) ? $options['youtube']['fs'] : 1; ?>
178
-
179
- <input type="checkbox" name="fvp-settings[youtube][theme]" id="fvp-settings-youtube-theme" value="light" <?php checked( 'light', $youtube['theme'],1 ) ?>/><label for="fvp-settings-youtube-theme">&nbsp;<?php _e('Light Theme', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
180
- <input type="checkbox" name="fvp-settings[youtube][fs]" id="fvp-settings-youtube-fs" value="true" <?php checked( 1, $youtube['fs'], 1 ) ?>/><label for="fvp-settings-youtube-fs">&nbsp;<?php _e('Fullscreen Button', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
181
  <select name="fvp-settings[youtube][wmode]" id="fvp-settings-youtube-wmode" size="1">
182
- <option<?php selected($youtube['wmode'],'auto'); ?>>auto</option>
183
  <option<?php selected($youtube['wmode'],'transparent'); ?>>transparent</option>
184
- <option<?php selected($youtube['wmode'],'opaque'); ?>>opaque</option>
185
  </select>
186
  <label for="fvp-settings-youtube-wmode">&quot;wmode&quot;</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
187
  <br />
188
- <input type="checkbox" name="fvp-settings[youtube][info]" id="fvp-settings-youtube-info" value="true" <?php checked( 1, $youtube['info'], 1 ) ?>/><label for="fvp-settings-youtube-info">&nbsp;<?php _e('Info', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
189
 
190
- <input type="checkbox" name="fvp-settings[youtube][rel]" id="fvp-settings-youtube-rel" value="true" <?php checked( 1, $youtube['rel'], 1 ) ?>/><label for="fvp-settings-youtube-rel">&nbsp;<?php _e('Related Videos', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
191
- <input type="checkbox" name="fvp-settings[youtube][jsapi]" id="fvp-settings-youtube-jsapi" value="true" <?php checked( 1, $youtube['jsapi'],1 ) ?>/><label for="fvp-settings-youtube-jsapi">&nbsp;<?php _e('Javascript API', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
192
- <input type="checkbox" name="fvp-settings[youtube][color]" id="fvp-settings-youtube-color" value="white" <?php checked( 'white',$youtube['color'],1 ) ?>/><label for="fvp-settings-youtube-color">&nbsp;<?php _e('White Progressbar','featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
193
  <span id="youtube_logoinput_wrapper"<?php if($youtube['color'] != 'red') echo ' class="fvp_hidden"'; ?>>
194
- <input type="checkbox" name="fvp-settings[youtube][logo]" id="fvp-settings-youtube-logo" value="true" <?php checked( 1, $youtube['logo'], 1 ) ?>/><label for="fvp-settings-youtube-logo">&nbsp;<?php _e('Logo', 'featured-video-plus'); ?></label>
195
  </span>
196
 
197
  <?php
@@ -207,19 +211,19 @@ if( !current_theme_supports('post-thumbnails') )
207
  */
208
  function settings_vimeo() {
209
  $options = get_option( 'fvp-settings' );
210
- $vimeo['portrait']= isset($options['vimeo']['portrait'])? $options['vimeo']['portrait'] : 0;
211
- $vimeo['title' ] = isset($options['vimeo']['title' ]) ? $options['vimeo']['title' ] : 1;
212
- $vimeo['byline'] = isset($options['vimeo']['byline']) ? $options['vimeo']['byline'] : 1;
213
- $vimeo['color' ] = isset($options['vimeo']['color' ]) ? $options['vimeo']['color' ] : '00adef'; ?>
214
 
215
  <div style="position: relative; bottom: .6em;">
216
- <input type="checkbox" name="fvp-settings[vimeo][portrait]" id="fvp-settings-vimeo-1" value="display" <?php checked( 1, $vimeo['portrait'], 1 ) ?>/><label for="fvp-settings-vimeo-1">&nbsp;<?php _e('Portrait', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
217
- <input type="checkbox" name="fvp-settings[vimeo][title]" id="fvp-settings-vimeo-2" value="display" <?php checked( 1, $vimeo['title'], 1 ) ?>/><label for="fvp-settings-vimeo-2">&nbsp;<?php _e('Title', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
218
- <input type="checkbox" name="fvp-settings[vimeo][byline]" id="fvp-settings-vimeo-3" value="display" <?php checked( 1, $vimeo['byline'], 1 ) ?>/><label for="fvp-settings-vimeo-3">&nbsp;<?php _e('Byline', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
219
- <span class="color-picker" style="position: relative;<?php if( wp_style_is( 'wp-color-picker', 'done' ) ) echo ' top: .6em;'; ?>" >
220
  <input type="text" name="fvp-settings[vimeo][color]" id="fvp-settings-vimeo-color" class="fvp_colorpicker_input" value="#<?php echo $vimeo['color'] ?>" data-default-color="#00adef" />
221
  <label for="fvp-settings-vimeo-color" style="display: none;">&nbsp;<?php _e('Color', 'featured-video-plus'); ?></label>
222
- <?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-vimeo-colorpicker"></div><?php } ?>
223
  </span>
224
  </div>
225
  <p class="description"><?php _e('Vimeo Plus Videos might ignore these settings.', 'featured-video-plus'); ?></p>
@@ -237,28 +241,28 @@ if( !current_theme_supports('post-thumbnails') )
237
  */
238
  function settings_dailymotion() {
239
  $options = get_option( 'fvp-settings' );
240
- $dailymotion['logo'] = isset($options['dailymotion']['logo']) ? $options['dailymotion']['logo'] : 1;
241
- $dailymotion['info'] = isset($options['dailymotion']['info']) ? $options['dailymotion']['info'] : 1;
242
- $dailymotion['synd'] = isset($options['dailymotion']['synd']) ? $options['dailymotion']['syndication']: '';
243
- $dailymotion['foreground']= isset($options['dailymotion']['foreground'])? $options['dailymotion']['foreground'] : 'f7fffd';
244
- $dailymotion['highlight' ]= isset($options['dailymotion']['highlight' ])? $options['dailymotion']['highlight' ] : 'ffc300';
245
- $dailymotion['background']= isset($options['dailymotion']['background'])? $options['dailymotion']['background'] : '171d1b'; ?>
246
-
247
- <input type="checkbox" name="fvp-settings[dailymotion][logo]" id="fvp-settings-dailymotion-logo" value="display" <?php checked( 1, $dailymotion['logo'], 1 ) ?>/> <label for="fvp-settings-dailymotion-logo">&nbsp;<?php _e('Logo', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
248
- <input type="checkbox" name="fvp-settings[dailymotion][info]" id="fvp-settings-dailymotion-info" value="display" <?php checked( 1, $dailymotion['info'], 1 ) ?>/> <label for="fvp-settings-dailymotion-info">&nbsp;<?php _e('Videoinfo', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
249
- <input type="text" name="fvp-settings[dailymotion][synd]" id="fvp-settings-dailymotion-synd" value="<?php echo $dailymotion['synd']; ?>" size="6" /> <label for="fvp-settings-dailymotion-synd">&nbsp;<?php _e('Syndication Key', 'featured-video-plus'); ?></label>
250
  <br />
251
- <span class="color-picker" style="position: relative;<?php if( wp_style_is( 'wp-color-picker', 'done' ) ) echo ' top: .6em;'; ?>" >
252
  <input type="text" name="fvp-settings[dailymotion][foreground]" id="fvp-settings-dailymotion-foreground" class="fvp_colorpicker_input" value="#<?php echo $dailymotion['foreground'] ?>" data-default-color="#f7fffd" />
253
  <label for="fvp-settings-dailymotion-foreground" style="display: none;">&nbsp;<?php _e('Foreground', 'featured-video-plus'); ?></label>
254
  <?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-dailymotion-foreground-colorpicker"></div><?php } ?>
255
  </span>
256
- <span class="color-picker" style="position: relative;<?php if( wp_style_is( 'wp-color-picker', 'done' ) ) echo ' top: .6em;'; ?>" >
257
  <input type="text" name="fvp-settings[dailymotion][highlight]" id="fvp-settings-dailymotion-highlight" class="fvp_colorpicker_input" value="#<?php echo $dailymotion['highlight'] ?>" data-default-color="#ffc300" />
258
  <label for="fvp-settings-dailymotion-highlight" style="display: none;">&nbsp;<?php _e('Highlight', 'featured-video-plus'); ?></label>
259
  <?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-dailymotion-highlight-colorpicker"></div><?php } ?>
260
  </span>
261
- <span class="color-picker" style="position: relative;<?php if( wp_style_is( 'wp-color-picker', 'done' ) ) echo ' top: .6em;'; ?>" >
262
  <input type="text" name="fvp-settings[dailymotion][background]" id="fvp-settings-dailymotion-background" class="fvp_colorpicker_input" value="#<?php echo $dailymotion['background'] ?>" data-default-color="#171d1b" />
263
  <label for="fvp-settings-dailymotion-background" style="display: none;">&nbsp;<?php _e('Background', 'featured-video-plus'); ?></label>
264
  <?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-dailymotion-background-colorpicker"></div><?php } ?>
@@ -278,8 +282,8 @@ if( !current_theme_supports('post-thumbnails') )
278
  echo '<p>';
279
  printf(
280
  __('If you have found a bug or are missing a specific video service, please %slet me know%s in the support forum. Elsewise, if you like the plugin: Please %srate it!%s', 'featured-video-plus'),
281
- '<a href="http://wordpress.org/support/plugin/featured-video-plus#plugin-title" title="Featured Video Plus Support Forum on WordPress.org" target="_blank" style="font-weight: bold;">', '</a>',
282
- '<a href="http://wordpress.org/support/view/plugin-reviews/featured-video-plus#plugin-title" title="Rate Featured Video Plus on WordPress.org" target="_blank" style="font-weight: bold;">', '</a>'
283
  );
284
  echo '</p>';
285
  }
@@ -295,58 +299,59 @@ if( !current_theme_supports('post-thumbnails') )
295
  $options = get_option( 'fvp-settings' );
296
 
297
  // Usage
298
- $options['usage'] = isset($input['usage']) ? $input['usage'] : 'replace';
 
299
 
300
  // Sizing
301
  if(isset($input['sizing']['width' ]['fixed'])) {
302
- preg_match($numbers, $input['sizing']['width' ]['fixed'], $width );
303
- $options['sizing']['width' ] = isset($width[ 0]) ? $width[ 0] : 560;
304
  }
305
  if(isset($input['sizing']['height' ]['fixed'])) {
306
  preg_match($numbers, $input['sizing']['height']['fixed'], $height);
307
  $options['sizing']['height'] = isset($height[0]) ? $height[0] : 315;
308
  }
309
- $options['sizing']['wmode' ] = isset($input['sizing']['width' ]['auto'])? 'auto' : 'fixed';
310
- $options['sizing']['hmode' ] = isset($input['sizing']['height' ]['auto'])? 'auto' : 'fixed';
311
 
312
  // Align
313
  $options['align' ] = isset($input['align']) ? $input['align'] : 'center';
314
 
315
  // Autoplay
316
- $options['autoplay'] = isset( $input['autoplay'] ) ? $input['autoplay'] : 'no'; //yes/auto/no
317
 
318
  // Local
319
- $options['local']['poster'] = isset( $input['local']['poster'] ) ? true : false;
320
- $options['local']['loop'] = isset( $input['local']['loop'] ) ? true : false;
321
 
322
  // YouTube
323
- $options['youtube']['theme'] = isset($input['youtube']['theme']) && ( $input['youtube']['theme'] == 'light') ? 'light' : 'dark';
324
- $options['youtube']['color'] = isset($input['youtube']['color']) && ( $input['youtube']['color'] == 'white') ? 'white' : 'red';
325
- $options['youtube']['wmode'] = isset($input['youtube']['wmode']) ? $input['youtube']['wmode'] : 'auto';
326
- $options['youtube']['jsapi'] = isset($input['youtube']['jsapi']) && ( $input['youtube']['jsapi'] == 'true' ) ? 1 : 0;
327
- $options['youtube']['info'] = isset($input['youtube']['info']) && ( $input['youtube']['info'] == 'true' ) ? 1 : 0;
328
- $options['youtube']['logo'] = isset($input['youtube']['logo']) && ( $input['youtube']['logo'] == 'true' ) ? 1 : 0;
329
- $options['youtube']['rel'] = isset($input['youtube']['rel']) && ( $input['youtube']['rel'] == 'true' ) ? 1 : 0;
330
- $options['youtube']['fs'] = isset($input['youtube']['fs']) && ( $input['youtube']['fs'] == 'true' ) ? 1 : 0;
331
 
332
  // Vimeo
333
- $options['vimeo']['portrait'] = isset($input['vimeo']['portrait'])&& ( $input['vimeo']['portrait'] == 'display' ) ? 1 : 0;
334
- $options['vimeo']['title'] = isset($input['vimeo']['title']) && ( $input['vimeo']['title'] == 'display' ) ? 1 : 0;
335
- $options['vimeo']['byline'] = isset($input['vimeo']['byline']) && ( $input['vimeo']['byline'] == 'display' ) ? 1 : 0;
336
 
337
  if( isset($options['vimeo']['color']) ) preg_match($hexcolor, $input['vimeo']['color'], $vimeocolor);
338
  $options['vimeo']['color'] = isset($vimeocolor[1]) && !empty($vimeocolor[1]) ? $vimeocolor[1] : '00adef';
339
 
340
  // Dailymotion
341
- $options['dailymotion']['logo'] = isset($input['dailymotion']['logo']) && ( $input['dailymotion']['logo'] == 'display' ) ? 1 : 0;
342
- $options['dailymotion']['info'] = isset($input['dailymotion']['info']) && ( $input['dailymotion']['info'] == 'display' ) ? 1 : 0;
343
- $options['dailymotion']['syndication']= isset($input['dailymotion']['synd']) && !empty($input['dailymotion']['synd']) ? $input['dailymotion']['synd'] : '';
344
 
345
  if( isset($options['dailymotion']['foreground']) ) preg_match($hexcolor, $input['dailymotion']['foreground'], $dm_foreground);
346
  if( isset($options['dailymotion']['highlight']) ) preg_match($hexcolor, $input['dailymotion']['highlight'], $dm_highlight);
347
  if( isset($options['dailymotion']['background']) ) preg_match($hexcolor, $input['dailymotion']['background'], $dm_background);
348
  $options['dailymotion']['foreground'] = isset($dm_foreground[1]) && !empty($dm_foreground[1])? $dm_foreground[1] : 'f7fffd';
349
- $options['dailymotion']['highlight'] = isset($dm_highlight[ 1]) && !empty($dm_highlight[ 1])? $dm_highlight[ 1] : 'ffc300';
350
  $options['dailymotion']['background'] = isset($dm_background[1]) && !empty($dm_background[1])? $dm_background[1] : '171d1b';
351
 
352
  return $options;
@@ -409,7 +414,7 @@ if( !current_theme_supports('post-thumbnails') )
409
 
410
  // PHP FUNCTIONS HELP TAB
411
  $screen->add_help_tab( array(
412
- 'id' => 'fvp_help_functions',
413
  'title' => 'Featured Video Plus: '.__('PHP-Functions','featured-video-plus'),
414
  'content' => $this->help_functions
415
  ));
18
  * @since 1.0
19
  */
20
  function settings_init() {
21
+ add_settings_section('fvp-settings-section', __('Featured Videos', 'featured-video-plus'), array( &$this, 'settings_content' ), 'media');
22
+
23
+ add_settings_field('fvp-settings-usage', __('Usage', 'featured-video-plus'), array( &$this, 'settings_usage' ), 'media', 'fvp-settings-section');
24
+ add_settings_field('fvp-settings-autoplay', __('Autoplay', 'featured-video-plus'), array( &$this, 'settings_autoplay' ), 'media', 'fvp-settings-section');
25
+ add_settings_field('fvp-settings-sizing', __('Video Sizing', 'featured-video-plus'), array( &$this, 'settings_sizing' ), 'media', 'fvp-settings-section');
26
+ add_settings_field('fvp-settings-align', __('Video Align', 'featured-video-plus'), array( &$this, 'settings_align' ), 'media', 'fvp-settings-section');
27
+ add_settings_field('fvp-settings-local', __('Local Video Options', 'featured-video-plus'),array( &$this, 'settings_local' ), 'media', 'fvp-settings-section');
28
+ add_settings_field('fvp-settings-youtube', __('YouTube Options', 'featured-video-plus'), array( &$this, 'settings_youtube' ), 'media', 'fvp-settings-section');
29
+ add_settings_field('fvp-settings-vimeo', __('Vimeo Options', 'featured-video-plus'), array( &$this, 'settings_vimeo' ), 'media', 'fvp-settings-section');
30
+ add_settings_field('fvp-settings-dailymotion',__('Dailymotion Options', 'featured-video-plus'),array( &$this, 'settings_dailymotion' ),'media', 'fvp-settings-section');
31
+ add_settings_field('fvp-settings-rate', __('Support', 'featured-video-plus'), array( &$this, 'settings_rate' ), 'media', 'fvp-settings-section');
32
 
33
  register_setting('media', 'fvp-settings', array( &$this, 'settings_save' ));
34
  }
54
  * @since 1.7
55
  */
56
  function settings_usage() {
57
+ $options = get_option( 'fvp-settings' );
58
+ $usage = isset($options['usage']) ? $options['usage'] : 'replace';
59
+ $issingle = isset($options['issingle']) ? $options['issingle'] : false;
60
  ?>
61
 
62
+ <input type="checkbox" name="fvp-settings[issingle]" id="fvp-settings-issingle" value="true" <?php checked(true, $issingle) ?>/>
63
+ <label for="fvp-settings-issingle"><?php _e('Only show video when viewing single post/page, otherwise show post thumbnail.', 'featured-video-plus') ?></label>
64
+ <br /><br />
65
 
66
  <input type="radio" name="fvp-settings[usage]" id="fvp-settings-usage-1" value="replace" <?php checked( 'replace', $usage ) ?>/><label for="fvp-settings-usage-1">&nbsp;<?php _e('Replace featured image automatically if possible', 'featured-video-plus'); ?>&nbsp;<span style="font-style: italic;">(<?php _e('default', 'featured-video-plus'); ?>)</span></label><br />
67
  <input type="radio" name="fvp-settings[usage]" id="fvp-settings-usage-2" value="overlay" <?php checked( 'overlay', $usage ) ?>/><label for="fvp-settings-usage-2">&nbsp;<?php _e('Open video overlay when featured image is clicked. Define width below!', 'featured-video-plus'); ?></label><br />
82
  * @since 1.4
83
  */
84
  function settings_autoplay() {
85
+ $options = get_option( 'fvp-settings' );
86
  $autoplay = isset($options['autoplay']) ? $options['autoplay'] : 'no';
87
  ?>
88
 
89
+ <input type="radio" name="fvp-settings[autoplay]" id="fvp-settings-autoplay-1" value="yes" <?php checked('yes', $autoplay) ?>/>
90
  <label for="fvp-settings-autoplay-1">&nbsp;<?php _e('yes', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
91
+ <input type="radio" name="fvp-settings[autoplay]" id="fvp-settings-autoplay-2" value="auto" <?php checked('auto', $autoplay) ?>/>
92
  <label for="fvp-settings-autoplay-2">&nbsp;<?php _e('auto', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
93
+ <input type="radio" name="fvp-settings[autoplay]" id="fvp-settings-autoplay-3" value="no" <?php checked('no', $autoplay) ?>/>
94
  <label for="fvp-settings-autoplay-2">&nbsp;<?php _e('no', 'featured-video-plus'); ?>&nbsp;<span style="font-style: italic;">(<?php _e('default', 'featured-video-plus'); ?>)</span></label>
95
 
96
  <?php }
143
  function settings_align() {
144
  $align = isset($options['align']) ? $options['align'] : 'center'; ?>
145
 
146
+ <input type="radio" name="fvp-settings[align]" id="fvp-settings-align-1" value="left" <?php checked('left', $align, true) ?>/><label for="fvp-settings-align-1">&nbsp;<?php _e('left', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
147
+ <input type="radio" name="fvp-settings[align]" id="fvp-settings-align-2" value="center" <?php checked('center',$align, true) ?>/><label for="fvp-settings-align-2">&nbsp;<?php _e('center', 'featured-video-plus'); ?>&nbsp;<span style="font-style: italic;">(<?php _e('default', 'featured-video-plus'); ?>)</span></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
148
+ <input type="radio" name="fvp-settings[align]" id="fvp-settings-align-3" value="right" <?php checked('right', $align, true) ?>/><label for="fvp-settings-align-3">&nbsp;<?php _e('right', 'featured-video-plus'); ?></label>
149
 
150
  <?php }
151
  /**
155
  */
156
  function settings_local() {
157
  $options = get_option( 'fvp-settings' );
158
+ $local['poster'] = isset($options['local']['poster']) ? $options['local']['poster'] : false;
159
+ $local['loop'] = isset($options['local']['loop']) ? $options['local']['loop'] : false; ?>
160
 
161
+ <input type="checkbox" name="fvp-settings[local][poster]" id="fvp-settings-local-poster" value="true" <?php checked(true, $local['poster'], 1) ?>/><label for="fvp-settings-local-poster">&nbsp;<?php _e('Use featured image as video thumbnail', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
162
+ <input type="checkbox" name="fvp-settings[local][loop]" id="fvp-settings-local-loop" value="true" <?php checked(true, $local['loop'], 1) ?>/><label for="fvp-settings-local-loop">&nbsp;<?php _e('Loop videos', 'featured-video-plus'); ?></label>
163
 
164
  <?php }
165
 
171
  */
172
  function settings_youtube() {
173
  $options = get_option( 'fvp-settings' );
174
+ $youtube['theme'] = isset($options['youtube']['theme']) ? $options['youtube']['theme'] : 'dark';
175
+ $youtube['color'] = isset($options['youtube']['color']) ? $options['youtube']['color'] : 'red';
176
+ $youtube['wmode'] = isset($options['youtube']['wmode']) ? $options['youtube']['wmode'] : 'auto';
177
+ $youtube['jsapi'] = isset($options['youtube']['jsapi']) ? $options['youtube']['jsapi'] : 0;
178
+ $youtube['info'] = isset($options['youtube']['info']) ? $options['youtube']['info'] : 1;
179
+ $youtube['logo'] = isset($options['youtube']['logo']) ? $options['youtube']['logo'] : 1;
180
+ $youtube['rel'] = isset($options['youtube']['rel']) ? $options['youtube']['rel'] : 1;
181
+ $youtube['fs'] = isset($options['youtube']['fs']) ? $options['youtube']['fs'] : 1; ?>
182
+
183
+ <input type="checkbox" name="fvp-settings[youtube][theme]" id="fvp-settings-youtube-theme" value="light" <?php checked('light', $youtube['theme'], 1) ?>/><label for="fvp-settings-youtube-theme">&nbsp;<?php _e('Light Theme', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
184
+ <input type="checkbox" name="fvp-settings[youtube][fs]" id="fvp-settings-youtube-fs" value="true" <?php checked(1, $youtube['fs'], 1) ?>/><label for="fvp-settings-youtube-fs">&nbsp;<?php _e('Fullscreen Button', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
185
  <select name="fvp-settings[youtube][wmode]" id="fvp-settings-youtube-wmode" size="1">
186
+ <option<?php selected($youtube['wmode'],'auto'); ?>>auto</option>
187
  <option<?php selected($youtube['wmode'],'transparent'); ?>>transparent</option>
188
+ <option<?php selected($youtube['wmode'],'opaque'); ?>>opaque</option>
189
  </select>
190
  <label for="fvp-settings-youtube-wmode">&quot;wmode&quot;</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
191
  <br />
192
+ <input type="checkbox" name="fvp-settings[youtube][info]" id="fvp-settings-youtube-info" value="true" <?php checked(1, $youtube['info'], 1) ?>/><label for="fvp-settings-youtube-info">&nbsp;<?php _e('Info', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
193
 
194
+ <input type="checkbox" name="fvp-settings[youtube][rel]" id="fvp-settings-youtube-rel" value="true" <?php checked(1, $youtube['rel'], 1) ?>/><label for="fvp-settings-youtube-rel">&nbsp;<?php _e('Related Videos', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
195
+ <input type="checkbox" name="fvp-settings[youtube][jsapi]" id="fvp-settings-youtube-jsapi" value="true" <?php checked(1, $youtube['jsapi'], 1) ?>/><label for="fvp-settings-youtube-jsapi">&nbsp;<?php _e('Javascript API', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
196
+ <input type="checkbox" name="fvp-settings[youtube][color]" id="fvp-settings-youtube-color" value="white" <?php checked('white',$youtube['color'], 1) ?>/><label for="fvp-settings-youtube-color">&nbsp;<?php _e('White Progressbar', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
197
  <span id="youtube_logoinput_wrapper"<?php if($youtube['color'] != 'red') echo ' class="fvp_hidden"'; ?>>
198
+ <input type="checkbox" name="fvp-settings[youtube][logo]" id="fvp-settings-youtube-logo" value="true" <?php checked(1, $youtube['logo'], 1) ?>/><label for="fvp-settings-youtube-logo">&nbsp;<?php _e('Logo', 'featured-video-plus'); ?></label>
199
  </span>
200
 
201
  <?php
211
  */
212
  function settings_vimeo() {
213
  $options = get_option( 'fvp-settings' );
214
+ $vimeo['portrait'] = isset($options['vimeo']['portrait']) ? $options['vimeo']['portrait'] : 0;
215
+ $vimeo['title' ] = isset($options['vimeo']['title' ]) ? $options['vimeo']['title' ] : 1;
216
+ $vimeo['byline'] = isset($options['vimeo']['byline']) ? $options['vimeo']['byline'] : 1;
217
+ $vimeo['color' ] = isset($options['vimeo']['color' ]) ? $options['vimeo']['color' ] : '00adef'; ?>
218
 
219
  <div style="position: relative; bottom: .6em;">
220
+ <input type="checkbox" name="fvp-settings[vimeo][portrait]" id="fvp-settings-vimeo-1" value="display" <?php checked(1, $vimeo['portrait'], 1) ?>/><label for="fvp-settings-vimeo-1">&nbsp;<?php _e('Portrait', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
221
+ <input type="checkbox" name="fvp-settings[vimeo][title]" id="fvp-settings-vimeo-2" value="display" <?php checked(1, $vimeo['title'], 1) ?>/><label for="fvp-settings-vimeo-2">&nbsp;<?php _e('Title', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
222
+ <input type="checkbox" name="fvp-settings[vimeo][byline]" id="fvp-settings-vimeo-3" value="display" <?php checked(1, $vimeo['byline'], 1) ?>/><label for="fvp-settings-vimeo-3">&nbsp;<?php _e('Byline', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
223
+ <span class="color-picker" style="position: relative;<?php if( wp_style_is('wp-color-picker', 'done') ) echo ' top: .6em;'; ?>" >
224
  <input type="text" name="fvp-settings[vimeo][color]" id="fvp-settings-vimeo-color" class="fvp_colorpicker_input" value="#<?php echo $vimeo['color'] ?>" data-default-color="#00adef" />
225
  <label for="fvp-settings-vimeo-color" style="display: none;">&nbsp;<?php _e('Color', 'featured-video-plus'); ?></label>
226
+ <?php if( ! wp_style_is('wp-color-picker', 'registered') ) { ?><div class="fvp_colorpicker" id="fvp-settings-vimeo-colorpicker"></div><?php } ?>
227
  </span>
228
  </div>
229
  <p class="description"><?php _e('Vimeo Plus Videos might ignore these settings.', 'featured-video-plus'); ?></p>
241
  */
242
  function settings_dailymotion() {
243
  $options = get_option( 'fvp-settings' );
244
+ $dailymotion['logo'] = isset($options['dailymotion']['logo']) ? $options['dailymotion']['logo'] : 1;
245
+ $dailymotion['info'] = isset($options['dailymotion']['info']) ? $options['dailymotion']['info'] : 1;
246
+ $dailymotion['synd'] = isset($options['dailymotion']['synd']) ? $options['dailymotion']['syndication']: '';
247
+ $dailymotion['foreground'] = isset($options['dailymotion']['foreground'])? $options['dailymotion']['foreground'] : 'f7fffd';
248
+ $dailymotion['highlight' ] = isset($options['dailymotion']['highlight' ])? $options['dailymotion']['highlight' ] : 'ffc300';
249
+ $dailymotion['background'] = isset($options['dailymotion']['background'])? $options['dailymotion']['background'] : '171d1b'; ?>
250
+
251
+ <input type="checkbox" name="fvp-settings[dailymotion][logo]" id="fvp-settings-dailymotion-logo" value="display" <?php checked( 1, $dailymotion['logo'], 1 ) ?>/><label for="fvp-settings-dailymotion-logo">&nbsp;<?php _e('Logo', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
252
+ <input type="checkbox" name="fvp-settings[dailymotion][info]" id="fvp-settings-dailymotion-info" value="display" <?php checked( 1, $dailymotion['info'], 1 ) ?>/><label for="fvp-settings-dailymotion-info">&nbsp;<?php _e('Videoinfo', 'featured-video-plus'); ?></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
253
+ <input type="text" name="fvp-settings[dailymotion][synd]" id="fvp-settings-dailymotion-synd" value="<?php echo $dailymotion['synd']; ?>" size="6" /><label for="fvp-settings-dailymotion-synd">&nbsp;<?php _e('Syndication Key', 'featured-video-plus'); ?></label>
254
  <br />
255
+ <span class="color-picker" style="position: relative;<?php if( wp_style_is('wp-color-picker', 'done') ) echo ' top: .6em;'; ?>" >
256
  <input type="text" name="fvp-settings[dailymotion][foreground]" id="fvp-settings-dailymotion-foreground" class="fvp_colorpicker_input" value="#<?php echo $dailymotion['foreground'] ?>" data-default-color="#f7fffd" />
257
  <label for="fvp-settings-dailymotion-foreground" style="display: none;">&nbsp;<?php _e('Foreground', 'featured-video-plus'); ?></label>
258
  <?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-dailymotion-foreground-colorpicker"></div><?php } ?>
259
  </span>
260
+ <span class="color-picker" style="position: relative;<?php if( wp_style_is('wp-color-picker', 'done') ) echo ' top: .6em;'; ?>" >
261
  <input type="text" name="fvp-settings[dailymotion][highlight]" id="fvp-settings-dailymotion-highlight" class="fvp_colorpicker_input" value="#<?php echo $dailymotion['highlight'] ?>" data-default-color="#ffc300" />
262
  <label for="fvp-settings-dailymotion-highlight" style="display: none;">&nbsp;<?php _e('Highlight', 'featured-video-plus'); ?></label>
263
  <?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-dailymotion-highlight-colorpicker"></div><?php } ?>
264
  </span>
265
+ <span class="color-picker" style="position: relative;<?php if( wp_style_is('wp-color-picker', 'done') ) echo ' top: .6em;'; ?>" >
266
  <input type="text" name="fvp-settings[dailymotion][background]" id="fvp-settings-dailymotion-background" class="fvp_colorpicker_input" value="#<?php echo $dailymotion['background'] ?>" data-default-color="#171d1b" />
267
  <label for="fvp-settings-dailymotion-background" style="display: none;">&nbsp;<?php _e('Background', 'featured-video-plus'); ?></label>
268
  <?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-dailymotion-background-colorpicker"></div><?php } ?>
282
  echo '<p>';
283
  printf(
284
  __('If you have found a bug or are missing a specific video service, please %slet me know%s in the support forum. Elsewise, if you like the plugin: Please %srate it!%s', 'featured-video-plus'),
285
+ '<a href="http://wordpress.org/support/plugin/featured-video-plus#plugin-title" title="Featured Video Plus Support Forum on WordPress.org" target="_blank" style="font-weight: bold;">', '</a>',
286
+ '<a href="http://wordpress.org/support/view/plugin-reviews/featured-video-plus#plugin-title" title="Rate Featured Video Plus on WordPress.org" target="_blank" style="font-weight: bold;">', '</a>'
287
  );
288
  echo '</p>';
289
  }
299
  $options = get_option( 'fvp-settings' );
300
 
301
  // Usage
302
+ $options['usage'] = isset($input['usage']) ? $input['usage'] : 'replace';
303
+ $options['issingle'] = ! empty($input['issingle']) ? true : false;
304
 
305
  // Sizing
306
  if(isset($input['sizing']['width' ]['fixed'])) {
307
+ preg_match($numbers, $input['sizing']['width']['fixed'], $width);
308
+ $options['sizing']['width' ] = isset($width[0]) ? $width[ 0] : 560;
309
  }
310
  if(isset($input['sizing']['height' ]['fixed'])) {
311
  preg_match($numbers, $input['sizing']['height']['fixed'], $height);
312
  $options['sizing']['height'] = isset($height[0]) ? $height[0] : 315;
313
  }
314
+ $options['sizing']['wmode' ] = isset($input['sizing']['width' ]['auto']) ? 'auto' : 'fixed';
315
+ $options['sizing']['hmode' ] = isset($input['sizing']['height']['auto']) ? 'auto' : 'fixed';
316
 
317
  // Align
318
  $options['align' ] = isset($input['align']) ? $input['align'] : 'center';
319
 
320
  // Autoplay
321
+ $options['autoplay'] = isset( $input['autoplay'] ) ? $input['autoplay'] : 'no'; //yes/auto/no
322
 
323
  // Local
324
+ $options['local']['poster'] = isset( $input['local']['poster'] ) ? true : false;
325
+ $options['local']['loop'] = isset( $input['local']['loop' ] ) ? true : false;
326
 
327
  // YouTube
328
+ $options['youtube']['wmode'] = isset($input['youtube']['wmode']) ? $input['youtube']['wmode'] : 'auto';
329
+ $options['youtube']['theme'] = isset($input['youtube']['theme']) && ( $input['youtube']['theme'] == 'light') ? 'light' : 'dark';
330
+ $options['youtube']['color'] = isset($input['youtube']['color']) && ( $input['youtube']['color'] == 'white') ? 'white' : 'red';
331
+ $options['youtube']['jsapi'] = isset($input['youtube']['jsapi']) && ( $input['youtube']['jsapi'] == 'true' ) ? 1 : 0;
332
+ $options['youtube']['info'] = isset($input['youtube']['info']) && ( $input['youtube']['info'] == 'true' ) ? 1 : 0;
333
+ $options['youtube']['logo'] = isset($input['youtube']['logo']) && ( $input['youtube']['logo'] == 'true' ) ? 1 : 0;
334
+ $options['youtube']['rel'] = isset($input['youtube']['rel']) && ( $input['youtube']['rel'] == 'true' ) ? 1 : 0;
335
+ $options['youtube']['fs'] = isset($input['youtube']['fs']) && ( $input['youtube']['fs'] == 'true' ) ? 1 : 0;
336
 
337
  // Vimeo
338
+ $options['vimeo']['portrait'] = isset($input['vimeo']['portrait']) && ( $input['vimeo']['portrait'] == 'display' ) ? 1 : 0;
339
+ $options['vimeo']['title'] = isset($input['vimeo']['title']) && ( $input['vimeo']['title'] == 'display' ) ? 1 : 0;
340
+ $options['vimeo']['byline'] = isset($input['vimeo']['byline']) && ( $input['vimeo']['byline'] == 'display' ) ? 1 : 0;
341
 
342
  if( isset($options['vimeo']['color']) ) preg_match($hexcolor, $input['vimeo']['color'], $vimeocolor);
343
  $options['vimeo']['color'] = isset($vimeocolor[1]) && !empty($vimeocolor[1]) ? $vimeocolor[1] : '00adef';
344
 
345
  // Dailymotion
346
+ $options['dailymotion']['logo'] = isset($input['dailymotion']['logo']) && ( $input['dailymotion']['logo'] == 'display' ) ? 1 : 0;
347
+ $options['dailymotion']['info'] = isset($input['dailymotion']['info']) && ( $input['dailymotion']['info'] == 'display' ) ? 1 : 0;
348
+ $options['dailymotion']['syndication'] = isset($input['dailymotion']['synd']) && !empty($input['dailymotion']['synd']) ? $input['dailymotion']['synd'] : '';
349
 
350
  if( isset($options['dailymotion']['foreground']) ) preg_match($hexcolor, $input['dailymotion']['foreground'], $dm_foreground);
351
  if( isset($options['dailymotion']['highlight']) ) preg_match($hexcolor, $input['dailymotion']['highlight'], $dm_highlight);
352
  if( isset($options['dailymotion']['background']) ) preg_match($hexcolor, $input['dailymotion']['background'], $dm_background);
353
  $options['dailymotion']['foreground'] = isset($dm_foreground[1]) && !empty($dm_foreground[1])? $dm_foreground[1] : 'f7fffd';
354
+ $options['dailymotion']['highlight'] = isset($dm_highlight[ 1]) && !empty($dm_highlight[ 1])? $dm_highlight[ 1] : 'ffc300';
355
  $options['dailymotion']['background'] = isset($dm_background[1]) && !empty($dm_background[1])? $dm_background[1] : '171d1b';
356
 
357
  return $options;
414
 
415
  // PHP FUNCTIONS HELP TAB
416
  $screen->add_help_tab( array(
417
+ 'id' => 'fvp_help_functions',
418
  'title' => 'Featured Video Plus: '.__('PHP-Functions','featured-video-plus'),
419
  'content' => $this->help_functions
420
  ));
php/upgrade.php CHANGED
@@ -1,155 +1,158 @@
1
- <?php
2
- /**
3
- * Is used on plugin upgrade and on first activation. Initializes and upgrades options, places notice etc.
4
- *
5
- * @since 1.2
6
- */
7
- function featured_video_plus_upgrade() {
8
- $options = $options_org = get_option( 'fvp-settings' );
9
-
10
- if (!isset($options['overwrite'])&&!isset($options['usage']))
11
- $version = '0';
12
- elseif( !isset($options['version']) )
13
- $version = '1.1';
14
- else
15
- $version = $options['version'];
16
-
17
- if( $version != FVP_VERSION ) {
18
- switch( $version ) {
19
- case '0':
20
- $options = array(
21
- 'overwrite' => true,
22
- 'width' => 'auto',
23
- 'height' => 'auto',
24
- 'vimeo' => array(
25
- 'portrait' => 0,
26
- 'title' => 1,
27
- 'byline' => 1,
28
- 'color' => '00adef'
29
- )
30
- );
31
-
32
-
33
- case '1.0':
34
- case '1.1':
35
- if( $version == '1.0' || $version == '1.1' ) {
36
- // removed this user meta in 1.2
37
- $users = array_merge( get_users( array( 'role' => 'Administrator' ) ),
38
- get_users( array( 'role' => 'Super Admin' ) ) );
39
- foreach( $users as $user )
40
- delete_user_meta( $user->ID, 'fvp_activation_notification_ignore' );
41
- }
42
-
43
-
44
- case '1.2':
45
- $options['videojs'] = array(
46
- 'skin' => 'videojs' //videojs,moonfy,tubejs
47
- );
48
- $options['youtube'] = array(
49
- 'theme' => 'dark',
50
- 'color' => 'red',
51
- 'info' => 1,
52
- 'rel' => 1,
53
- 'fs' => 1
54
- );
55
- $options['dailymotion'] = array(
56
- 'foreground' => 'F7FFFD',
57
- 'highlight' => 'FFC300',
58
- 'background' => '171D1B',
59
- 'logo' => 1,
60
- 'info' => 1
61
- );
62
- $options['sizing'] = array(
63
- 'wmode' => $options['width'],
64
- 'hmode' => $options['height'],
65
- 'width' => 560,
66
- 'height' => 315,
67
- 'align' => 'left'
68
- );
69
- unset( $options['width'], $options['height'] );
70
-
71
-
72
- case '1.3':
73
- $options['out'] = 0;
74
- $options['autoplay'] = 0;
75
- $options['youtube']['logo'] = 1;
76
- $options['dailymotion']['syndication'] = '';
77
-
78
- $options['align'] = $options['sizing']['wmode'] == 'auto' ? 'center' : $options['sizing']['align'];
79
- unset( $options['sizing']['align'] );
80
-
81
-
82
- case '1.4':
83
- $options['youtube']['wmode'] = 'auto';
84
- $options['local']['videojs']['js'] = true;
85
- $options['local']['videojs']['css'] = true;
86
- $options['local']['videojs']['cdn'] = false;
87
- unset($options['videojs']);
88
-
89
-
90
- case '1.5':
91
- case '1.5.1':
92
- $options['youtube']['jsapi'] = 0;
93
- $options['local']['videojs']['poster'] = false;
94
- unset($options['reged'], $options['out']);
95
-
96
-
97
- case '1.6':
98
- case '1.6.1':
99
- $options['usage'] = $options['overwrite'] ? 'replace' : 'manual'; // replace;manual;overlay
100
- unset($options['overwrite']);
101
-
102
-
103
- case '1.7':
104
- case '1.7.1':
105
- $options['local']['cdn'] = $options['local']['videojs']['cdn'];
106
- $options['local']['enabled'] = $options['local']['videojs']['js'];
107
- $options['local']['poster'] = $options['local']['videojs']['poster'];
108
- unset($options['local']['videojs']);
109
-
110
- $options['local']['foreground'] = "cccccc";
111
- $options['local']['highlight'] = "66a8cc";
112
- $options['local']['background'] = "000000";
113
- $options['local']['controls'] = true;
114
- $options['local']['loop'] = false;
115
- $options['autoplay'] = $options['autoplay'] ? 'yes' : 'no'; //yes/auto/no
116
-
117
-
118
- case '1.8':
119
- unset(
120
- $options['local']['cdn'],
121
- $options['local']['enabled'],
122
- $options['local']['foreground'],
123
- $options['local']['background'],
124
- $options['local']['controls']
125
- );
126
-
127
- // check all featured video post metas
128
- $ids = $GLOBALS['featured_video_plus']->get_post_by_custom_meta('_fvp_video');
129
- foreach( $ids as $id ) {
130
- $meta = $meta_old = maybe_unserialize(get_post_meta( $id, '_fvp_video', true ));
131
- // update video data ('attr' to 'time') and fix serialization, was in case '1.4'
132
- if( isset( $meta['attr'] ) ) {
133
- $meta['time'] = $meta['attr'];
134
- unset($meta['attr']);
135
- }
136
-
137
- // remove 'sec_id', only one local video file is used now.
138
- if( isset( $meta['sec_id'] ) )
139
- unset($meta['sec_id']);
140
- if ( $meta != $meta_old )
141
- update_post_meta($id, '_fvp_video', $meta);
142
- }
143
-
144
-
145
- // *************************************************************
146
- default:
147
- $options['version'] = FVP_VERSION;
148
- break;
149
- }
150
- }
151
-
152
- if( $options != $options_org )
153
- update_option( 'fvp-settings', $options );
154
-
155
- }
 
 
 
1
+ <?php
2
+ /**
3
+ * Is used on plugin upgrade and on first activation. Initializes and upgrades options, places notice etc.
4
+ *
5
+ * @since 1.2
6
+ */
7
+ function featured_video_plus_upgrade() {
8
+ $options = $options_org = get_option( 'fvp-settings' );
9
+
10
+ if (!isset($options['overwrite'])&&!isset($options['usage']))
11
+ $version = '0';
12
+ elseif( !isset($options['version']) )
13
+ $version = '1.1';
14
+ else
15
+ $version = $options['version'];
16
+
17
+ if( $version != FVP_VERSION ) {
18
+ switch( $version ) {
19
+ case '0':
20
+ $options = array(
21
+ 'overwrite' => true,
22
+ 'width' => 'auto',
23
+ 'height' => 'auto',
24
+ 'vimeo' => array(
25
+ 'portrait' => 0,
26
+ 'title' => 1,
27
+ 'byline' => 1,
28
+ 'color' => '00adef'
29
+ )
30
+ );
31
+
32
+
33
+ case '1.0':
34
+ case '1.1':
35
+ if( $version == '1.0' || $version == '1.1' ) {
36
+ // removed this user meta in 1.2
37
+ $users = array_merge( get_users( array( 'role' => 'Administrator' ) ),
38
+ get_users( array( 'role' => 'Super Admin' ) ) );
39
+ foreach( $users as $user )
40
+ delete_user_meta( $user->ID, 'fvp_activation_notification_ignore' );
41
+ }
42
+
43
+
44
+ case '1.2':
45
+ $options['videojs'] = array(
46
+ 'skin' => 'videojs' //videojs,moonfy,tubejs
47
+ );
48
+ $options['youtube'] = array(
49
+ 'theme' => 'dark',
50
+ 'color' => 'red',
51
+ 'info' => 1,
52
+ 'rel' => 1,
53
+ 'fs' => 1
54
+ );
55
+ $options['dailymotion'] = array(
56
+ 'foreground' => 'F7FFFD',
57
+ 'highlight' => 'FFC300',
58
+ 'background' => '171D1B',
59
+ 'logo' => 1,
60
+ 'info' => 1
61
+ );
62
+ $options['sizing'] = array(
63
+ 'wmode' => $options['width'],
64
+ 'hmode' => $options['height'],
65
+ 'width' => 560,
66
+ 'height' => 315,
67
+ 'align' => 'left'
68
+ );
69
+ unset( $options['width'], $options['height'] );
70
+
71
+
72
+ case '1.3':
73
+ $options['out'] = 0;
74
+ $options['autoplay'] = 0;
75
+ $options['youtube']['logo'] = 1;
76
+ $options['dailymotion']['syndication'] = '';
77
+
78
+ $options['align'] = $options['sizing']['wmode'] == 'auto' ? 'center' : $options['sizing']['align'];
79
+ unset( $options['sizing']['align'] );
80
+
81
+
82
+ case '1.4':
83
+ $options['youtube']['wmode'] = 'auto';
84
+ $options['local']['videojs']['js'] = true;
85
+ $options['local']['videojs']['css'] = true;
86
+ $options['local']['videojs']['cdn'] = false;
87
+ unset($options['videojs']);
88
+
89
+
90
+ case '1.5':
91
+ case '1.5.1':
92
+ $options['youtube']['jsapi'] = 0;
93
+ $options['local']['videojs']['poster'] = false;
94
+ unset($options['reged'], $options['out']);
95
+
96
+
97
+ case '1.6':
98
+ case '1.6.1':
99
+ $options['usage'] = $options['overwrite'] ? 'replace' : 'manual'; // replace;manual;overlay
100
+ unset($options['overwrite']);
101
+
102
+
103
+ case '1.7':
104
+ case '1.7.1':
105
+ $options['local']['cdn'] = $options['local']['videojs']['cdn'];
106
+ $options['local']['enabled'] = $options['local']['videojs']['js'];
107
+ $options['local']['poster'] = $options['local']['videojs']['poster'];
108
+ unset($options['local']['videojs']);
109
+
110
+ $options['local']['foreground'] = "cccccc";
111
+ $options['local']['highlight'] = "66a8cc";
112
+ $options['local']['background'] = "000000";
113
+ $options['local']['controls'] = true;
114
+ $options['local']['loop'] = false;
115
+ $options['autoplay'] = $options['autoplay'] ? 'yes' : 'no'; //yes/auto/no
116
+
117
+
118
+ case '1.8':
119
+ unset(
120
+ $options['local']['cdn'],
121
+ $options['local']['enabled'],
122
+ $options['local']['foreground'],
123
+ $options['local']['background'],
124
+ $options['local']['controls']
125
+ );
126
+
127
+ // check all featured video post metas
128
+ $ids = $GLOBALS['featured_video_plus']->get_post_by_custom_meta('_fvp_video');
129
+ foreach( $ids as $id ) {
130
+ $meta = $meta_old = maybe_unserialize(get_post_meta( $id, '_fvp_video', true ));
131
+ // update video data ('attr' to 'time') and fix serialization, was in case '1.4'
132
+ if( isset( $meta['attr'] ) ) {
133
+ $meta['time'] = $meta['attr'];
134
+ unset($meta['attr']);
135
+ }
136
+
137
+ // remove 'sec_id', only one local video file is used now.
138
+ if( isset( $meta['sec_id'] ) )
139
+ unset($meta['sec_id']);
140
+ if ( $meta != $meta_old )
141
+ update_post_meta($id, '_fvp_video', $meta);
142
+ }
143
+
144
+ case '1.9':
145
+ $options['issingle'] = false;
146
+
147
+
148
+ // *************************************************************
149
+ default:
150
+ $options['version'] = FVP_VERSION;
151
+ break;
152
+ }
153
+ }
154
+
155
+ if( $options != $options_org )
156
+ update_option( 'fvp-settings', $options );
157
+
158
+ }
readme.txt CHANGED
@@ -1,198 +1,204 @@
1
- === Featured Video Plus ===
2
- Contributors: a.hoereth
3
- Plugin Name: Featured Video Plus
4
- Plugin URI: http://yrnxt.com/category/wordpress/featured-video-plus/
5
- Tags: featured, post, video, image, thumbnail, html5, flash, youtube, vimeo, dailymotion, mp4, webm, ogg, embed, ajax
6
- Author: Alexander Höreth
7
- Author URI: http://yrnxt.com/
8
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=a%2ehoereth%40gmail%2ecom
9
- License: GPLv2 or later
10
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
- Requires at least: 3.2
12
- Tested up to: 3.9
13
- Stable tag: 1.9
14
-
15
- Add Featured Videos to your posts and pages. Works like magic with most themes which use Featured Images. Local Media, YouTube, Vimeo, Dailymotion.
16
-
17
- == Description ==
18
- *A picture is worth a thousand words. How many words is a video worth?*
19
-
20
- This plugin enables you to define Featured Videos, which can automatically be displayed instead of Featured Images. There are three ways to get the videos onto your page:
21
-
22
- 1. If your theme already makes use of [Featured Images](http://codex.wordpress.org/Post_Thumbnails), these will in most themes __automatically__ be replaced by your Featured Videos if available. Alternatively you can
23
- 2. insert the `[featured-video-plus]`-__Shortcode__ in your posts or
24
- 3. manually make use of the __PHP functions__ in your theme's source files.
25
-
26
- Instead of option 1 the plugin can also request the videos using an AJAX request when the Featured Image is clicked. This reduces load times and gives you the flexibility to display videos in a lightbox to ensure your theme does not break.
27
-
28
- See the theme in action on [yrnxt.com](http://yrnxt.com/wordpress/featured-video-plus/). Also take a look at the [Garvan](http://www.web2feel.com/garvan/) video blogging theme which makes optimal use of this plugin.
29
-
30
- Beside your __Local Videos__ (WordPress 3.6+ required) you can use videos from __YouTube__, __Vimeo__ and __Dailymotion__. If you miss a certain video platform: [Leave me a note](http://wordpress.org/support/plugin/featured-video-plus). For YouTube and Dailymotion the plugin also features [time-links](http://support.google.com/youtube/bin/answer.py?hl=en&answer=116618).
31
-
32
- The plugin adds customization options to your Media Settings. Beside aesthetic individualizations for each video platform's player you can turn off automatic featured image replacement, turn on autoplay, define your Dailymotion Syndication Key and tweak video sizing. By default videos try to dynamically fit their parent containers width. Take a look at *Settings -> Media*.
33
-
34
- = Shortcode =
35
-
36
- [featured-video-plus]
37
- [featured-video-plus width=300]
38
-
39
- = PHP functions =
40
-
41
- the_post_video( $size )
42
- has_post_video( $post_id )
43
- get_the_post_video( $post_id, $size )
44
- get_the_post_video_url( $post_id )
45
- get_the_post_video_image_url( $post_id, $fallback )
46
- get_the_post_video_image( $post_id )
47
-
48
- All parameters are optional. If no `$post_id` is given the current post's ID will be used. `$size` is either a string keyword (`thumbnail`, `medium`, `large` or `full`) or a 2-item array representing width and height in pixels, e.g. array(560,320). $fallback by default is false, when set to true this will return the fallback URL for local videos.
49
-
50
-
51
-
52
-
53
- *This plugin was created with the original [Featured Video](http://wordpress.org/extend/plugins/featured-video/) plugin in mind. __Featured Video Plus__ was freshly coded from ground up to bring you more features and to integrate more seamlessly into WordPress.*
54
-
55
-
56
- == Installation ==
57
-
58
- 1. Visit your WordPress Administration interface and go to Plugins -> Add New
59
- 2. Search for "*Featured Video Plus*", and click "*Install Now*" below the plugin's name
60
- 3. When the installation finished, click "*Activate Plugin*"
61
-
62
- The plugin is ready to go. Now edit your posts and add video links to the "Featured Video" box on the right! Plugin specific settings can be found under *Settings -> Media*.
63
-
64
-
65
- == Changelog ==
66
-
67
-
68
- = 1.9: 2014-01-02 =
69
- * Replaced Video.js with MediaElement.js (ships with WordPress since 3.6 - __breaks local videos partially if you use an older WordPress version!__)
70
- * Added Spanish translations! Translation by [WebHostingHub.com](http://webhostinghub.com)
71
- * Updated FitVids.js to 1.0.3
72
-
73
- = 1.8: 2013-05-16 =
74
- * Video.js [4.0](http://blog.videojs.com/post/50021214078/video-js-4-0-now-available)
75
- * Customize the local video player
76
- * Better autoplay handling
77
- * Remove anchors wrapping videos
78
- * General bug fixes
79
-
80
- = 1.7.1: 2013-04-30 =
81
- * Fixed manual usage option ([*](http://wordpress.org/support/topic/lightbox-video-on-featured-image-click))
82
- * Added featured image mouse over effect for featured video AJAX usage
83
-
84
- = 1.7: 2013-04-30 =
85
- * Added functionality to display featured video in an lightbox using AJAX on featured image click ([*](http://www.web2feel.com/garvan/))
86
- * Added functionality to replace featured image with featured video on demand when image is clicked using AJAX ([*](http://wordpress.org/support/topic/lightbox-video-on-featured-image-click))
87
- * `get_the_post_video_url` has a new second parameter (boolean) to get the fallback video's URL ([*](http://wordpress.org/support/topic/fallback-video-url))
88
- * Tested with WordPress 3.6
89
-
90
- = 1.6.1: 2013-04-18 =
91
- * Fixed removing featured image when no featured video is specified ([*](http://wordpress.org/support/topic/featured-image-doesnt-save))
92
-
93
- = 1.6: 2013-04-16 =
94
- * Added `get_the_post_video_url($post_id)` PHP-Function
95
- * Added YouTube `enablejsapi` parameter with `playerapiid` (`fvpid + $post_id`) and iframe id ([*](http://wordpress.org/support/topic/need-filter-for-iframe-and-embed-code-manipulation))
96
- * Added a filter for `get_the_post_video`: `get_the_post_video_filter` ([*](http://wordpress.org/support/topic/need-filter-for-iframe-and-embed-code-manipulation))
97
- * Added option for using the featured image as video thumbnail for local videos
98
- * Fixed local videoJS ([*](http://wordpress.org/support/topic/how-to-style-the-player-play-button-pause-button-etc))
99
- * Fixed auto width and height for the Dailymotion and videoJS players
100
- * Fixed YouTube videos for which the plugin cannot access the YouTube API ([*](http://wordpress.org/support/topic/link-appearing-red-in-featured-video-section))
101
-
102
- = 1.5.1: 2013-03-27 =
103
- * Fixed Featured Video box on new-post.php
104
- * Enhanced Featured Image ajax behavior
105
-
106
- = 1.5: 2013-03-22 =
107
- * __AJAXified__ the Featured Video box - just like Featured Images
108
- * Added options for a) disabling VideoJS JS/CSS, b) enabling VideoJS CDN and c) YouTube `wmode`
109
- * Plugin no longer breaks WP image editor ([*](http://wordpress.org/support/topic/breaks-image-scaling-shows-nan))
110
-
111
- = 1.4: 2013-03-15 =
112
- * __WP 3.5 Media Manager__ seamless integrated
113
- * Time-links now available for YouTube and Dailymotion (append #t=1m2s)
114
- * New `autoplay` setting
115
- * Specify your Dailymotion Syndication Key
116
- * Added `get_the_post_video_image` & `get_the_post_video_image_url`
117
- * Local videos no longer break when domain changes or attachment is edited
118
- * Better Featured Image handling
119
-
120
- = 1.3: 2013-01-16 =
121
- * __Internationalization__: Added German translations
122
- * Added customizations for YouTube and Dailymotion
123
- * Revamped video sizing
124
- * Better error handling
125
- * Contextual help on media settings and post edit screen
126
- * LiveLeak (very experimental, they have no API)
127
-
128
- = 1.2: 2013-01-09 =
129
- * __Local Videos__: mp4, webm, ogg
130
- * More dynamic user interface
131
- * Minimized JS and CSS
132
-
133
- = 1.1: 2012-12-16 =
134
- * __Dailymotion__
135
- * Fixed YouTube time-links
136
- * Enhanced interaction of Featured Videos & Featured Images
137
-
138
- = 1.0: 2012-12-13 =
139
- * Release
140
-
141
-
142
- == Upgrade Notice ==
143
-
144
- = 1.6 =
145
- Smoothness
146
-
147
- = 1.5 =
148
- AJAX!
149
-
150
- = 1.4 =
151
- WP3.5 Media Manager, time-links...
152
-
153
- = 1.3 =
154
- Internationalization! More user friendly, more customizations.
155
-
156
- = 1.2 =
157
- Now featuring your local videos!
158
-
159
- = 1.1 =
160
- Feature Dailymotion Videos on your posts!
161
-
162
-
163
- == Screenshots ==
164
-
165
- 1. Featured Video and Featured Image boxes on the post edit screen.
166
- 2. A Featured Video in the Twenty Twelve theme.
167
- 3. Settings -> Media screen
168
-
169
-
170
- == Frequently Asked Questions ==
171
-
172
- = After adding the URL and saving the post I do not get any video? =
173
- Maybe the plugin does not recognize the URL. Take a look into the contextual help (button on the top right of the post edit screen). There is a list what the URLs should look like. If this does not help leave a note in the support forum.
174
-
175
- = The input box has a red background - but the video works just fine. Whats going on? =
176
- With every video you insert into the meta box the plugin tries to access the API of the
177
- according video provider to grab information about the video and pull an image. When this API
178
- access fails the input box gets a red background. When for example the server you are using is
179
- located in Germany it cannot access the YouTube API for videos blocked in this country - still
180
- you and your visitors might be able to watch the videos as normal. The plugin cannot test for this.
181
-
182
- = How do I use my local videos? =
183
- Take a look into the contextual help (button on the top right of the post edit screen).
184
-
185
- = My theme uses Featured Images. Why are my videos not being displayed in place? =
186
- For the videos to be automatically displayed you need to define a Featured Image. This image will never be shown if a video is available.
187
- Beside this your theme needs to feature [Post Thumbnails](http://codex.wordpress.org/Post_Thumbnails) and make use of `get_the_post_thumbnail()` or `the_post_thumbnail()`, because these are the core functions the plugin hooks into.
188
-
189
- If the automatic integration does not work, you can tell me in the [Support Forum](http://wordpress.org/support/plugin/featured-video-plus) which theme you are using and I will take a look at it and might be able to develop a workaround.
190
-
191
- = How can I make the videos fit the theme? =
192
- Take a look at your media settings and try different fixed sizes. If tweaking those does not help: [Tell me](http://wordpress.org/support/plugin/featured-video-plus) which theme you are using.
193
-
194
- = What about other video providers? =
195
- Leave me a note in the support forums which video platforms you would like to see in a feature release!
196
-
197
- = How can I translate the plugin? =
198
- Grap the [featured-video-plus.pot](https://github.com/ahoereth/featured-video-plus/blob/master/lng/featured-video-plus.pot) file, [translate it](http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/) and post it in the [Support Forum](http://wordpress.org/support/plugin/featured-video-plus). It will very lik be shipped with the next version.
 
 
 
 
 
 
1
+ === Featured Video Plus ===
2
+ Contributors: a.hoereth
3
+ Plugin Name: Featured Video Plus
4
+ Plugin URI: http://yrnxt.com/wordpress/featured-video-plus/
5
+ Tags: featured, post, video, image, thumbnail, html5, flash, youtube, vimeo, dailymotion, mp4, webm, ogg, embed, ajax
6
+ Author: Alexander Höreth
7
+ Author URI: http://yrnxt.com/
8
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AD8UKMQW2DMM6
9
+ License: GPLv2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
+ Requires at least: 3.2
12
+ Tested up to: 4.0
13
+ Stable tag: 1.9.1
14
+
15
+ Add Featured Videos to your posts and pages. Works like magic with most themes which use Featured Images. Local Media, YouTube, Vimeo, Dailymotion.
16
+
17
+ == Description ==
18
+ *A picture is worth a thousand words. How many words is a video worth?*
19
+
20
+ This plugin enables you to define Featured Videos, which can automatically be displayed instead of Featured Images. There are three ways to get the videos onto your page:
21
+
22
+ 1. If your theme already makes use of [Featured Images](http://codex.wordpress.org/Post_Thumbnails), these will in most themes __automatically__ be replaced by your Featured Videos if available. Alternatively you can
23
+ 2. insert the `[featured-video-plus]`-__Shortcode__ in your posts or
24
+ 3. manually make use of the __PHP functions__ in your theme's source files.
25
+
26
+ Instead of option 1 the plugin can also request the videos using an AJAX request when the Featured Image is clicked. This reduces load times and gives you the flexibility to display videos in a lightbox to ensure your theme does not break.
27
+
28
+ See the theme in action on [yrnxt.com](http://yrnxt.com/wordpress/featured-video-plus/). Also take a look at the [Garvan](http://www.web2feel.com/garvan/) video blogging theme which makes optimal use of this plugin.
29
+
30
+ Beside your __Local Videos__ (WordPress 3.6+ required) you can use videos from __YouTube__, __Vimeo__ and __Dailymotion__. If you miss a certain video platform: [Leave me a note](http://wordpress.org/support/plugin/featured-video-plus). For YouTube and Dailymotion the plugin also features [time-links](http://support.google.com/youtube/bin/answer.py?hl=en&answer=116618).
31
+
32
+ The plugin adds customization options to your Media Settings. Beside aesthetic individualizations for each video platform's player you can turn off automatic featured image replacement, turn on autoplay, define your Dailymotion Syndication Key and tweak video sizing. By default videos try to dynamically fit their parent containers width. Take a look at *Settings -> Media*.
33
+
34
+ = Shortcode =
35
+
36
+ [featured-video-plus]
37
+ [featured-video-plus width=300]
38
+
39
+ = PHP functions =
40
+
41
+ the_post_video( $size )
42
+ has_post_video( $post_id )
43
+ get_the_post_video( $post_id, $size )
44
+ get_the_post_video_url( $post_id )
45
+ get_the_post_video_image_url( $post_id, $fallback )
46
+ get_the_post_video_image( $post_id )
47
+
48
+ All parameters are optional. If no `$post_id` is given the current post's ID will be used. `$size` is either a string keyword (`thumbnail`, `medium`, `large` or `full`) or a 2-item array representing width and height in pixels, e.g. array(560,320). $fallback by default is false, when set to true this will return the fallback URL for local videos.
49
+
50
+
51
+
52
+
53
+ *This plugin was created with the original [Featured Video](http://wordpress.org/extend/plugins/featured-video/) plugin in mind. __Featured Video Plus__ was freshly coded from ground up to bring you more features and to integrate more seamlessly into WordPress.*
54
+
55
+
56
+ == Installation ==
57
+
58
+ 1. Visit your WordPress Administration interface and go to Plugins -> Add New
59
+ 2. Search for "*Featured Video Plus*", and click "*Install Now*" below the plugin's name
60
+ 3. When the installation finished, click "*Activate Plugin*"
61
+
62
+ The plugin is ready to go. Now edit your posts and add video links to the "Featured Video" box on the right! Plugin specific settings can be found under *Settings -> Media*.
63
+
64
+
65
+ == Changelog ==
66
+
67
+
68
+ = 1.9.1: 2014-09-06 =
69
+ * __Last update compatible all the way back to WordPress 3.2!__
70
+ * You can now specify the '[end](https://developers.google.com/youtube/player_parameters#end)' parameter for YouTube embeds ([*](http://wordpress.org/support/topic/how-to-specify-start-and-end-for-youtube-videos))
71
+ * Added option for only displaying videos on single posts/pages ([*](http://wordpress.org/support/topic/i-need-to-only-change-the-featured-images-not-the-thumbnails),[*](http://wordpress.org/support/topic/video-thumbnails-with-link-to-post),[*](http://wordpress.org/support/topic/want-everything-of-fvp-other-than-feature-video-thumb))
72
+ * Removed hardcoded http protocol for embeds [*](http://wordpress.org/support/topic/fix-for-videos-over-ssl)
73
+
74
+ = 1.9: 2014-01-02 =
75
+ * Replaced Video.js with MediaElement.js (ships with WordPress since 3.6 - __breaks local videos partially if you use an older WordPress version!__)
76
+ * Added Spanish translations! Translation by [WebHostingHub.com](http://webhostinghub.com)
77
+ * Updated FitVids.js to 1.0.3
78
+
79
+ = 1.8: 2013-05-16 =
80
+ * Video.js [4.0](http://blog.videojs.com/post/50021214078/video-js-4-0-now-available)
81
+ * Customize the local video player
82
+ * Better autoplay handling
83
+ * Remove anchors wrapping videos
84
+ * General bug fixes
85
+
86
+ = 1.7.1: 2013-04-30 =
87
+ * Fixed manual usage option ([*](http://wordpress.org/support/topic/lightbox-video-on-featured-image-click))
88
+ * Added featured image mouse over effect for featured video AJAX usage
89
+
90
+ = 1.7: 2013-04-30 =
91
+ * Added functionality to display featured video in an lightbox using AJAX on featured image click ([*](http://www.web2feel.com/garvan/))
92
+ * Added functionality to replace featured image with featured video on demand when image is clicked using AJAX ([*](http://wordpress.org/support/topic/lightbox-video-on-featured-image-click))
93
+ * `get_the_post_video_url` has a new second parameter (boolean) to get the fallback video's URL ([*](http://wordpress.org/support/topic/fallback-video-url))
94
+ * Tested with WordPress 3.6
95
+
96
+ = 1.6.1: 2013-04-18 =
97
+ * Fixed removing featured image when no featured video is specified ([*](http://wordpress.org/support/topic/featured-image-doesnt-save))
98
+
99
+ = 1.6: 2013-04-16 =
100
+ * Added `get_the_post_video_url($post_id)` PHP-Function
101
+ * Added YouTube `enablejsapi` parameter with `playerapiid` (`fvpid + $post_id`) and iframe id ([*](http://wordpress.org/support/topic/need-filter-for-iframe-and-embed-code-manipulation))
102
+ * Added a filter for `get_the_post_video`: `get_the_post_video_filter` ([*](http://wordpress.org/support/topic/need-filter-for-iframe-and-embed-code-manipulation))
103
+ * Added option for using the featured image as video thumbnail for local videos
104
+ * Fixed local videoJS ([*](http://wordpress.org/support/topic/how-to-style-the-player-play-button-pause-button-etc))
105
+ * Fixed auto width and height for the Dailymotion and videoJS players
106
+ * Fixed YouTube videos for which the plugin cannot access the YouTube API ([*](http://wordpress.org/support/topic/link-appearing-red-in-featured-video-section))
107
+
108
+ = 1.5.1: 2013-03-27 =
109
+ * Fixed Featured Video box on new-post.php
110
+ * Enhanced Featured Image ajax behavior
111
+
112
+ = 1.5: 2013-03-22 =
113
+ * __AJAXified__ the Featured Video box - just like Featured Images
114
+ * Added options for a) disabling VideoJS JS/CSS, b) enabling VideoJS CDN and c) YouTube `wmode`
115
+ * Plugin no longer breaks WP image editor ([*](http://wordpress.org/support/topic/breaks-image-scaling-shows-nan))
116
+
117
+ = 1.4: 2013-03-15 =
118
+ * __WP 3.5 Media Manager__ seamless integrated
119
+ * Time-links now available for YouTube and Dailymotion (append #t=1m2s)
120
+ * New `autoplay` setting
121
+ * Specify your Dailymotion Syndication Key
122
+ * Added `get_the_post_video_image` & `get_the_post_video_image_url`
123
+ * Local videos no longer break when domain changes or attachment is edited
124
+ * Better Featured Image handling
125
+
126
+ = 1.3: 2013-01-16 =
127
+ * __Internationalization__: Added German translations
128
+ * Added customizations for YouTube and Dailymotion
129
+ * Revamped video sizing
130
+ * Better error handling
131
+ * Contextual help on media settings and post edit screen
132
+ * LiveLeak (very experimental, they have no API)
133
+
134
+ = 1.2: 2013-01-09 =
135
+ * __Local Videos__: mp4, webm, ogg
136
+ * More dynamic user interface
137
+ * Minimized JS and CSS
138
+
139
+ = 1.1: 2012-12-16 =
140
+ * __Dailymotion__
141
+ * Fixed YouTube time-links
142
+ * Enhanced interaction of Featured Videos & Featured Images
143
+
144
+ = 1.0: 2012-12-13 =
145
+ * Release
146
+
147
+
148
+ == Upgrade Notice ==
149
+
150
+ = 1.6 =
151
+ Smoothness
152
+
153
+ = 1.5 =
154
+ AJAX!
155
+
156
+ = 1.4 =
157
+ WP3.5 Media Manager, time-links...
158
+
159
+ = 1.3 =
160
+ Internationalization! More user friendly, more customizations.
161
+
162
+ = 1.2 =
163
+ Now featuring your local videos!
164
+
165
+ = 1.1 =
166
+ Feature Dailymotion Videos on your posts!
167
+
168
+
169
+ == Screenshots ==
170
+
171
+ 1. Featured Video and Featured Image boxes on the post edit screen.
172
+ 2. A Featured Video in the Twenty Twelve theme.
173
+ 3. Settings -> Media screen
174
+
175
+
176
+ == Frequently Asked Questions ==
177
+
178
+ = After adding the URL and saving the post I do not get any video? =
179
+ Maybe the plugin does not recognize the URL. Take a look into the contextual help (button on the top right of the post edit screen). There is a list what the URLs should look like. If this does not help leave a note in the support forum.
180
+
181
+ = The input box has a red background - but the video works just fine. Whats going on? =
182
+ With every video you insert into the meta box the plugin tries to access the API of the
183
+ according video provider to grab information about the video and pull an image. When this API
184
+ access fails the input box gets a red background. When for example the server you are using is
185
+ located in Germany it cannot access the YouTube API for videos blocked in this country - still
186
+ you and your visitors might be able to watch the videos as normal. The plugin cannot test for this.
187
+
188
+ = How do I use my local videos? =
189
+ Take a look into the contextual help (button on the top right of the post edit screen).
190
+
191
+ = My theme uses Featured Images. Why are my videos not being displayed in place? =
192
+ For the videos to be automatically displayed you need to define a Featured Image. This image will never be shown if a video is available.
193
+ Beside this your theme needs to feature [Post Thumbnails](http://codex.wordpress.org/Post_Thumbnails) and make use of `get_the_post_thumbnail()` or `the_post_thumbnail()`, because these are the core functions the plugin hooks into.
194
+
195
+ If the automatic integration does not work, you can tell me in the [Support Forum](http://wordpress.org/support/plugin/featured-video-plus) which theme you are using and I will take a look at it and might be able to develop a workaround.
196
+
197
+ = How can I make the videos fit the theme? =
198
+ Take a look at your media settings and try different fixed sizes. If tweaking those does not help: [Tell me](http://wordpress.org/support/plugin/featured-video-plus) which theme you are using.
199
+
200
+ = What about other video providers? =
201
+ Leave me a note in the support forums which video platforms you would like to see in a feature release!
202
+
203
+ = How can I translate the plugin? =
204
+ Grab the [featured-video-plus.pot](https://github.com/ahoereth/featured-video-plus/blob/master/lng/featured-video-plus.pot) file, [translate it](http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/) and post it in the [Support Forum](http://wordpress.org/support/plugin/featured-video-plus). It will very likely be shipped with the next version.