Skip to content
Snippets Groups Projects
Commit 6255fbb4 authored by lucha's avatar lucha
Browse files

[auto] Plugin: video-sidebar-widgets 5.7

parent 4a78f97b
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,9 @@ extract( $args ); ...@@ -104,7 +104,9 @@ extract( $args );
break; break;
case 'YouTube': case 'YouTube':
$rv_value = "http://www.youtube.com/v/$Embed_id&autoplay=$RV_autoplay&loop=0&rel=0"; //Youtube changed API.
//Now needs to add a ? in embed url before the variables.
$rv_value = "http://www.youtube.com/v/$Embed_id?autoplay=$RV_autoplay&loop=0&rel=0";
$rv_flashvar = ""; $rv_flashvar = "";
$rv_flashvar2 = ""; $rv_flashvar2 = "";
$rv_cap = $Embed_cap; $rv_cap = $Embed_cap;
...@@ -240,7 +242,7 @@ extract( $args ); ...@@ -240,7 +242,7 @@ extract( $args );
echo "width=\"$RV_width\" height=\"$RV_height\">\n"; echo "width=\"$RV_width\" height=\"$RV_height\">\n";
echo "</embed>\n"; echo "</embed>\n";
echo "</object>\n\n"; echo "</object>\n\n";
echo "<p class=\"VideoCaption\">$rv_cap</p>"; if(!empty($rv_cap)){echo "<p class=\"VideoCaption\">$rv_cap</p>\n\n";};
echo $after_widget; echo $after_widget;
......
...@@ -33,7 +33,10 @@ if(!empty($source)): //do this only if video source not empty, to fix widget pag ...@@ -33,7 +33,10 @@ if(!empty($source)): //do this only if video source not empty, to fix widget pag
break; break;
case 'YouTube': case 'YouTube':
$value = "http://www.youtube.com/v/$v_id2&autoplay=$v_autoplay2&loop=0&rel=0"; //Youtube changed API.
//previous modification in version 5.4 does not work for some user, hope this works for everyone.
//thanks to LoSan for the hint about the need to add ? in embed url. http://wordpress.org/support/topic/cant-turn-off-autoplay
$value = "http://www.youtube.com/v/$v_id2?autoplay=$v_autoplay2&loop=0&rel=0";
$flashvar = ""; $flashvar = "";
$flashvar2 = ""; $flashvar2 = "";
break; break;
......
...@@ -4,8 +4,8 @@ Donate link: http://denzeldesigns.com/wordpress-plugins/video-sidebar-widgets/ ...@@ -4,8 +4,8 @@ Donate link: http://denzeldesigns.com/wordpress-plugins/video-sidebar-widgets/
Author link: http://denzeldesigns.com 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 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 Requires at least:2.8.1
Tested up to: 3.3.2 Tested up to: 3.9
Stable tag:5.3 Stable tag:5.7
== Description == == Description ==
...@@ -14,9 +14,30 @@ Stable tag:5.3 ...@@ -14,9 +14,30 @@ Stable tag:5.3
== Changelog == == Changelog ==
= 5.7 =
Added check to random video widget, do not print video caption p tags if user did not enter a video caption.
= 5.6 =
Corrected typo error for constant WP_PLUGIN_URL in vsw_tinymce.php
= 5.5 =
Previous YouTube autoplay fix does not work for some users. Redo it according to loSan and qcdars's solution http://wordpress.org/support/topic/cant-turn-off-autoplay
Fix YouTube autoplay in Random Video Widget. (missed this in previous version 5.4)
= 5.4 =
Fix autoplay of YouTube Videos. The videos started autoplay probably due to a change in YouTube API.
= 5.3 = = 5.3 =
fix loading in widget page in IE 9 Fix loading in widget page in IE 9
= 5.2 = = 5.2 =
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
Plugin Name: Video Sidebar Widgets Plugin Name: Video Sidebar Widgets
Plugin URI: http://denzeldesigns.com/wordpress-plugins/video-sidebar-widgets/ Plugin URI: http://denzeldesigns.com/wordpress-plugins/video-sidebar-widgets/
Version: 5.3 Version: 5.7
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. 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: Denzel Chia
Author URI: http://denzeldesigns.com/ Author URI: http://denzeldesigns.com/
......
...@@ -29,10 +29,10 @@ function dd_vsw_button($tiny_buttons) { ...@@ -29,10 +29,10 @@ function dd_vsw_button($tiny_buttons) {
// Load the TinyMCE plugin : editor_plugin.js (wp2.5) // Load the TinyMCE plugin : editor_plugin.js (wp2.5)
function dd_vsw_tinymce_plugin($plugin_array) { function dd_vsw_tinymce_plugin($plugin_array) {
//check if defined WP_PLUGINS_URL //check if defined WP_PLUGIN_URL
if (defined('WP_PLUGINS_URL')) { if (defined('WP_PLUGIN_URL')) {
$url_to_plugin = WP_PLUGINS_URL."/video-sidebar-widgets/vsw_tinymce/editor_plugin.js"; $url_to_plugin = WP_PLUGIN_URL."/video-sidebar-widgets/vsw_tinymce/editor_plugin.js";
}else{ }else{
//if not assume it is default location. //if not assume it is default location.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment