YouTube Channel

Wordpress Plugin
Download latest - 3.0.12.1

Developers

urkekg

Download Stats

Today 40
Yesterday 76
Last Week 430
All Time 342,465
Banner 772x250

Add YouTube Channel widget to the widget area or shortcode to post/page content, set Channel ID or Playlist ID, chose resource to use and keep defaults for all other options. And voila! You will get the latest video from chosen YouTube channel or playlist.

IMPORTANT YouTube Channel does not support Live Streams and does not have Gutenberg Block. Use Shortcode Block or Classic Block to insert shortcode to page/post content.

If you like our plugin and find it useful, please write a review and rate it.

For a manually picked set of videos from YouTube, check out Easy YouTube Gallery.

Features

  • Show latest videos from YouTube Channel (ordered in reverse chronological order related to the creation date), or from Favorited Videos, Liked Videos and Playlist
  • Option to get a random video from any of 4 resources
  • Responsive (one full-width video per row) or non-responsive
  • Preferred aspect ratio relative to width (16:9 and 4:3)
  • Custom width for video embeded object (default is 306px)
  • Three modes to display video: thumbnail (default), HTML5 (iframe) and HTML5 Asynchronous (iframe2)
  • Thumbnail mode opens the video in lightbox
  • Enhanced Privacy - please note that display mode HTML5 (IFRAME) Asynchronous (shortcode parameter iframe2) does not support Enhanced Privacy due to YouTube API limitations
  • Hide or show video title above/below video wrapped to HTML tag by your choice (h3, h4, h5, span or div)
  • Custom feed caching timeout
  • Optional video autoplay with optional muted audio
  • (Optional) TinyMCE button on post/page edit (can be disabled on General plugin settings page), which open a shortcode GUI generator to help you build a shortcode
  • Show link to channel/vanity/legacy username below videos
  • Final look is highly customisable thanks to classes for each element of YTC block!

Requirements

For a fully functional plugin, PHP 5.6 or newer has required! If you use older PHP, we highly recommend you request from your developer, server support or hosting company to update PHP to a secure version.

Styling

Use Customizer, style.css from the child theme or Head & Footer Code plugin to custom style and tweak the look and feel of the YouTube Channel blocks. You can utilise the following classes:

  • .widget_youtube-channel class of whole widget (parent for widget title and YTC block)
  • .youtube_channel YTC block wrapper class. Additional classes are available:
    • .default for non-responsive block
    • .responsive when you have enabled responsive option
  • .ytc_title class for video title container above thumbnail/video object
    • .ytc_title_above - additional class for video title above video/thumbnail
    • .ytc_title_below - additional class for video title below video/thumbnail
    • .ytc_title_inside - additional class for video title printed inside of the thumbnail
    • .ytc_title_inside_bottom - additional class for bottom aligned video title printed inside of the thumbnail
  • .ytc_video_container class of container for single item, plus:
    • .ytc_video_1, .ytc_video_2, class of container for single item with ordering number of item in widget
    • .ytc_video_first class of first container for single item
    • .ytc_video_mid class of all other containers for single item
    • .ytc_video_last class of last container for single item
    • .ar16_9 class for Aspect Ratio 16:9
    • .ar4_3 class for Aspect Ration 4:3
  • .ytc_thumb class of anchor for Thumbnail mode
  • .fluid-width-video-wrapper class for parent element of IFRAME for enabled responsive
  • .ytc_description class for video description text below thumbnail/video object
  • .ytc_link class of container for link to channel

Known Issues

  • Video title and description for embedded playlist mode do not work.
  • Removing the YouTube logo from the playback control bar does not work for all videos.
  • Async HTML5 video does not work for 2nd same video on the same page (two YTC blocks set to Async HTML5)

If WordFence or other malware scan tool detect YouTube Channel file youtube-channel.php as a potential risk because base64_encode() and base64_decode() functions, remember that we use this two functions to store and restore JSON feeds to transient cache, so potential detection is false positive.

