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

[auto] plugin: video-sidebar-widgets 6.1

parent 91547edd
No related branches found
No related tags found
No related merge requests found
=== Video Sidebar Widgets === === Video Sidebar Widgets ===
Contributors: denzel_chia Contributors: denzel_chia
Donate link: https://github.com/denzelchia/Video-Sidebar-Widgets/wiki Donate link: https://www.paypal.me/denzelchia/10usd
Author link: https://github.com/denzelchia/ Author link: https://github.com/denzelchia/
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 sidebar widget, video widgets, widgets, sidebar, videos, 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: 4.7 Tested up to: 5.0.3
Stable tag:6.0 Stable tag:6.1
== Description == == Description ==
A collection of sidebar widgets for displaying Flash Videos from 14 video sharing networks. 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. Video networks includes Youtube, Vimeo, BlipTV, Google, etc. This plugin consist of 3 widgets.
== Changelog == == Changelog ==
= 6.1 =
* Does not load tinyMCE editor button, unless using WordPress version older than 5.0
* vsw shortcode will continue to work even without tinyMCE editor button.
= 6.0 = = 6.0 =
* Updated Metacafe code * Updated Metacafe code
...@@ -129,17 +134,13 @@ Stable tag:6.0 ...@@ -129,17 +134,13 @@ Stable tag:6.0
3. Once uploaded, click Activate Plugin link 3. Once uploaded, click Activate Plugin link
== Can I post video in post or page content other than the sidebar? ==
As of version 3.0, shortcode is added to enable user to post video in content.
User can use the video Quicktag at Tinymce editor to insert video shortcode.
== Where to find Video ID ? == == Where to find Video ID ? ==
Please visit the following documentation Please visit the following documentation
https://github.com/denzelchia/Video-Sidebar-Widgets/wiki#youtube-video-id https://github.com/denzelchia/Video-Sidebar-Widgets/wiki#youtube-video-id
== How to use Video Sidebar Widget ? == == How to use Video Sidebar Widget ? ==
Please visit the following documentation Please visit the following documentation
...@@ -161,21 +162,9 @@ Please visit the following documentation ...@@ -161,21 +162,9 @@ Please visit the following documentation
https://github.com/denzelchia/Video-Sidebar-Widgets/wiki#how-to-use-post-meta-video-widget https://github.com/denzelchia/Video-Sidebar-Widgets/wiki#how-to-use-post-meta-video-widget
== How to Embed Video in Post / Page Content? ==
Please visit the following documentation
https://github.com/denzelchia/Video-Sidebar-Widgets/wiki#embed-video-in-post--page-content
== Frequently Asked Questions == == Frequently Asked Questions ==
1. Why is Video Sidebar Widget not compatible with WordPress 2.8 ? 1. Why is my Random Video sidebar Widget not working?
It is not compatible because a bug was found to cause settings of multiple instance of a widget to disappear or mixed up.
The bug was fixed in WordPress 2.8.1
2. Why is my Random Video sidebar Widget not working?
Reload the webpage where you use the widget, each time you reload, the widget will randomly pick 1 of the 5 video you set for display. there are chances that it displays the same video after you reload. Just try reloading again. Reload the webpage where you use the widget, each time you reload, the widget will randomly pick 1 of the 5 video you set for display. there are chances that it displays the same video after you reload. Just try reloading again.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
Plugin Name: Video Sidebar Widgets Plugin Name: Video Sidebar Widgets
Plugin URI: https://github.com/denzelchia/Video-Sidebar-Widgets/ Plugin URI: https://github.com/denzelchia/Video-Sidebar-Widgets/
Version: 6.0 Version: 6.1
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: https://github.com/denzelchia/Video-Sidebar-Widgets/ Author URI: https://github.com/denzelchia/Video-Sidebar-Widgets/
...@@ -14,8 +14,12 @@ require_once(dirname(__FILE__) . "/helper-functions.php"); ...@@ -14,8 +14,12 @@ require_once(dirname(__FILE__) . "/helper-functions.php");
//Admin Settings //Admin Settings
require_once(dirname(__FILE__) . "/vsw_admin_settings.php"); require_once(dirname(__FILE__) . "/vsw_admin_settings.php");
global $wp_version;
if ( version_compare( $wp_version, '5.0', '<' ) ) {
//load tinyMCE button only for WordPress less than 5.0, which uses the old tinyMCE editor instead of Gutenberg
//Tinymce Editor Button //Tinymce Editor Button
require_once(dirname(__FILE__) . "/vsw_tinymce/vsw_tinymce.php"); require_once(dirname(__FILE__) . "/vsw_tinymce/vsw_tinymce.php");
}
//You can comment out the widget class that you do not want to load, remember to comment out the register_widget() in load_video_sidebar_widgets() below! //You can comment out the widget class that you do not want to load, remember to comment out the register_widget() in load_video_sidebar_widgets() below!
......
...@@ -48,6 +48,11 @@ $checked1 = $checked2 = $checked3 = $checked4 = ''; ...@@ -48,6 +48,11 @@ $checked1 = $checked2 = $checked3 = $checked4 = '';
?> ?>
</div> </div>
<?php
global $wp_version;
if ( version_compare( $wp_version, '5.0', '<' ) ) :
//load tinyMCE button only for WordPress less than 5.0, which uses the old tinyMCE editor instead of Gutenberg
?>
<div style="float:left;padding:5px;margin:10px 10px 10px 0px;text-align:center"> <div style="float:left;padding:5px;margin:10px 10px 10px 0px;text-align:center">
<img style='border:1px solid #eee;padding:5px;' src="<?php echo WP_PLUGIN_URL.'/video-sidebar-widgets/source_image/tinybutton.png'?>"/> <img style='border:1px solid #eee;padding:5px;' src="<?php echo WP_PLUGIN_URL.'/video-sidebar-widgets/source_image/tinybutton.png'?>"/>
<br/> <br/>
...@@ -58,6 +63,8 @@ $checked1 = $checked2 = $checked3 = $checked4 = ''; ...@@ -58,6 +63,8 @@ $checked1 = $checked2 = $checked3 = $checked4 = '';
?> ?>
</div> </div>
<?php endif; ?>
<div style="float:left;padding:5px;margin:10px 10px 10px 0px;text-align:center"> <div style="float:left;padding:5px;margin:10px 10px 10px 0px;text-align:center">
<img style='border:1px solid #eee;padding:5px;' src="<?php echo WP_PLUGIN_URL.'/video-sidebar-widgets/source_image/pmvw.png'?>"/> <img style='border:1px solid #eee;padding:5px;' src="<?php echo WP_PLUGIN_URL.'/video-sidebar-widgets/source_image/pmvw.png'?>"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment