Video Sidebar Widgets - Version 5.4

Version Description

Fix autoplay of YouTube Videos. The videos started autoplay probably due to a change in YouTube API.

Download this release

Release Info

Developer denzel_chia
Plugin Icon 128x128 Video Sidebar Widgets
Version 5.4
Comparing to
See all releases

Code changes from version 5.3 to 5.4

Files changed (3) hide show
  1. helper-functions.php +3 -1
  2. readme.txt +8 -2
  3. video-sidebar-widgets.php +1 -1
helper-functions.php CHANGED
@@ -33,7 +33,9 @@ if(!empty($source)): //do this only if video source not empty, to fix widget pag
33
  break;
34
 
35
  case 'YouTube':
36
- $value = "http://www.youtube.com/v/$v_id2&autoplay=$v_autoplay2&loop=0&rel=0";
 
 
37
  $flashvar = "";
38
  $flashvar2 = "";
39
  break;
33
  break;
34
 
35
  case 'YouTube':
36
+ //modified in version 5.4 to fix autoplay, does not know why youtube changed it's setting.
37
+ if($autoplaysetting=='1'){$auto = "&autoplay=$v_autoplay2";}else{$auto="";}
38
+ $value = "http://www.youtube.com/v/$v_id2$auto&loop=0&rel=0";
39
  $flashvar = "";
40
  $flashvar2 = "";
41
  break;
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author link: http://denzeldesigns.com
5
  Tags:video, widget, widgets, sidebar, videos, video sidebar widget, video widget, embed video, video embed, video in sidebar, youtube, vimeo, veoh, myspace video, revver, blip tv, tudou, youku, 6.cn, google videos, tangle
6
  Requires at least:2.8.1
7
  Tested up to: 3.5.1
8
- Stable tag:5.3
9
 
10
  == Description ==
11
 
@@ -14,9 +14,15 @@ Stable tag:5.3
14
 
15
  == Changelog ==
16
 
 
 
 
 
 
 
17
  = 5.3 =
18
 
19
- fix loading in widget page in IE 9
20
 
21
  = 5.2 =
22
 
5
  Tags:video, widget, widgets, sidebar, videos, video sidebar widget, video widget, embed video, video embed, video in sidebar, youtube, vimeo, veoh, myspace video, revver, blip tv, tudou, youku, 6.cn, google videos, tangle
6
  Requires at least:2.8.1
7
  Tested up to: 3.5.1
8
+ Stable tag:5.4
9
 
10
  == Description ==
11
 
14
 
15
  == Changelog ==
16
 
17
+
18
+ = 5.4 =
19
+
20
+ Fix autoplay of YouTube Videos. The videos started autoplay probably due to a change in YouTube API.
21
+
22
+
23
  = 5.3 =
24
 
25
+ Fix loading in widget page in IE 9
26
 
27
  = 5.2 =
28
 
video-sidebar-widgets.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Video Sidebar Widgets
4
  Plugin URI: http://denzeldesigns.com/wordpress-plugins/video-sidebar-widgets/
5
- Version: 5.3
6
  Description: Video Sidebar Widgets to display videos such as Vimeo, YouTube, MySpace Videos etc. Now with added shortcode and quicktag to embed video in post and page content.
7
  Author: Denzel Chia
8
  Author URI: http://denzeldesigns.com/
2
  /*
3
  Plugin Name: Video Sidebar Widgets
4
  Plugin URI: http://denzeldesigns.com/wordpress-plugins/video-sidebar-widgets/
5
+ Version: 5.4
6
  Description: Video Sidebar Widgets to display videos such as Vimeo, YouTube, MySpace Videos etc. Now with added shortcode and quicktag to embed video in post and page content.
7
  Author: Denzel Chia
8
  Author URI: http://denzeldesigns.com/