Credits

  • For playing videos in lightbox we use enhanced Magnific Popup.
  • Initial textdomain adds done by dimadin.
  • Federico Bozo reminded me to fix z-index problem

Shortcode

Along with Widget, you can add YouTube Channel block inline by using shortcode [youtube_channel]. Default plugin parameters will be used for shortcode, but you can customize all parameters per shortcode.

General Settings

  • class (string) Set custom class if you wish to target special styling for specific YTC block
  • channel (string) ID of preferred YouTube channel. Do not set full URL to channel, but just last part from URL - ID (name)
  • vanity (string) part after www.youtube.com/c/ from Custom URL
  • username (string) Optional legacy YouTube username.
  • playlist (string) ID of preferred YouTube playlist.
  • resource (int) Resource to use for feed:
    • 0 Channel (User uploads)
    • 1 Favorites (for defined channel)
    • 2 Playlist
    • 3 Liked Videos
  • cache (int) Period in seconds for caching feed. You can disable caching by setting this option to 0, but if you have a lot of visits, consider at least short caching (couple minutes).
  • fetch (int) Number of videos that will be used as stack for random pick (min 2, max 50)
  • num (int) Number of videos to display per YTC block.
  • random (bool) Option to randomize videos on every page load.

Video Settings

  • ratio (int) Set preferred aspect ratio for thumbnail and video. You can use:
    • 3 16:9 (widescreen)
    • 1 4:3
  • responsive (bool) Distribute one full width video per row.
  • width (int) Width of thumbnail and video in pixels.
  • display (string) Object that will be used to represent video. We have couple predefined options:
    • thumbnail Thumbnail will be used and video will be loaded in lightbox. (default)
    • iframe HTML5 (iframe)
    • iframe2 HTML5 (iframe) with asynchronous loading - recommended
    • playlist Embedded playlist (same behaviour as old function only_pl)
  • thumb_quality (string) Define image quality for thumbnail display mode. Default is hqdefault, available:
    • default Default Quality (120x90px)
    • mqdefault Medium Quality (320x180px)
    • hqdefault High Quality (480x360px)
    • sddefault Standard Definition (640x480px)
    • maxresdefault Maximum Resolution (1280x720px)
  • no_thumb_title (bool) By default YouTube thumbnail will have tooltip with info about video title and date of publishing. By setting this option to 1 or true you can hide tooltip
  • themelight (bool) By default YouTube have dark play controls theme. By setting this option to 1 or true you can get light theme in player (HTML5 and Flash)
  • controls (bool) Set this option to 1 or true to hide playback controls.
  • autoplay (bool) Enable autoplay of first video in YTC video stack by setting this option to 1 or true
  • mute (bool) Set this option to 1 or true to mute videos set to autoplay on load
  • norel (bool) Set this option to 1 or true to hide related videos after finished playbak
  • nobrand (bool) Set this option to 1 or true to hide YouTube logo from playback control bar
  • NEW nolightbox (bool) Set this option to 1 or true to prevent YTC block with thumbnail to open in lightbox. If you have other plugin that trigger youtube links for lightbox, that one will steal links from this YTC block.
  • NEW target (string) If you enable nolightbox for specific YTC block, you can force opening of thumbnail links in new tab/window if you set this shortcode option to _blank like target="_blank".

Content Layout

  • showtitle (string):
    • none - Hide title
    • above - Display title above video/thumbnail
    • below - Display title below video/thumbnail
    • inside - Display top aligned title inside thumbnail; if display is not thumbnail then treat as above
    • inside_b - Display bottom aligned title inside thumbnail; if display is not thumbnail then treat as below
  • titletag - Video title HTML tag to wrap title (H3, H4, H5, div, span, strong, etc)
  • showdesc (bool) Set to 1 or true to show video description.
  • desclen (int) Set number of characters to cut down length of video description. Set to 0 to use full length description.
  • noinfo (bool) Set to 1 or true to hide overlay video infos (from embedded player)
  • noanno (bool) Set to 1 or true to hide overlay video annotations (from embedded player)

