Version Description
(2015-06-08) = * Fix: Async HTML5 has broken when debug is disabled because single comments before JS code compression
Download this release
Release Info
Developer | urkekg |
Plugin | YouTube Channel |
Version | 3.0.8.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.8.1 to 3.0.8.2
- readme.txt +4 -1
- youtube-channel.php +4 -7
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: youtube, channel, playlist, single, widget, widgets, youtube player, feed, video, thumbnail, embed, sidebar, iframe, html5, responsive
|
5 |
Requires at least: 3.9.0
|
6 |
Tested up to: 4.2.2
|
7 |
-
Stable tag: 3.0.8.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -279,6 +279,9 @@ If you really need that missing feature ASAP, feel free to [contact me](urosevic
|
|
279 |
If you don't wish to pay for enhancements (then you don't care would that be implemented in a week, month, year or so), then send new [Support topic](https://wordpress.org/support/plugin/youtube-channel) with *Topic title* in format **[Feature Request] ...**
|
280 |
|
281 |
== Changelog ==
|
|
|
|
|
|
|
282 |
= 3.0.8.1 (2015-06-07) =
|
283 |
* Fix: Migrate deprecated widget options
|
284 |
* Add: Notice about changed shortcode parameters
|
4 |
Tags: youtube, channel, playlist, single, widget, widgets, youtube player, feed, video, thumbnail, embed, sidebar, iframe, html5, responsive
|
5 |
Requires at least: 3.9.0
|
6 |
Tested up to: 4.2.2
|
7 |
+
Stable tag: 3.0.8.2
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
279 |
If you don't wish to pay for enhancements (then you don't care would that be implemented in a week, month, year or so), then send new [Support topic](https://wordpress.org/support/plugin/youtube-channel) with *Topic title* in format **[Feature Request] ...**
|
280 |
|
281 |
== Changelog ==
|
282 |
+
= 3.0.8.2 (2015-06-08) =
|
283 |
+
* Fix: Async HTML5 has broken when debug is disabled because single comments before JS code compression
|
284 |
+
|
285 |
= 3.0.8.1 (2015-06-07) =
|
286 |
* Fix: Migrate deprecated widget options
|
287 |
* Add: Notice about changed shortcode parameters
|
youtube-channel.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: YouTube Channel
|
|
4 |
Plugin URI: http://urosevic.net/wordpress/plugins/youtube-channel/
|
5 |
Description: Quick and easy embed latest or random videos from YouTube channel (user uploads, liked or favourited videos) or playlist. Use <a href="widgets.php">widget</a> for sidebar or shortcode for content. Works with <em>YouTube Data API v3</em>.
|
6 |
Author: Aleksandar Urošević
|
7 |
-
Version: 3.0.8.
|
8 |
Author URI: http://urosevic.net/
|
9 |
*/
|
10 |
|
@@ -16,8 +16,8 @@ if ( ! class_exists('WPAU_YOUTUBE_CHANNEL') )
|
|
16 |
class WPAU_YOUTUBE_CHANNEL
|
17 |
{
|
18 |
|
19 |
-
const DB_VER =
|
20 |
-
const VER = '3.0.8.
|
21 |
|
22 |
public $plugin_name = "YouTube Channel";
|
23 |
public $plugin_slug = "youtube-channel";
|
@@ -375,12 +375,9 @@ if ( ! class_exists('WPAU_YOUTUBE_CHANNEL') )
|
|
375 |
function ytc_create_ytplayers(){
|
376 |
{$_SESSION['ytc_html5_js']}
|
377 |
}
|
378 |
-
// Create YouTube players if API is loaded
|
379 |
try {
|
380 |
ytc_create_ytplayers();
|
381 |
-
} catch (e) {
|
382 |
-
// console.log('API not loaded and will create player using onYouTubeIframeAPIReady');
|
383 |
-
}
|
384 |
function onYouTubeIframeAPIReady(){
|
385 |
ytc_create_ytplayers();
|
386 |
}
|
4 |
Plugin URI: http://urosevic.net/wordpress/plugins/youtube-channel/
|
5 |
Description: Quick and easy embed latest or random videos from YouTube channel (user uploads, liked or favourited videos) or playlist. Use <a href="widgets.php">widget</a> for sidebar or shortcode for content. Works with <em>YouTube Data API v3</em>.
|
6 |
Author: Aleksandar Urošević
|
7 |
+
Version: 3.0.8.2
|
8 |
Author URI: http://urosevic.net/
|
9 |
*/
|
10 |
|
16 |
class WPAU_YOUTUBE_CHANNEL
|
17 |
{
|
18 |
|
19 |
+
const DB_VER = 12;
|
20 |
+
const VER = '3.0.8.2';
|
21 |
|
22 |
public $plugin_name = "YouTube Channel";
|
23 |
public $plugin_slug = "youtube-channel";
|
375 |
function ytc_create_ytplayers(){
|
376 |
{$_SESSION['ytc_html5_js']}
|
377 |
}
|
|
|
378 |
try {
|
379 |
ytc_create_ytplayers();
|
380 |
+
} catch (e) {}
|
|
|
|
|
381 |
function onYouTubeIframeAPIReady(){
|
382 |
ytc_create_ytplayers();
|
383 |
}
|