WP Video Lightbox - Version 1.8.4

Version Description

  • Fixed a deprecated constructor warning in the class-prettyphoto.php file.
Download this release

Release Info

Developer wptipsntricks
Plugin Icon 128x128 WP Video Lightbox
Version 1.8.4
Comparing to
See all releases

Code changes from version 1.8.2 to 1.8.4

class-prettyphoto.php CHANGED
@@ -23,7 +23,7 @@ class WP_Video_Lightbox_prettyPhoto
23
  var $keyboard_shortcuts;
24
  var $ie6_fallback;
25
 
26
- function WP_Video_Lightbox_prettyPhoto()
27
  {
28
  $this->animation_speed = 'fast';
29
  $this->slideshow = '5000';
23
  var $keyboard_shortcuts;
24
  var $ie6_fallback;
25
 
26
+ function __construct()
27
  {
28
  $this->animation_speed = 'fast';
29
  $this->slideshow = '5000';
misc_functions.php CHANGED
@@ -45,6 +45,7 @@ function wp_vid_lightbox_youtube_handler($atts)
45
  'height' => '',
46
  'description' => '',
47
  'anchor' => '',
 
48
  'auto_thumb' => '',
49
  ), $atts));
50
  if(empty($video_id) || empty($width) || empty($height)){
@@ -56,7 +57,7 @@ function wp_vid_lightbox_youtube_handler($atts)
56
 
57
  $atts['vid_type'] = "youtube";
58
  if(preg_match("/http/", $anchor)){ // Use the image as the anchor
59
- $anchor_replacement = '<img src="'.$anchor.'" class="video_lightbox_anchor_image" alt="" />';
60
  }
61
  else if($auto_thumb == "1")
62
  {
45
  'height' => '',
46
  'description' => '',
47
  'anchor' => '',
48
+ 'alt' => '',
49
  'auto_thumb' => '',
50
  ), $atts));
51
  if(empty($video_id) || empty($width) || empty($height)){
57
 
58
  $atts['vid_type'] = "youtube";
59
  if(preg_match("/http/", $anchor)){ // Use the image as the anchor
60
+ $anchor_replacement = '<img src="'.$anchor.'" class="video_lightbox_anchor_image" alt="'.$alt.'" />';
61
  }
62
  else if($auto_thumb == "1")
63
  {
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WP Video Lightbox ===
2
  Contributors: Tips and Tricks HQ, Ruhul Amin, wptipsntricks
3
  Donate link: https://www.tipsandtricks-hq.com/
4
- Tags: wordpress lightbox, wordpress video lightbox, video lightbox, wp video lightbox, wordpress video embed, add video to wordpress, gallery, image, images, lightbox, lightview, overlay, photo, photos, picture, video
5
  Requires at least: 3.0
6
- Tested up to: 4.6
7
- Stable tag: 1.8.2
8
  License: GPLv2 or later
9
 
10
  Very easy to use WordPress lightbox plugin to display YouTube and Vimeo videos in an elegant lightbox overlay.
@@ -114,6 +114,12 @@ None
114
 
115
  == Changelog ==
116
 
 
 
 
 
 
 
117
  = 1.8.2 =
118
  * Video lightbox is now compatible with WordPress 4.6.
119
 
1
  === WP Video Lightbox ===
2
  Contributors: Tips and Tricks HQ, Ruhul Amin, wptipsntricks
3
  Donate link: https://www.tipsandtricks-hq.com/
4
+ Tags: wordpress lightbox, wordpress video lightbox, video lightbox, wp video lightbox, wordpress video embed, add video to wordpress, gallery, image, images, lightbox, lightview, overlay, photo, photos, picture, video
5
  Requires at least: 3.0
6
+ Tested up to: 4.8
7
+ Stable tag: 1.8.4
8
  License: GPLv2 or later
9
 
10
  Very easy to use WordPress lightbox plugin to display YouTube and Vimeo videos in an elegant lightbox overlay.
114
 
115
  == Changelog ==
116
 
117
+ = 1.8.4 =
118
+ * Fixed a deprecated constructor warning in the class-prettyphoto.php file.
119
+
120
+ = 1.8.3 =
121
+ * Fixed an issue where the alternate text did not appear for a custom YouTube thumbnail.
122
+
123
  = 1.8.2 =
124
  * Video lightbox is now compatible with WordPress 4.6.
125
 
wp-video-lightbox.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Video Lightbox
4
- Version: 1.8.2
5
  Plugin URI: https://www.tipsandtricks-hq.com/?p=2700
6
  Author: Tips and Tricks HQ, Ruhul Amin
7
  Author URI: https://www.tipsandtricks-hq.com/
@@ -15,13 +15,13 @@ if (!class_exists('WP_Video_Lightbox'))
15
  {
16
  class WP_Video_Lightbox
17
  {
18
- var $version = '1.8.2';
19
  var $db_version = '1.0';
20
  var $plugin_url;
21
  var $plugin_path;
22
  var $settings_obj;
23
 
24
- function __construct()
25
  {
26
  $this->define_constants();
27
  $this->includes();
1
  <?php
2
  /*
3
  Plugin Name: WP Video Lightbox
4
+ Version: 1.8.4
5
  Plugin URI: https://www.tipsandtricks-hq.com/?p=2700
6
  Author: Tips and Tricks HQ, Ruhul Amin
7
  Author URI: https://www.tipsandtricks-hq.com/
15
  {
16
  class WP_Video_Lightbox
17
  {
18
+ var $version = '1.8.4';
19
  var $db_version = '1.0';
20
  var $plugin_url;
21
  var $plugin_path;
22
  var $settings_obj;
23
 
24
+ function __construct()
25
  {
26
  $this->define_constants();
27
  $this->includes();