Link to Channel

  • goto_txt (string)
  • popup (int) Control where link to channel will be opened:
    • 0 open link in same window
    • 1 open link in new window with JavaScript
    • 2 open link in new window with target="_blank" anchor attribute
  • link_to (string) URL to link:
    • none Hide link (defult)
    • vanity Vanity custom URL
    • channel Channel page
    • legacy Legacy username page

Please note, to enhance plugin functionality, we can change some shortcode parameters in future.


Releases (74 )

Version Release Date Change Log
3.0.12.1 2021-02-27

(20210227) = * Tested: WordPress 5.6.2 on PHP 7.4.15 and 8.0.2 * Add: compatibility with PHP 8 * Add: conditionally hide not applicable options in widget settings form * Change: Lowest supported PHP version increased to 5.6 * Improve: Readme, Installation (Step-by-Step instructions for obtaining YouTube Data API Key v3), FAQ

3.0.12 2020-11-07

(20201107) = * Add: link video title to YouTube playback page opened in new tab/window * Cleanup: remove deprecated parameters theme (themelight), showinfo (noinfo, hideinfo) * Improve: code for widget * Add: widget parameter skip * (20201014) Add: shortcode parameter skip to skip requested number of items

3.0.11.8 2019-07-19

(20190719) = * Fix: referrer is wrong for protected API keys (thanks to @hmmux)

3.0.11.7 2018-09-06

(20180906) = * Add: Global option sslverify to disable SSL Verification * Add: Global option js_ev_listener to enable Event Listener DOMContentLoaded * (20180826) Add: Override video block template by 3rd party theme or plugin with filter ytc_print_video * Add: Customizable timeout for wp_remote_get() * Improvement: Disable LastPass altering settings fields

3.0.11.6 2018-08-27

(20180826) = * Add compatibility with async/defer optimization (thanks to @lordbass)

3.0.11.5 2018-07-21

(20180721) = * Add: Missing titletag parameter for shortcode, shortcode TinyMCE wizard and widget * Fix: Missing video title for thubmbnail display with above or below positioning (thanks @nimeldk)

3.0.11.4 2018-06-22

(20180622) = * Improvement: add showtitle options inside and inside_b. * (20180213) Update: section descriptions on plugin settings.

3.0.11.3 2018-02-27

(20171001) = * Fix: Default values in dropdown lists does not preselect in TinyMCE shortcode selector * Add: new option for thumbnail quality for TinyMCE shortcode selector

3.0.11.2 2017-10-01

(20171001) = * (20171001) Fix: Undefined index: option_page in youtube-channel/inc/settings.php on line 1006 * Add: Support for custom thumbnail quality * (20170716) Add: native error message from Google for cases not covered by common errors (like accessNotConfigured)

3.0.11.1 2017-05-29

(20170530) = * Fix: cut description in the middle of multy-byte characters (reported by @funfrog) * (20170509) Fix: undefined variable nolightbox * Fix: add nolightbox shortcode parameter and fix typos on Help section

3.0.11 2017-04-24

(20170424) = * Fix: added all 3 parameters to widget_title filter (reported by @squarestar) * (20170301) Add: New shortcode options nolightbox and target, to make available opening thumbnail anchors in new tab/window

3.0.10.5 2017-02-24

(20170225) = * Remove: FMVD opt-in because of general plugin guideline violation rule #9

3.0.10.4 2017-02-01

(20170123) = * Fix: once enabled FMVD notice has not auto dismissed. * Change: input type for YouTube Data API Key from password to text so key is visible by webmaster and prevent messing with autofill browser extensions

3.0.10.3 2017-01-17

(20170114) = * Add opt-in option Freemage Video Downloader * Code cleanup: delete unused admin.js file * UI cleanup: enhance checkbox control in settings * UI cleanup: update option names like 'What to show' is now 'Embed as', 'Hide related videos' to 'No related videos' , etc

