Video Background - Version 2.2.1

Version Description

  • Cleaned up code
  • Added donate link
Download this release

Release Info

Developer blakedotvegas
Plugin Icon 128x128 Video Background
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2.0 to 2.2.1

Files changed (2) hide show
  1. candide-vidbg.php +9 -11
  2. readme.txt +6 -2
candide-vidbg.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Video Background
4
  Plugin URI: http://blake.vegas/plugins/video-background/
5
  Description: jQuery WordPress plugin to easily assign a video background to any element. Awesome.
6
  Author: Blake Wilson
7
- Version: 2.2.0
8
  Author URI: http://blake.vegas
9
  */
10
 
@@ -21,7 +21,7 @@ add_action('admin_enqueue_scripts', 'vidbg_metabox_scripts');
21
  * Enqueue vidbg jquery script
22
  */
23
  function vidbg_jquery() {
24
- wp_enqueue_script('vidbg-video-background', plugins_url('/js/jquery.vidbg-min.js', __FILE__), array('jquery'), '2.2.0', true);
25
  }
26
  add_action('wp_footer', 'vidbg_jquery' );
27
 
@@ -269,7 +269,6 @@ add_action( 'wp_head', 'vidbg_initialize_header' );
269
  * Add Shortcode for v1.0.x versions
270
  */
271
  function candide_video_background( $atts , $content = null ) {
272
-
273
  // Attributes
274
  extract(
275
  shortcode_atts(
@@ -283,7 +282,6 @@ function candide_video_background( $atts , $content = null ) {
283
  );
284
 
285
  // Put It Together
286
-
287
  ob_start();
288
  ?>
289
  <script>
@@ -311,13 +309,13 @@ add_shortcode( 'vidbg', 'candide_video_background' );
311
  add_action( 'admin_menu', 'vidbg_add_gettingstarted' );
312
 
313
  function vidbg_add_gettingstarted() {
314
- add_options_page(
315
- 'Video Background',
316
- 'Video Backgroud',
317
- 'manage_options',
318
- 'html5-vidbg',
319
- 'vidbg_gettingstarted_page'
320
- );
321
  }
322
 
323
  /**
4
  Plugin URI: http://blake.vegas/plugins/video-background/
5
  Description: jQuery WordPress plugin to easily assign a video background to any element. Awesome.
6
  Author: Blake Wilson
7
+ Version: 2.2.1
8
  Author URI: http://blake.vegas
9
  */
10
 
21
  * Enqueue vidbg jquery script
22
  */
23
  function vidbg_jquery() {
24
+ wp_enqueue_script('vidbg-video-background', plugins_url('/js/jquery.vidbg-min.js', __FILE__), array('jquery'), '2.2.1', true);
25
  }
26
  add_action('wp_footer', 'vidbg_jquery' );
27
 
269
  * Add Shortcode for v1.0.x versions
270
  */
271
  function candide_video_background( $atts , $content = null ) {
 
272
  // Attributes
273
  extract(
274
  shortcode_atts(
282
  );
283
 
284
  // Put It Together
 
285
  ob_start();
286
  ?>
287
  <script>
309
  add_action( 'admin_menu', 'vidbg_add_gettingstarted' );
310
 
311
  function vidbg_add_gettingstarted() {
312
+ add_options_page(
313
+ 'Video Background',
314
+ 'Video Backgroud',
315
+ 'manage_options',
316
+ 'html5-vidbg',
317
+ 'vidbg_gettingstarted_page'
318
+ );
319
  }
320
 
321
  /**
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Plugin Name ===
2
  Contributors: blakedotvegas
3
- Donate link: http://blake.vegas/plugins/video-background/
4
  Tags: html5, video background, mp4, webm, responsive, shortcode, overlay, fullscreen background, fullscreen, html5 video background, metabox, blake vegas, loop, mute, unmute
5
  Requires at least: 3.2
6
  Tested up to: 4.3.1
7
- Stable tag: 2.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -73,6 +73,10 @@ To add a video background to a class called **header** add ".header" to the cont
73
 
74
  == Changelog ==
75
 
 
 
 
 
76
  = 2.2.0 =
77
  * Fixed notices on 404 page when debug mode is set to true
78
  * Fixed blog posts page video background.
1
  === Plugin Name ===
2
  Contributors: blakedotvegas
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VAQJGNKSGAKLS&lc=US&item_name=Video%20Background&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4
  Tags: html5, video background, mp4, webm, responsive, shortcode, overlay, fullscreen background, fullscreen, html5 video background, metabox, blake vegas, loop, mute, unmute
5
  Requires at least: 3.2
6
  Tested up to: 4.3.1
7
+ Stable tag: 2.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
73
 
74
  == Changelog ==
75
 
76
+ = 2.2.1 =
77
+ * Cleaned up code
78
+ * Added donate link
79
+
80
  = 2.2.0 =
81
  * Fixed notices on 404 page when debug mode is set to true
82
  * Fixed blog posts page video background.