Version Description
- Added "Follow me on Twitter" button
- Added premium notice message for those on WP 4.2 or greater
- updated language file
Download this release
Release Info
Developer | blakedotvegas |
Plugin | Video Background |
Version | 2.5.1 |
Comparing to | |
See all releases |
Code changes from version 2.5.0 to 2.5.1
- admin_premium_notice.php +35 -0
- candide-vidbg.php +29 -2
- css/style.css +10 -0
- js/jquery.backend.js +11 -0
- languages/video-background.pot +57 -41
- readme.txt +6 -1
admin_premium_notice.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Create the premium notice message
|
4 |
+
*/
|
5 |
+
function vidbg_premium_notice() {
|
6 |
+
$class = 'notice notice-success vidbg-premium-notice is-dismissible';
|
7 |
+
$message = __( 'Does a version of Video Background with premium features interest you? <a href="http://blakewilson.me/projects/video-background/premium-video-background/?utm_source=videobackgroundwordpress&utm_medium=wordpressnotice&utm_campaign=Video%20Background%20Wordpress%20Premium%20Notice" target="_blank">Please take 2 seconds to let me know!</a>', 'video-background' );
|
8 |
+
$is_dismissed = get_option( 'vidbg-premium-notice-dismissed' );
|
9 |
+
|
10 |
+
if( empty( $is_dismissed ) ) {
|
11 |
+
printf( '<div class="%1$s"><p>%2$s</p></div>', $class, $message );
|
12 |
+
}
|
13 |
+
}
|
14 |
+
add_action( 'admin_notices', 'vidbg_premium_notice' );
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Ajax handler to permanently dismiss notice
|
20 |
+
*/
|
21 |
+
function vidbg_dismiss_premium_notice() {
|
22 |
+
update_option( 'vidbg-premium-notice-dismissed', 1 );
|
23 |
+
}
|
24 |
+
add_action( 'wp_ajax_vidbg_dismiss_premium_notice', 'vidbg_dismiss_premium_notice' );
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Restore permanently dismissed premium notice message
|
30 |
+
*/
|
31 |
+
function vidbg_restore_premium_notice() {
|
32 |
+
/* delete_option( 'vidbg-premium-notice-dismissed' ); */
|
33 |
+
}
|
34 |
+
add_action( 'admin_init', 'vidbg_restore_premium_notice' );
|
35 |
+
?>
|
candide-vidbg.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Video Background
|
|
4 |
Plugin URI: http://blakewilson.me/projects/video-background/
|
5 |
Description: jQuery WordPress plugin to easily assign a video background to any element. Awesome.
|
6 |
Author: Blake Wilson
|
7 |
-
Version: 2.5.
|
8 |
Author URI: http://blakewilson.me
|
9 |
Donate Link: http://paypal.me/blakewilsonme
|
10 |
Text Domain: video-background
|
@@ -371,7 +371,8 @@ function vidbg_gettingstarted_page() {
|
|
371 |
_e( '<p>If you have any feedback/questions regarding the plugin you can reach me <a href="https://wordpress.org/support/plugin/video-background" target="_blank">here.</a>', 'video-background' );
|
372 |
_e( '<h3>Support</h3>', 'video-background' );
|
373 |
_e( '<p>If you like Video Background and want to support its development, you can do so with a donation :)</p>', 'video-background' );
|
374 |
-
_e( '<a href="http://paypal.me/blakewilsonme" class="button button-primary" target="_blank">Buy
|
|
|
375 |
echo '</div>';
|
376 |
}
|
377 |
|
@@ -387,3 +388,29 @@ function vidbg_gettingstarted_link($links) {
|
|
387 |
}
|
388 |
$plugin = plugin_basename(__FILE__);
|
389 |
add_filter("plugin_action_links_$plugin", 'vidbg_gettingstarted_link' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
Plugin URI: http://blakewilson.me/projects/video-background/
|
5 |
Description: jQuery WordPress plugin to easily assign a video background to any element. Awesome.
|
6 |
Author: Blake Wilson
|
7 |
+
Version: 2.5.1
|
8 |
Author URI: http://blakewilson.me
|
9 |
Donate Link: http://paypal.me/blakewilsonme
|
10 |
Text Domain: video-background
|
371 |
_e( '<p>If you have any feedback/questions regarding the plugin you can reach me <a href="https://wordpress.org/support/plugin/video-background" target="_blank">here.</a>', 'video-background' );
|
372 |
_e( '<h3>Support</h3>', 'video-background' );
|
373 |
_e( '<p>If you like Video Background and want to support its development, you can do so with a donation :)</p>', 'video-background' );
|
374 |
+
_e( '<a href="http://paypal.me/blakewilsonme" class="button button-primary" target="_blank">Buy me a coffee</a>', 'video-background' );
|
375 |
+
_e( ' <a href="https://twitter.com/blakewilsonme" class="button button-primary vidbg-twitter" target="_blank">Follow me on Twitter</a>', 'video-background' );
|
376 |
echo '</div>';
|
377 |
}
|
378 |
|
388 |
}
|
389 |
$plugin = plugin_basename(__FILE__);
|
390 |
add_filter("plugin_action_links_$plugin", 'vidbg_gettingstarted_link' );
|
391 |
+
|
392 |
+
|
393 |
+
|
394 |
+
/**
|
395 |
+
* Create function to see if WordPress version is 4.2 or higher
|
396 |
+
*/
|
397 |
+
if ( ! function_exists( 'vidbg_is_wp_version' ) ) {
|
398 |
+
function vidbg_is_wp_version( $version = '4.2' ) {
|
399 |
+
global $wp_version;
|
400 |
+
|
401 |
+
if ( version_compare( $wp_version, $version, '>=' ) ) {
|
402 |
+
return true;
|
403 |
+
} else {
|
404 |
+
return false;
|
405 |
+
}
|
406 |
+
}
|
407 |
+
}
|
408 |
+
|
409 |
+
|
410 |
+
|
411 |
+
/**
|
412 |
+
* If WP version is 4.2 or higher display premium notice message
|
413 |
+
*/
|
414 |
+
if( vidbg_is_wp_version() == true ) {
|
415 |
+
require_once( plugin_dir_path( __FILE__ ) . '/admin_premium_notice.php' );
|
416 |
+
}
|
css/style.css
CHANGED
@@ -6,6 +6,16 @@
|
|
6 |
padding: 0;
|
7 |
}
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
/***********************
|
10 |
jQuery Slider
|
11 |
***********************/
|
6 |
padding: 0;
|
7 |
}
|
8 |
|
9 |
+
.wp-core-ui .button-primary.vidbg-twitter {
|
10 |
+
background: #1da1f2;
|
11 |
+
border-color: #1795E2;
|
12 |
+
-webkit-box-shadow: 0 1px 0 #1795E2;
|
13 |
+
box-shadow: 0 1px 0 #1795E2;
|
14 |
+
color: #fff;
|
15 |
+
text-decoration: none;
|
16 |
+
text-shadow: 0 -1px 1px #1795E2,1px 0 1px #1795E2,0 1px 1px #1795E2,-1px 0 1px #1795E2;
|
17 |
+
}
|
18 |
+
|
19 |
/***********************
|
20 |
jQuery Slider
|
21 |
***********************/
|
js/jquery.backend.js
CHANGED
@@ -55,4 +55,15 @@ jQuery( document ).ready(function($) {
|
|
55 |
});
|
56 |
});
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
});
|
55 |
});
|
56 |
});
|
57 |
|
58 |
+
|
59 |
+
// Ajax used to permanently dismiss premium notice message
|
60 |
+
jQuery(document).on( 'click', '.vidbg-premium-notice .notice-dismiss', function() {
|
61 |
+
jQuery.ajax({
|
62 |
+
url: ajaxurl,
|
63 |
+
data: {
|
64 |
+
action: 'vidbg_dismiss_premium_notice'
|
65 |
+
}
|
66 |
+
})
|
67 |
+
})
|
68 |
+
|
69 |
});
|
languages/video-background.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Video Background\n"
|
6 |
-
"POT-Creation-Date: 2016-
|
7 |
"PO-Revision-Date: 2016-03-30 22:31-0700\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
@@ -20,200 +20,216 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
#. Plugin Name of the plugin/theme
|
24 |
-
#: candide-vidbg.php:
|
25 |
msgid "Video Background"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: candide-vidbg.php:
|
29 |
msgid "Container"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: candide-vidbg.php:
|
33 |
msgid ""
|
34 |
"Please specify the container you would like your video background to be in."
|
35 |
"<br>ex: <code>.header</code> or <code>body</code>"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: candide-vidbg.php:
|
39 |
msgid "Link to .mp4"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: candide-vidbg.php:
|
43 |
msgid ""
|
44 |
"Please specify the link to the .mp4 file. You can either enter a URL or "
|
45 |
"upload a file.<br>For browser compatability, please enter an .mp4 and .webm "
|
46 |
"file for video backgrounds."
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: candide-vidbg.php:
|
50 |
msgid "Upload .mp4 file"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: candide-vidbg.php:
|
54 |
msgid "Link to .webm"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: candide-vidbg.php:
|
58 |
msgid ""
|
59 |
"Please specify the link to the .webm file. You can either enter a URL or "
|
60 |
"upload a file.<br>For browser compatability, please enter an .mp4 and .webm "
|
61 |
"file for video backgrounds."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: candide-vidbg.php:
|
65 |
msgid "Upload .webm file"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: candide-vidbg.php:
|
69 |
msgid "Link to fallback image"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: candide-vidbg.php:
|
73 |
msgid ""
|
74 |
"Please specify a link to the fallback image in case the browser does not "
|
75 |
"support video backgrounds. You can either enter a URL or upload a file."
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: candide-vidbg.php:
|
79 |
msgid "Upload fallback image"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: candide-vidbg.php:
|
83 |
msgid "Advanced Options »"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: candide-vidbg.php:
|
87 |
msgid "Overlay"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: candide-vidbg.php:
|
91 |
msgid ""
|
92 |
"Add an overlay over the video. This is useful if your text isn't readable "
|
93 |
"with a video background."
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: candide-vidbg.php:
|
97 |
msgid "Off"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: candide-vidbg.php:
|
101 |
msgid "On"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: candide-vidbg.php:
|
105 |
msgid "Overlay Color"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: candide-vidbg.php:
|
109 |
msgid ""
|
110 |
"If overlay is enabled, a color will be used for the overlay. You can specify "
|
111 |
"the color here."
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: candide-vidbg.php:
|
115 |
msgid "Overlay Opacity"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: candide-vidbg.php:
|
119 |
msgid ""
|
120 |
"Specify the opacity of the overlay with the left being mostly transparent "
|
121 |
"and the right being hardly transparent."
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: candide-vidbg.php:
|
125 |
msgid "Turn off loop?"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: candide-vidbg.php:
|
129 |
msgid ""
|
130 |
"Turn off the loop for Video Background. Once the video is complete, it will "
|
131 |
"display the last frame of the video."
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: candide-vidbg.php:
|
135 |
msgid "Play the audio?"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: candide-vidbg.php:
|
139 |
msgid "Enabling this will play the audio of the video."
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: candide-vidbg.php:
|
143 |
msgid "<h2>Video Background</h2>"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: candide-vidbg.php:
|
147 |
msgid ""
|
148 |
"<p>Video background makes it easy to add responsive, great looking video "
|
149 |
"backgrounds to any element on your website.</p>"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: candide-vidbg.php:
|
153 |
msgid "<h3>Getting Started</h3>"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: candide-vidbg.php:
|
157 |
msgid ""
|
158 |
"<p>To implement Video Background on your website, please follow the "
|
159 |
"instructions below."
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: candide-vidbg.php:
|
163 |
msgid ""
|
164 |
"<li>Edit the page or post you would like the video background to appear on.</"
|
165 |
"li>"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: candide-vidbg.php:
|
169 |
msgid ""
|
170 |
"<li>Below the content editor, you should see a metabox titled <b>Video "
|
171 |
"Background</b>. Enter the values for the required fields and publish/update "
|
172 |
"the page.</li>"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: candide-vidbg.php:
|
176 |
msgid "<li>Enjoy.</li>"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: candide-vidbg.php:
|
180 |
msgid ""
|
181 |
"<p>Alternatively, you can use the shortcode by placing the following code at "
|
182 |
"the bottom of the content editor of the page or post you would like the "
|
183 |
"video background to appear on. Here is how it works:</p>"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: candide-vidbg.php:
|
187 |
msgid ""
|
188 |
"<a href=\"http://blakewilson.me/projects/video-background/\" class=\"button"
|
189 |
"\" target=\"_blank\">Further Documentation</a>"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: candide-vidbg.php:
|
193 |
msgid "<h3>Questions?</h3>"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: candide-vidbg.php:
|
197 |
msgid ""
|
198 |
"<p>If you have any feedback/questions regarding the plugin you can reach me "
|
199 |
"<a href=\"https://wordpress.org/support/plugin/video-background\" target="
|
200 |
"\"_blank\">here.</a>"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: candide-vidbg.php:
|
204 |
msgid "<h3>Support</h3>"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: candide-vidbg.php:
|
208 |
msgid ""
|
209 |
"<p>If you like Video Background and want to support its development, you can "
|
210 |
"do so with a donation :)</p>"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: candide-vidbg.php:
|
214 |
msgid ""
|
215 |
"<a href=\"http://paypal.me/blakewilsonme\" class=\"button button-primary\" "
|
216 |
-
"target=\"_blank\">Buy
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
msgstr ""
|
218 |
|
219 |
#: framework/includes/CMB2.php:122
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Video Background\n"
|
6 |
+
"POT-Creation-Date: 2016-05-13 16:53-0700\n"
|
7 |
"PO-Revision-Date: 2016-03-30 22:31-0700\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: admin_premium_notice.php:7
|
24 |
+
msgid ""
|
25 |
+
"Does a version of Video Background with premium features interest you? <a "
|
26 |
+
"href=\"http://blakewilson.me/projects/video-background/premium-video-"
|
27 |
+
"background/?"
|
28 |
+
"utm_source=videobackgroundwordpress&utm_medium=wordpressnotice&utm_campaign=Video"
|
29 |
+
"%20Background%20Wordpress%20Premium%20Notice\" target=\"_blank\">Please take "
|
30 |
+
"2 seconds to let me know!</a>"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
#. Plugin Name of the plugin/theme
|
34 |
+
#: candide-vidbg.php:80
|
35 |
msgid "Video Background"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: candide-vidbg.php:87
|
39 |
msgid "Container"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: candide-vidbg.php:88
|
43 |
msgid ""
|
44 |
"Please specify the container you would like your video background to be in."
|
45 |
"<br>ex: <code>.header</code> or <code>body</code>"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: candide-vidbg.php:94
|
49 |
msgid "Link to .mp4"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: candide-vidbg.php:95
|
53 |
msgid ""
|
54 |
"Please specify the link to the .mp4 file. You can either enter a URL or "
|
55 |
"upload a file.<br>For browser compatability, please enter an .mp4 and .webm "
|
56 |
"file for video backgrounds."
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: candide-vidbg.php:99
|
60 |
msgid "Upload .mp4 file"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: candide-vidbg.php:104
|
64 |
msgid "Link to .webm"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: candide-vidbg.php:105
|
68 |
msgid ""
|
69 |
"Please specify the link to the .webm file. You can either enter a URL or "
|
70 |
"upload a file.<br>For browser compatability, please enter an .mp4 and .webm "
|
71 |
"file for video backgrounds."
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: candide-vidbg.php:109
|
75 |
msgid "Upload .webm file"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: candide-vidbg.php:114
|
79 |
msgid "Link to fallback image"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: candide-vidbg.php:115
|
83 |
msgid ""
|
84 |
"Please specify a link to the fallback image in case the browser does not "
|
85 |
"support video backgrounds. You can either enter a URL or upload a file."
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: candide-vidbg.php:119
|
89 |
msgid "Upload fallback image"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: candide-vidbg.php:124
|
93 |
msgid "Advanced Options »"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: candide-vidbg.php:133
|
97 |
msgid "Overlay"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: candide-vidbg.php:134
|
101 |
msgid ""
|
102 |
"Add an overlay over the video. This is useful if your text isn't readable "
|
103 |
"with a video background."
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: candide-vidbg.php:139 candide-vidbg.php:169 candide-vidbg.php:181
|
107 |
msgid "Off"
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: candide-vidbg.php:140 candide-vidbg.php:170 candide-vidbg.php:182
|
111 |
msgid "On"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: candide-vidbg.php:145
|
115 |
msgid "Overlay Color"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: candide-vidbg.php:146
|
119 |
msgid ""
|
120 |
"If overlay is enabled, a color will be used for the overlay. You can specify "
|
121 |
"the color here."
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: candide-vidbg.php:153
|
125 |
msgid "Overlay Opacity"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: candide-vidbg.php:154
|
129 |
msgid ""
|
130 |
"Specify the opacity of the overlay with the left being mostly transparent "
|
131 |
"and the right being hardly transparent."
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: candide-vidbg.php:163
|
135 |
msgid "Turn off loop?"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: candide-vidbg.php:164
|
139 |
msgid ""
|
140 |
"Turn off the loop for Video Background. Once the video is complete, it will "
|
141 |
"display the last frame of the video."
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: candide-vidbg.php:175
|
145 |
msgid "Play the audio?"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: candide-vidbg.php:176
|
149 |
msgid "Enabling this will play the audio of the video."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: candide-vidbg.php:358
|
153 |
msgid "<h2>Video Background</h2>"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: candide-vidbg.php:359
|
157 |
msgid ""
|
158 |
"<p>Video background makes it easy to add responsive, great looking video "
|
159 |
"backgrounds to any element on your website.</p>"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: candide-vidbg.php:360
|
163 |
msgid "<h3>Getting Started</h3>"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: candide-vidbg.php:361
|
167 |
msgid ""
|
168 |
"<p>To implement Video Background on your website, please follow the "
|
169 |
"instructions below."
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: candide-vidbg.php:363
|
173 |
msgid ""
|
174 |
"<li>Edit the page or post you would like the video background to appear on.</"
|
175 |
"li>"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: candide-vidbg.php:364
|
179 |
msgid ""
|
180 |
"<li>Below the content editor, you should see a metabox titled <b>Video "
|
181 |
"Background</b>. Enter the values for the required fields and publish/update "
|
182 |
"the page.</li>"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: candide-vidbg.php:365
|
186 |
msgid "<li>Enjoy.</li>"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: candide-vidbg.php:367
|
190 |
msgid ""
|
191 |
"<p>Alternatively, you can use the shortcode by placing the following code at "
|
192 |
"the bottom of the content editor of the page or post you would like the "
|
193 |
"video background to appear on. Here is how it works:</p>"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: candide-vidbg.php:369
|
197 |
msgid ""
|
198 |
"<a href=\"http://blakewilson.me/projects/video-background/\" class=\"button"
|
199 |
"\" target=\"_blank\">Further Documentation</a>"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: candide-vidbg.php:370
|
203 |
msgid "<h3>Questions?</h3>"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: candide-vidbg.php:371
|
207 |
msgid ""
|
208 |
"<p>If you have any feedback/questions regarding the plugin you can reach me "
|
209 |
"<a href=\"https://wordpress.org/support/plugin/video-background\" target="
|
210 |
"\"_blank\">here.</a>"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: candide-vidbg.php:372
|
214 |
msgid "<h3>Support</h3>"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: candide-vidbg.php:373
|
218 |
msgid ""
|
219 |
"<p>If you like Video Background and want to support its development, you can "
|
220 |
"do so with a donation :)</p>"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: candide-vidbg.php:374
|
224 |
msgid ""
|
225 |
"<a href=\"http://paypal.me/blakewilsonme\" class=\"button button-primary\" "
|
226 |
+
"target=\"_blank\">Buy me a coffee</a>"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: candide-vidbg.php:375
|
230 |
+
msgid ""
|
231 |
+
" <a href=\"https://twitter.com/blakewilsonme\" class=\"button button-primary "
|
232 |
+
"vidbg-twitter\" target=\"_blank\">Follow me on Twitter</a>"
|
233 |
msgstr ""
|
234 |
|
235 |
#: framework/includes/CMB2.php:122
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: blakedotvegas
|
|
3 |
Tags: html5, video background, mp4, webm, responsive, shortcode, overlay, fullscreen background, fullscreen, html5 video background, metabox, blake wilson, loop, mute, unmute
|
4 |
Requires at least: 3.8.0
|
5 |
Tested up to: 4.5
|
6 |
-
Stable tag: 2.5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Donate link: https://www.paypal.me/blakewilsonme
|
@@ -79,6 +79,11 @@ To add a video background to a class called **header** add ".header" to the cont
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
82 |
= 2.5.0 =
|
83 |
* Added Overlay Color
|
84 |
* Added Overlay Alpha
|
3 |
Tags: html5, video background, mp4, webm, responsive, shortcode, overlay, fullscreen background, fullscreen, html5 video background, metabox, blake wilson, loop, mute, unmute
|
4 |
Requires at least: 3.8.0
|
5 |
Tested up to: 4.5
|
6 |
+
Stable tag: 2.5.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Donate link: https://www.paypal.me/blakewilsonme
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 2.5.1 =
|
83 |
+
* Added "Follow me on Twitter" button
|
84 |
+
* Added premium notice message for those on WP 4.2 or greater
|
85 |
+
* updated language file
|
86 |
+
|
87 |
= 2.5.0 =
|
88 |
* Added Overlay Color
|
89 |
* Added Overlay Alpha
|