3.0.10.1 2017-01-10

(20170110) = * Fix Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ')' in /plugins/youtube-channel/inc/settings.php on line 218

3.0.10 2016-12-31

(20161231) = * (20161225) Optimize: Remove extract() from shortcode parser * Code cleanup and fixing to be compliant with WordPress Core coding standards * Test compatibility with WordPreee 4.7 and PHP 7.0.14 * (20161224) Change: Update notification for missing YouTube Data API Key * Change: Do not display shortcode options changes for fresh installation * (20160824) Change: HTTP to HTTPS links and open remote links on settings page in new tab/window * Change: Disable deprecated notification related to old v2.4 of plugin * (20160419) Fix: resource from globals used if in widget set to use User uploads as resource. * Enhance: Implemented Selective Refresh Support for Widget (WP 4.5) * (20160131) Fix: prevent PHP Notices for Settings page. * Fix: Cache feed option in widget can't be disabled (always revert to default). * Fix: Open link in option in widget always revert to default. * Security: prevent direct loading of settings and widget files. * (20160120) Optimize: replace yt_play.png with optimized image.

3.0.9 2016-02-24
  • Fix: broken autoplay when start to play all videos instead only first in YTC block set
  • Fix: remove $_SESSION variable and replace with class variable to avoid duplicate sets of JS code
3.0.8.9 2015-10-27
  • Fix: Set Hide link for Link to option for Link to Channel in global setting does not work (reported by drweby2).
  • Change: Set minumal required WordPress version 4.0
  • Update: Supported WordPress Version to 4.4
3.0.8.8 2015-10-15
  • Fix: Link to channel enabled in Widget not shown if related link ID has not set in Widget (ignored general settings).
  • Fix: Undefined notices
3.0.8.7 2015-10-15
  • Enhance: Merge two improvements for MagnificPopupAU fork from core library (commit 60d5aa4 and 1d0f697)
  • Fix: TinyMCE button does not have icon when new post/page is created
  • Fix: Strip non-number characters entered in shortcode TinyMCE creator for Fetch, Show, Initial Width and Description length attributes.
  • Fix: make sure that Initial Width is always in pixels (if user enter width in percentage, strip percent sign and threat value as pixel value)
3.0.8.6 2015-10-04
  • Fix: Broken Enhanced Privacy on small screens in forked MagnificPopupAU library
  • Enhanced: Finished making code compliant to WordPress Core coding standards
3.0.8.5 2015-09-01
  • Enhanced: Settings page made compliant to WordPress Core Coding Standard
  • Fix: Wrong links to external resources on Settings page
  • Fix: Opening external resources links on Settings page in new tab
  • Change: Replace PayPal donation links to prevent account limitations if plugin is used on website that violates PayPal's Acceptable Use Policy
3.0.8.4 2015-08-27

