From 260b1b9edfb2a9a62ce87b937ed77633751edd2f Mon Sep 17 00:00:00 2001 From: lechuck <l3chuck@autistici.org> Date: Sat, 14 Jul 2012 09:17:38 +0000 Subject: [PATCH] Upgrade Video Sidebar to 5.3 --- .../plugins/video-sidebar-widgets/helper-functions.php | 4 +++- wp-content/plugins/video-sidebar-widgets/readme.txt | 10 +++++++--- .../video-sidebar-widgets/video-sidebar-widgets.php | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/wp-content/plugins/video-sidebar-widgets/helper-functions.php b/wp-content/plugins/video-sidebar-widgets/helper-functions.php index 92e36fe74..1c7c9aa5d 100644 --- a/wp-content/plugins/video-sidebar-widgets/helper-functions.php +++ b/wp-content/plugins/video-sidebar-widgets/helper-functions.php @@ -21,6 +21,8 @@ function VSWShowVideo($videosource,$videoid,$autoplaysetting,$videowidth,$videoh $source = $v_source; +if(!empty($source)): //do this only if video source not empty, to fix widget page loading in IE 9 + //test for source and assign codes accordingly switch ($source) { @@ -184,7 +186,7 @@ function VSWShowVideo($videosource,$videoid,$autoplaysetting,$videowidth,$videoh echo "</embed>\n"; echo "</object>\n\n"; } - +endif; }//end of function VSWShowVideo diff --git a/wp-content/plugins/video-sidebar-widgets/readme.txt b/wp-content/plugins/video-sidebar-widgets/readme.txt index 80a8c1f24..64f865254 100644 --- a/wp-content/plugins/video-sidebar-widgets/readme.txt +++ b/wp-content/plugins/video-sidebar-widgets/readme.txt @@ -4,15 +4,19 @@ Donate link: http://denzeldesigns.com/wordpress-plugins/video-sidebar-widgets/ Author link: http://denzeldesigns.com 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 Requires at least:2.8.1 -Tested up to: 3.2 -Stable tag:5.2 +Tested up to: 3.3.2 +Stable tag:5.3 == Description == A collection of sidebar widgets for displaying Flash Videos from 14 video sharing networks. Video networks includes Youtube, Vimeo, BlipTV, Google, etc. This plugin consist of 2 widgets and 1 TinyMCE editor button. -== Changelog == +== Changelog == + += 5.3 = + +fix loading in widget page in IE 9 = 5.2 = diff --git a/wp-content/plugins/video-sidebar-widgets/video-sidebar-widgets.php b/wp-content/plugins/video-sidebar-widgets/video-sidebar-widgets.php index aaa0b6336..d6499e929 100644 --- a/wp-content/plugins/video-sidebar-widgets/video-sidebar-widgets.php +++ b/wp-content/plugins/video-sidebar-widgets/video-sidebar-widgets.php @@ -2,7 +2,7 @@ /* Plugin Name: Video Sidebar Widgets Plugin URI: http://denzeldesigns.com/wordpress-plugins/video-sidebar-widgets/ -Version: 5.2 +Version: 5.3 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. Author: Denzel Chia Author URI: http://denzeldesigns.com/ -- GitLab