(2015-06-10/16/17/18/19-07/10) = * Fix: (6/19) Undefined notice for apikey * Fix: (6/18) Wrong name of widgets page on Help tab * Fix: (6/17) Do not load empty JS asset to prevent clash with VisualComposer and invisible rows wit enabled strtching * Fix: (6/16) Initiate .MagnificPopupAU() on window load event, not on DOM ready event * Fix: Lost some settings during igration from old to new options in settings and widgets * Add: (7/13) New global option Disable TinyMCE added to General tab. Enabled by default, disable to remove TinyMCE icon from post/page Visual Editor * Add: (7/10) New global option Enable Full Screen added to Video tab. Disabled by default, enable fullscreen option for embedded playlist * Add: (6/18) Support to initiate .MagnificPopupAU() on .ajaxComplete() and support dynamically loaded YTC within AJAX * Add: New global option Play inline on iOS added to Video tab. Disabled by default, provide support for playsinline parameter. * Add: Support for (playsinline)[https://developers.google.com/youtube/player_parameters#playsinline] player option in MagnificPopup library to play video on mobile devices in page instead in device player (disabled by default) * Add: Default option settings for nolightbox and * Cleanup: Removed unused modules from MagnificPopup library * Change: Help tab now have shortcode parameters distributed to subtabs * Change: Lightbox classes by prepending ytc- in front of all MagnificPopup classes * Change: Reduce minimal screen width from 700px to 320px when lightbox will not be used and will open video directly on YouTube website. * Improve: Updated strings for localization support * Improve: Updated FAQ with new question about play button on thumbnails * Updated Serbian localization

3.0.8.3 2015-07-17

(2015-06-09) = * Add: Support for enhanced privacy videos in lightbox (MagnificPopupAU tweak)

3.0.8.2 2015-06-08

(2015-06-08) = * Fix: Async HTML5 has broken when debug is disabled because single comments before JS code compression

3.0.8.1 2015-06-08

(2015-06-07) = * Fix: Migrate deprecated widget options * Add: Notice about changed shortcode parameters * Add: Message if access to resource is forbidden (private Liked or Favourited videos)

3.0.8 2015-06-07

Bugfixes, optimizations and improvements.

3.0.7.3 2015-06-02

(2015-05-29) = * Add: TinyMCE button to easy configure and insert shortcode to post/page content * Add: Report about zero videos in resource * Add: Helper method to generate resource nice name (DRY)

3.0.7.2 2015-05-24

(2015-05-24) = * Add: Error report if we have broken feed on record * Add: Report about failed HTTP connections and other problems ocurred when we try to fetch feed * Add: DRY of visible errors for Administrator and visitors (Oops message)

3.0.7.1 2015-05-18

(2015-05-17/18) = * Fix: Plugin version number not updated in DB * Fix: Magnific Popup appear under header on Twenty Eleven theme * Fix: .clearfix break layout if used as class on content division

3.0.7 2015-05-17

(2015-05-17) = * Fix: Uncaught TypeError: e(...).fitVids is not a function * Change: Remove plugin default Channel ID, Vanity custom name, Legacy username and Playlist ID; leave them empty by default and allow them to be empty parameters; throw error if required value not provided. All this to prevent questions like Why I see your videos on my website or Why my website link to your channel * Cleanup: Deprecated widget toggler for Playlist Only depending on selected Resource * Cleanup: Deprecated 16:10 styles * Optimize: Minimize admin style for widget layout

3.0.6.2 2015-05-15

(2015-05-15) = * Fix: Fatal error: Cannot unset string offsets in update.php on line 229 (introduced in 3.0.6.1) * Add: Helpfull links to plugin settings page

3.0.6.1 2015-05-14

(2015-05-14) = * Fix: Undefined index: random * Fix: Unremoved only_pl from global settings

3.0.6 2015-05-14

(2015-05-13/14) =

  • Fix: Prevent Fatal error on PHP<5.3 because required DIR for updater replaced with dirname(FILE)
  • Fix: No retrieved or missing videos from some channels so switch search to playlistItems API call (kudos to @mmirus)
  • Add: Embed As Playlist for all resources
  • Add: Clearfix for crappy themes where clearfix does not exists
  • Add: Option to move video title below video (boolean shortcode parameter titlebelow)
  • Add: PayPal donate button to settings page
  • Improved: Move YouTube Data API Key to plugin settings and add notification to remove YOUTUBE_DATA_API_KEY from wp-config.php (optional)
  • Improved: Updated shortcode explanation in README and Help tab in plugin settings.
  • Improved: Better tips for 'Oops, something went wrong' message.
  • Change: Wording Ups to Oops
  • Remove: Options Embed standard playlist and Show random video from global settings as this should be off by default
  • Remove: Loading of fitVids JS library for test before final removing.
3.0.5 2015-05-12

(2015-05-11/12) = * Fix: Setting back dropdown options with 0 ID does not work on Settings page (Channel as resource to use, Cache timeout, Aspect ratio, What to show, Open link to, Link to) * Add: Option to export global settings to JSON and add to Tools tab in settings button to download global settings JSON * Change: Update plugin features * Improved: Retrieve only fields which will be used for output w/o unused items to reduce * Improved: More micro optimizations

3.0.4 2015-05-11

(2015-05-11) = * Add: Tip what to do if error ocurred with YouTube Data API Key printed inside YTC ERROR comment * Change: Where to ask for support links in widget * Change: Timeout for getting feed increased from 2 to 5 seconds * Change: Update FAQ sections in readme file * Remove: Check for Redux Framework in debug JSON generator

3.0.3 2015-05-10

(2015-05-10) = * Fix: "Ups, something went wrong." when Playlist selected as resource because wrong switch * Fix: Jumping thumbnails in responsive wall on hover in Twenty Fifteen theme because border-bottom for anchors * Fix: Another deprecated shortcode attribute backward compatibility (use_res) * Add: Example of dynamic responsive wall (1 large + 6 small thumbnails) (to Description)

3.0.2 2015-05-10

(2015-05-10) = * Fix: (typo - experiencing on frontend when no API Key set) PHP Fatal error: Call to undefined function __sprintf() in youtube-channel.php on line 445 * Fix: shortcode deprecated params res and show not backward compatibile

3.0.1 2015-05-10

(2015-05-10) = * Fix: Fatal error: Using $this when not in object context in youtube-channel.php on line 89 * Fix: Link to channel not visible on Twenty Fifteen theme

3.0.0 2015-05-10

(2015-05-07/08/09/10) = * Fix: Migraton of global and widget settings to v3.0.0 * Add: New Global Settings page as replacement of Redux Framework solution * Add: Non-Dismissable Dashboard notice if YouTube Data API Key missing with link to explanation page * Change: Option key ytc_version to youtube_channel_version * Change: Shortcode parameters: res to resource, show to display; but leave old parameter names for backward compatibility * Enhance: Various plugin core micro optimizations * Enhance: Dashboard notices * Enhance: Proper options migration on plugin update * Remove: Redux Framework mentioning from core plugin * Remove: Redux Framework config.php * Remove: chromeless.swf asset * Remove: option Fix height taken by controls as now YouTube displays control bar only when video is hovered

2.4.2.1 2015-04-24

(2015-04-24) = * Fix: devicesupport workaround strip 1st video from playlist and favourites and apply only for channel

2.4.2 2015-04-22

(2015-04-22) = * Fix: Broken layout introduced by missing responsive for embedded playlist, iframe and iframe2 * Fix: Replace amp's with HTML entity in thumbnail link * Add: Option to disable thumbnail tooltips (shortcode parameter no_thumb_title) * Add: List of Shortcode attributes to README file * Add: Danis localisation by GSAdev v. Georg Adamsen * Micro optimizations

2.4.1.7 2015-04-20

(2015-04-20) = * Quick Fix: strip 1st video from feed that provides notice "YouTube is upgrading to a newer version, which is not supported by this device or app." (more on www.youtube.com/devicesupport) until we finish YouTube Channel 3.0.0 (on the way)

2.4.1.6 2015-04-20

(2015-04-15) = * Fix: missing responsive support for embedded playlist, iframe and iframe2 * Fix: missing support to hide playback controls, info and annotations for embedded playlist

2.4.1.5 2015-04-13

(2015-04-13) = * Change: Add dismiss link for Old PHP notice and lower suggested PHP version to 5.3.x

2.4.1.4 2015-04-09

(2015-04-09) = * (2015-04-09) Add: Notification about old PHP if lower than 5.3.29 * Change: Run admin functions only in dashboard * (2015-02-09) Fix: strip whitespace from the beginngine/end of channel and playlist ID * (2014-12-30) Fix: prevent Undefined Offset notice when on resource we get less items than user requested in shortcode/widget

2.4.1.3 2014-12-10

(2014-12-10) = * Fix: previous release broke opening lightbox for thumbnails and load YouTube website.

2.4.1.2 2014-12-07

(2014-12-07) = * Add: Add support for hidden controls and YouTube logo in Thumbnail mode. * Change: Rename Magnific Popup function to prevent clash with original Modest Branding that does not have support for disabling related videos, player controls and YouTube logo.

2.4.1.1 2014-12-07

(2014-12-07) = * Change: Remove parameter &rel=1 from thumbnail link because that is a default value and can prevent some lightboxes to load video.

2.4.1 2014-11-15

(2014-11-15) = * Fix: Typo in widget Do not chache [2014-10-03] * Fix: do not show global settings notice with link to settings page if not Redux Framerowk is active [2014-11-15] * Fix: Plugin name on Support tab in global plugin settings. [2014-11-15] * Change: Remove protocol from links and leave browser to decide should get resource from HTTP or HTTPS (depends on website protocol) [2014-10-03] * Change: Add height addition for Fix height taken by controls for embedded playlist and count control above video [2014-10-03] * Change: Move debug log from widget to downloadable dynamic JSON [2014-11-15] * Add: ModestBranding (remove YouTube logo from player control bar) [2014-10-03] * Add: Responsive (make video optionally responsive) [2014-10-04]

2.4.0.2 2014-10-02

(2014-10-02) = * Fix: light theme not applicable to embedded playlist [2014-10-01] * Fix: add clearfix after YTC widget to prevent jumping out of widget block on bad styled themes [2014-10-02] * Add: explanation that What to embed have no effect for embedded playlist (HTML5 always used) [2014-10-01]

2.4.0.1 2014-10-01

(2014-10-01) = * Fix: fatal error - broken execution for embedded playlist with enhanced privacy * Add: button to discard warning notice for Redux Framework

2.4.0 2014-10-01

(2014-10-01) = * Fix: false options set in shortcode had no effect to output box and default settings always used [20140924] * Fix: enabled checkbox in global settings could not be unticked (disabled) [20140924] * Fix: prevent array_slice notice if channel have no uploaded videos [20141001] * Add: fitVids for responsive videos [20140924] * Add: option for additional YTC box class in widget and shortcode [20140924] * Change: global settings page re-implemented with Redux Framework and requires Redux Framework Plugin [20140924] * Change: rewrite plugin to be more OOP [20140924] * Change: removed obsolete methods [20140924] * Change: default box width changed from 220 to 306px [20140924] * Change: YTC block and video pieces now floated left to enable horizontal stack [20140924] * Change: update localization support [20140926] * Change: updated Serbian localization [20140926] * Change: removed PayPal donation button from widget and moved to plugin Settings page [20141001]

2.2.3 2014-09-14

(2014-09-14) = * Add: option to disable related videos (not supported by chromeless player) * Enhance: added support for YouTube rel parameter in Magnific PopUp IFRAME module * Minified assets * Add plugin icon for WordPress 4.x plugin installer * Update plugin banner

2.2.2 2014-07-26

(2014-07-25) = * Add: admin notices after upgrade to prevent errors and avare users to do ReCache and prevent mixed json_decode / base64_encode strings for cached feeds * Change: moved ReCache part to Tools tab on settings page

2.2.1 2014-07-23
  • Fix: to prevent broken JSON feed, transient caching changed from plain serialized string to base64_encode
  • Add: URL parameter ytc_force_recache to force recache, also included on Help tab in plugin settings
2.2.0 2014-04-20
  • Add: open thumbnails in lightbox and stay on site, instead opening YouTube page (Magnific Popup jQuery library)
  • Add: make thumbnail responsive
  • Add: play indicator for thumbnails
  • Add: shortcode [youtube_channel]
  • Add: tabbed settings page for default options for shortcodes
  • Add: Help tab for shortcode parameters
  • Change: moved parts of code to helper functions
2.1.0.2 2014-03-28
  • Fix: remove embed object below old IFRAME implementation
2.1.0.1 2014-03-28
  • Change: add back old iframe functionality, second iframe option is async loading
2.1.0 2014-03-26
  • Change: iframe/HTML5 player inject with IFrame Player API https://developers.google.com/youtube/player_parameters#IFrame_Player_API
  • Change: use native WP remote file download function wp_remote_get to fetch feeds (prevent some permission errors on some hosts)
  • Change: removed height parameter so height is calculated by aspect ratio selection - 16:9 as default
  • Add: mute audio on autoplay if iframe/HTML5 is selected
  • Add: converter that will port pre-2.0.0 YTC widgets to 2.0.0+ version
  • Fix: playlist parser (now allowed dash and underscore in playlist ID)
2.0.0 2014-02-16
  • Fix: undefined vars notices
  • Fix: embedding default plugin playlist instead custom set for "Embed standard playlist"
  • Add: caching system
  • Add: option to link to channel instead to user
  • Add: support for enhanced privacy by YouTube
  • Enhance: RSS feed replaced with JSON
  • Enhance: better formatted debug info with site URL
  • Enhance: re-group widget options
  • Enhance: updated wording
  • Enhance: added tooltips for options
  • Enhance: playlist ID detection from URL
  • Remove: modified error_reporting
1.5.1 2013-04-11
  • Fix issue in widget settings when no apache_get_version() support on server
  • Fix validation errors for widget settings
  • Fix broken sidebar issue introduced in 1.5.0 release
1.5.0 2013-03-28
  • Add inline debug tracker
  • Fix deprecated functions - changed rss.php by feed.php and split() by extract()
  • Fix video description parser for new YouTube feed format
  • Fix autoplay for single video bug
  • Fix autoplay for multiple videos to play only first video
  • Code cleanup
  • Update compatibility to WordPress 3.5.1
1.4.0 2012-09-12
  • Added option to show preferred quantity of videos
  • Added option to embed classic playlist
  • Added class to video container: universal .ytc_video_container and selective (.ytc_video_first, .ytc_video_mid, .ytc_video_last)
  • Added class to video title .ytc_title
  • Added class to video description text .ytc_description
  • Added class to container for link to channel .ytc_link
  • Added routine to unique random video from channel if displayed more than one video
  • Added option to set et cetera string for shortened video description
  • Changed option for random video to use channel or playlist
  • Fields for width and height converted to number with spinner
  • Improved playlist ID handler
1.3.2 2012-02-29
  • Add option to show video description below video
  • Add option to shorten video description to N characters
  • Add option to use light theme for controls instead of default dark theme (HTML5 iframe and flash object)
  • Add option to hide annotations from video
1.3.1 2012-01-20
  • Add support for playlist full URL
  • Fixed no random video for playlist
1.3 2012-01-18
  • Fixed z-index problem with flash and iframe object
  • Add option to try to fix 'No items' error
  • Add donate button in options dialog
1.2 2011-09-28
  • Fixed number of items for random video (min 1, max 50)
  • Fixed no-controls for HTML5 iframe
1.1 2011-09-24
  • Added option to use the playlist instead of channel (suggested by Stacy)
1.0 2011-09-23
  • Ported to WordPress 3.2.1 by replacing deprecated function get_rss() with fetch_feed()
  • Added option to set maximum number of items for random video
  • Version changed from major.minor.micro to to major.minor format
0.1.3 2011-04-09
  • Uses selected() instead of if [dimadin]
  • Uses sprintf for better i18n [dimadin]
  • Wraps some strings in gettext [dimadin]
  • Adds textdomain and loads it [dimadin]
  • Adds target="_blank" for channel link [dimadin]
  • Adds option to open channel link in popup
  • Uses plugin_dir_url() instead of guessing of location [dimadin]
  • Loads widget in its own function [dimadin]
  • Adds Serbian translation
0.1.2 2011-04-02
  • Option to display random video from channel
0.1.1 2011-03-30
  • Fixed option to toggle video title visibility
  • Added option to hide controls for iframe and object videos
  • Added option to hide video info
  • Enabled autostart for iframe and object videos
0.1.0 2011-03-29
  • Initial release

=