Version 1.6.4, September 30th, 2024

  • Removed videos count from the interface for search queries performed using the manual bulk importer;
  • Added styling to pagination links when next or previous page is missing when performing manual bulk imports.

Version 1.6.3, July 15th, 2024

  • Introduced option for allowing duplicate videos posts to be created;
  • Solved various compatibility issues with WordPress 6.6;
  • Solved various compatibility issues with PHP 8.3+.

Version 1.6.2, February 14th, 2023

  • Solved a bug that displayed the embed from WPYTHub even if theme import was enabled and generated several PHP notices;
  • Solved a bug that third party plugins may introduce and prevents add-ons from being installed.

Version 1.6.1, September 9th, 2022

  • Added checking of plugin object when running the automatic importer to prevent errors in page.

Version 1.6, August 12th, 2022

  • Removed deprecated player parameters;
  • Added compatibility with Elementor Templates;
  • Updated video player script to emit events;
  • Solved bug that prevented WooCommerce category pages from displaying products.

Version 1.5.13, May 17th, 2022

  • Updated styling for playlist theme Listy;
  • Updated styling for playlist theme Simple;
  • Solved a PHP 8 bug that prevented display of video posts list in playlist shortcode visual interface.

Version 1.5.12, March 23rd, 2022

  • Solved bug for shortcode theme "Simple" that wasn't loading posts when using AJAX pagination for anonymous visitors (not legged in);
  • Solved bug for playlist shortcode visual interface which wasn't setting up the "Load more" default text;
  • Added licensing and add-ons information into the plugin "Status" page and report.

Version 1.5.11, March 3rd, 2022

  • Introduced pagination for playlist theme Simple.

Version 1.5.10, March 1st, 2022

  • Introduced pagination for playlist theme Listy;
  • Added new pagination parameters in playlist shortcode visual interface;
  • Updated playlist shortcode to support pagination;
  • Solved a couple of minor bugs in WPYTHub YouTube player embed script.

Version 1.5.9, December 16th, 2021

  • Solved a bug in the single video import screen (Add new under Videos) that generated a WP error if the video could not be found after submitting the search form;
  • Solved a bug in the single video import screen that issued a notice "Notice: Trying to get property 'post_type' of non-object in ..." when the page was opened.

Version 1.5.8, December 15th, 2021

  • Added media query for playlist theme "Simple".

Version 1.5.7, December 6th, 2021

  • Added new playlist shortcode option to visual interface for media display into the playlist;
  • Added new playlist shortcode option "embed_in_list" which can have values 0 (no media), 1 (embed videos), 2 (show featured image and embed video if featured image is missing) or 3 (show only the featured images);
  • Modified theme Listy and theme Simple to support the new shortcode option for displaying media;
  • Modified theme Default to ignore the new setting since it's not needed in this theme;
  • Updated the video player embed script and removed all obsolete code.

Version 1.5.6, November 30th, 2021

  • Improved shortcode parameter for playlist shortcode post content to allow display of full post content, excerpt or hide it;
  • Added shortcode parameter that displays the post content to manually selected posts view when creating a playlist;
  • Solved a bug in playlist theme "Default" that caused post content to not follow the shortcode settings.

Version 1.5.5, November 25th, 2021

  • Added new shortcode parameter for playlist shortcode to allow display of the post content in playlists;
  • Updated all playlist themes to accept a new parameter that allows the display of the post content in playlists.

Version 1.5.4, November 16th, 2021

  • Added debug messages to the OAuth setup process that can be captured by the Debug add-on;
  • Added OAuth setup status to the plugin Status report.

Version 1.5.3, October 26th, 2021

  • Added new playlist theme called "Simple", available for both the playlist widget and the playlist shortcode.

Version 1.5.2, October 12th, 2021

  • Added support for playlist themes;
  • Solved a bug that prevented the recent videos widget from being displayed;
  • Added new playlist theme called "Listy", available for both the playlist widget and the playlist shortcode.

Version 1.5.1, October 5th, 2021

  • Solved bug that prevented add-ons installation.

Version 1.5, September 23rd, 2021

  • Added new option in plugin Settings for importing YouTube videos having visibility set to "Unlisted";
  • Videos having visibility set to "Private" will not be imported anymore;
  • Reviewed the mechanism of checking video posts in WordPress after they are imported and setting them as "Pending review" if they were set as "Private" after being imported;
  • Added new "Add-ons" section for easier installation of WPYTHub add-ons.

Version 1.4.19, September 17th, 2021

  • Upgraded playlist shortcode to allow playlists to be created from imported YouTube Playlist by clicking the playlist name into the shortcode modal;
  • Solved bug that prevented single video shortcode from being inserted into posts.

Version 1.4.18, September 10th, 2021

  • Added Status page for generating reports used for support issues;
  • Videos imported from playlist, channel or user uploads are tagged using custom taxonomy with the playlist, channel or user name for easier management in WP admin;
  • Added "Playlist" column in WP admin page "Videos" for the videos list table which allows filtering of posts based on the resource they were imported from (playlist, channel or user uploads);
  • Solved a bug in "Import videos" page that wasn't triggering the import when the bottom button was clicked into the importer;
  • Removed obsolete theme "Detube" from compatibility list;
  • Updated the Help page with relevant information;
  • Added "Status" page for generating reports that can be used in support requests;
  • Minified script from "Import videos" page.

Version 1.4.17, September 6th, 2021

  • Video data is stored on post meta without the post title and description to avoid errors;
  • Solved playlist shortcode bugs for the Block Editor;
  • Video data can be re-imported from WP admin posts page for posts that did not set the post meta due to errors;
  • Solved a bug that prevented the videos list to be displayed when trying to embed a playlist using the shortcode visual interface and one of the videos didn't have the video data set in the post meta.

Version 1.4.16, August 17th, 2021

  • Added AMP (https://wordpress.org/plugins/amp/) plugin support for video posts.

Version 1.4.15, July 14th, 2021

  • Added compatibility with WordPress 5.8.

Version 1.4.14, July 14th, 2021

  • Migrated plugin from CodeCanyon to CodeFlavors.

Older changelog entries

  • 1.4.8

    – Added new option for latest videos widget that allows to enable/disable video auto play;
    – Trim OAuth client ID and secret to avoid authentication errors.

  • 1.4.7

    – Solved single video import bug that was importing categories even if global option for importing categories was off;
    – Solved single video import bug that was causing PHP error when importing categories;
    – Plugin loads full JS script for embedding video when WordPress SCRIPT_DEBUG is on;
    – Added filter “cbc_video_embed_filter_priority” that allows filtering of priority for the automatic embed made by the plugin. This is useful when using membership plugins that protect the content;
    – Solved a bug that was preventing posts from being updated to pending review when check for post status was on.

  • 1.4.6

    – Solved a bug that stored video details in database as CBC_Video object instead of array;
    – Modified class CBC_Ajax to use composition instead of inheritance;
    – Introduced data cache class for video details retrieved from WP custom field.

  • 1.4.4

    – Added plugin options class for better options management;
    – Improved speed by making additional changes to the plugin.

  • 1.4.3

    – Solved a page loading time on archive pages containing video posts that was caused in rare circumstances by requests made to YouTube API to refresh video information;
    – Solved pagination issue under “My YouTube” plugin page;
    – Implemented code timers that measure how long it takes for certain tasks to be accomplished by the plugin (to see reports you need the debugging plugin);

  • 1.4.2

    – Solved an automatic import bug that was causing the importer to stop when automatic import was set to import only newly added videos;
    – Solved various filter/action plugin parameters that were returning an object instead of an array for the video details and this caused PHP errors to appear;
    – Solved an automatic import error that appeared when using the date restriction functionality and was causing the importer to stop importing;
    – Solved a bug that appeared when using the video schema;
    – Implemented filter ‘cbc_js_embed’ that can be used to modify all embeds made by the plugin to place embed iframe directly into the post content instead of using plugin’s JavaScript embedding.

  • 1.4.1

    – Solves PHP error “Fatal error: Can’t use method return value in write context in…” that is triggered if using a PHP version lower than 5.5.

  • 1.4.0

    – Introduced function `cbc_get_class_instance()` that returns main class object reference (`CBC_YouTube_Videos`);
    – Introduced new method of retrieving video details from post using method `CBC_YouTube_Videos->get_post_video_data( $post_id )` which returns an object of type CBC_Video;
    – Introduced new class `CBC_Video` which handles all video details from a given post;
    – Added etag field to automatic import post types;
    – Added extra links to plugin entry in Plugins page (Settings, Documentation and First time installation);
    – Added PHP version warning if PHP version is less than 7.0;
    – Solved a bug that wasn’t resetting the countdown if current automatic import was deleted;
    – Introduced new method `get_post_video_data($post)` in class `CBC_Video_Post_Type` that returns video details from post as `CBC_Video` object;
    – Solved a PHP notice that was triggered when saving a video widget without setting the widget cache on;
    – Added new function “cbc_video_embed_html()” that can be used in WP Loop to embed attached YouTube video, if available;
    – Solved a bug that was causing automatic imports to not import newest videos from channels and user uploads if option to import only newly added videos was on. This bug is triggered by YouTube API which, for channels and user uploads, returns the results ordered by “relevance” instead of publishing date. This causes feeds to be returned ordered in a more or less random order which in turn prevents the plugin from determining which videos were imported lately;
    – Added prioritization for automatic imports which allows to set an automatic import to run for up to 5 times consecutively before resuming the queue;
    – Added several links to plugin entry in WP admin Plugins page;
    – Added welcome screen that is presented after plugin is activated;
    – Added a friendly notice in plugin pages if server is running PHP version < 7;
    – Added new filter ‘cbc_video_post_embed_below_content’ that allow control of video embed position right before displaying the video in video posts;
    – Added new filter ‘cbc_video_post_embed_options’ that allows changing of all embed options right before displaying the video embed in video posts.

  • 1.3.1

    – Solved an error when checking automatic playlist when editing and the playlist ID field was left empty;
    – Added friendly plugin review reminder;
    – Solved a rare error that was disrupting shortcode setup modal window if third party plugin/theme used filter “pre_get_posts”;
    – Added REST API support;
    – Added documentation links and extra information to plugin help page.

  • 1.3

    – Renamed plugin to YouTube Hub.
    – Modified plugin widgets initialization to happen only once due to bug triggered by third party plugins that were implementing do_action('widgets_init') and were causing the initialization to happen more than once;
    – Implemented optional plugin widgets caching for 5 minutes in transients to speed up widgets display;
    – Solved a bug that was importing videos with closed comments and ping status under certain circumstances;
    – Solved a bug that was issuing errors related to YouTube video comment count;
    – Implemented filter “cbc_allow_auto_import” that can disable automatic imports from running. To disable automatic imports entirely and for good: add_filter( 'cbc_allow_auto_import', '__return_false' );
    – Plugin uses YouTube OAuth instead of Server Key when both present (future plugin version won’t use Server Keys anymore, for now OAuth is optional);
    – Solved an OAuth bug that was asking to grant permission at a given time interval instead of refreshing access automatically;
    – Added option to import YouTube video tags as post tags;
    – Added taxonomy “video_tag” for plugin post type “video”;
    – Added a new, more flexible mechanism for making WP themes compatible with the plugin;
    – Complete rewrite of automatic import process.

  • 1.2.5

    – Added automatic import debug messages that can be used to log every import made by the plugin;
    – Created a debug plugin that will register all automatic imports into a log for later reference;
    – Modified default volume value from 30 to 100.

  • 1.2.4

    – Solved a widget bug that was preventing the video thumbnails from being displayed;
    – Solved a rare error that was issuing notices when likes/dislikes counts were missing;
    – Solved a tabs back-end error on plugin Settings page;
    – Updated back-end scripts to WP 4+ jQuery version.

  • 1.2.3

    – Plugin compatible with WordPress 4.3 (scheduled for release on August 18th, 2015);
    – Added channel title to video details array;
    – modified API query URL forming from using PHP http_build_query() to WP add_query_arg();
    – Added NewsTube theme compatibility;
    – added filter ‘cbc_cpt_with_front’ that can be used to modify “with_front” rewrite argument for custom post type ‘video’;
    – added filter ‘cbc_taxonomy_with_front’ that can be used to modify “with_front” rewrite argument for custom post type taxonomy ‘videos’;
    – Video embedding by plugin is done exclusively using YouTube Iframe API (no more Flash embedding).

  • 1.2.2

    – Implemented 3 new actions on bulk imports (both manual and automatic) and thumbnails bulk import that allow removal of third party filters that make the import process take more time. By using this, EWW Image optimizer is prevented from optimizing images when doing bulk imports since the process takes a lot of time;
    – Solved an interface bug related to the Select All checkbox when doing manual bulk imports;
    – Added video publish date on manual bulk import video list;
    – Implemented daily YouTube quota calculator;
    – New option to display used YouTube API quota units into the plugin pages;
    – New option and functionality to run automatic imports on page load instead of making a background request (useful on some installations where background requests are not allowed);
    – Option to grant access to your YouTube accunt and instantly set up and import your playlists, channels or subscriptions;
    – Improved plugin Settings page links and redirects to automatically open desired tab set as hash on URL;
    – New admin menu plugin page that allows you to query your YouTube account and displays playlists and channels for the user authenticated by OAuth;
    – New option that allows to unpublish automatic import playlists if YouTube returns error when query is made to API.

  • 1.2.1

    – Solves bug related to administration class ( Fatal error: Class ‘CBC_AJAX_Actions’ not found ) that may appear on some installations.

  • 1.2

    – Automatic import playlists import/export file for easy transition between installations;
    – Updated to use YouTube API 3;
    – New option in plugin Settings page to make regular checks for imported videos on YouTube to see if the video was removed of doesn\’t allow embedding;
    – Modified manual bulk import interface for better video import management;
    – More consistent, user friendly automatic import process;
    – Allow video imports from YouTube channels.

  • 1.1.2.1.

    – Embeds are SSL compatible.
    – Solved shortcode visual interface bug that wasn’t filtering by category under certain circumstances.
    – Solved bug that wasn’t importing maxres image even if the setting was on.
    – Added default compatibility with ThemeForest theme BeeTube.
    – Solved bug that was creating double posts on certain installations.
    – New field in video details “app_control”. Usually, if this field contains any value, most likely the video isn’t public.
    – New filter “ccb_allow_video_import”. Allows to prevent certain videos from importing based on different criteria at your choice.
    Params:
    – allow (bool)
    – video (array)
    – post_type (string)
    – theme_import (false/array)

    – New filter “cbc_video_post_status” .Allows changing the post status to anything else when importing videos.
    Params:
    – status (string)
    – video (array)
    – theme_import (false/array)

  • 1.1.1

    – Solves bug related to YouTube publish date importing;
    – Solves bug under Automatic Update that was disrupting the loop when importing multiple playlists;
    – Adds new stats functionality that saves besides rating and views the likes/dislikes number.

  • 1.1.0

    – New option to import thumbnails on demand (at the time they are needed to be displayed);
    – New option to import YouTube thumbnail size as needed by your design;
    – New option to import thumbnail maximum size if available;
    – Redesigned plugin Settings page in tabs for better options management;
    – Added JavaScript timer to automatic import page that displays delays between playlist imports in real time;
    – Solved Yoast Video SEO compatibility bug that was preventing videos from being displayed in sitemaps;
    – Modified YouTube feed from JSONC to JSON.

  • 1.0.9.2

    – Solved bug: when doing auto import as plugin custom post type, categories were not getting set.

  • 1.0.9.1

    – Solved bug: when importing as regular post show the category taxonomy instead of custom post type videos taxonomy;
    – Solved bug: when doing auto import using WP Cron as regular post type and the update was triggered by refreshing one of the admin pages, the plugin menu was assigned to regular post type;
    – Solved bug: when making single import as compatible WP theme post, any extra custom fields needed by the theme to display the video were not set.

  • 1.0.9

    – Compatible with theme TrueMag;
    – Draft imports keep YouTube publish date when setting to do so is on in Settings page;
    – YouTube videos can be imported as regular posts that have the same functionality as custom post type video and will follow all settings from Settings page (a good alternative to replace theme compatibility);
    – New Help & Info page under plugin WP admin menu;
    – New option in Settings page to import videos as regular post type;
    – New option in Settings page to prevent auto embedding of videos if links to videos are found in video description;
    – New option in Settings page to make all valid URLs clickable.

  • 1.0.8

    – Video post type taxonomy widget ( aka video categories widget );
    – Custom post type archive set by default along with all supported fields (custom meta, comments, etc. );
    – New Settings page option to include custom post type video on your blog homepage;
    – New Settings page option to include video microdata for SEO purposes;
    – Default compatibility with Yoast Video SEO plugin;
    – Added action cbc_post_insert on single video import for compatibility with themes;
    – Recent Videos widget can now filter by video category;
    – New Settings page option to truncate descriptions on import by providing a string as a delimiter;
    – New Settings page option to include custom post type video into main feed;
    – Default compatibility with themes: Twenty Thirteen, Twenty Fourteen, Sahifa, Wave and Video;
    – New theme compatibility class that encapsulates all functionality.

  • 1.0.7.1

    – Better error management on YouTube data API calls;
    – Solves errors in case of wrong YouTube API key;
    – Modified WP theme compatibility that will automatically check for parent theme compatibility in case the active theme is a child theme.

  • 1.0.7

    – Solved image import bug that prevented YouTube images from being imported in Media Gallery when import was made from front-end;
    – New option when creating automatic import playlist to not reiterate the whole playlist every time but only once and after that import only newly added videos;
    – New option in Settings page to make automatic imports by running a server CRON JOB instead of the regular WordPress CRON JOB that depends on how much traffic your website receives;
    – Solved a bug that was preventing manual imports when automatic imports were running (the 2 overlapped and manual import was not importing);
    – Modified theme compatibility verification to detect parent theme only for the default themes (deTube, Avada, GoodWork and SimpleMag);
    – Solved bug that was not setting any author on posts when automatic import was made when an anonymous user was visiting the page.

  • 1.0.6

    – New option in plugin Settings to display more than 10 results per page when doing manual import;
    – New option in plugin Settings to enter YouTube API key (avoids some API error in case you ran into these issues). Please note that as long as you don\’t have any problem using the plugin you can leave this field empty;
    – New option for Automatic import when importing user uploads to specify a date and import only videos published after that date;
    – New functionality for Automatic update that reiterates the playlist entries once reaching the finish of the playlist (this is default, no action needed from your side);
    – Automatic import does not set an orderby parameter anymore so you should get freshest results always (discussed on plugin forums);
    – Solved bug that was showing related videos after a video finished playing withouy taking into account if the user has actually set not to display related videos;
    – Solved bug that was not saving the import category when a new import was created;
    – Added WordPress style Add New button on Automatic import playlist edit;
    – New action cbc_before_post_insert that runs just before creating a new video post. Useful in theme compatibility;
    – New filters: (1) cbc_video_post_title – you can format the title of any newly inserted video before creating the post, (2) cbc_video_post_content – you can format the post content of any newly created video, (3) cbc_video_post_date – you can modify the publishing date of newly created videos;

  • 1.0.5.2

    – Translation for Swedish;
    – Solved theme compatibility bug that was not detecting compatible theme if using child theme.

  • 1.0.5.1

    – Translations ready;
    – Translation for Romanian;
    – Solved bug for iframe embeds that was not passing the autoplay parameter;
    – Solved theme compatibility bug that was not detecting compatible theme if theme folder was changed from default (ie. detube) to another name.

  • 1.0.5

    – New option in Settings page to import video image as post featured image;
    – New option in Settings page to modify the slug for custom post type video and taxonomy;
    – On post/custom post editing, new option in Featured Image meta panel to import the video image from YouTube (available only for posts created by the plugin);
    – When displaying videos on custom post type pages, all video data needed by JavaScript is now passed by element attribute data-X (previously was stored in HTML comment inside element);
    – All videos page (for custom post type) has new bulk action: Import thumbnails. When selected it will automatically import for all selected videos the image from YouTube and set it as Featured Image;
    – In automatic playlists table, new column for displaying the category videos are imported in (if set);
    – Compatibility with WordPresas themes Goodwork and SimpleMag;
    – Solved bug that was preventing running more than 5 playlists for automatic update;
    – Solved bug that was setting incorrect video size when importing videos in themes that use embed codes.

  • 1.0.4

    – New option on manual and automatic bulk import to import as a different user other than the one currently logged in;
    – New options under Settings page to import YouTube date of publishing as post publishing date.

  • 1.0.3

    – Compatibility with DeTube WordPress theme – the plugin gives the option to create videos into normal post types that are compatible with DeTube;
    – Compatibility with Avada WordPress theme;
    – Automatic imports from YouTube playlists and user playlists;
    – Option to show videos on all pages (like archives for example) instead of only single pages;
    – Improved player script for the HTML5 player to work on themes that use the HTML5 player API;
    – Import single posts directly into DeTube or Avada.

  • 1.0.2

    – Solved bug that was preventing videos from loading on iPad/iPhone on certain ocasions;
    – Updated playlist theme to better respond to responsive designs;
    – Improved responsive design by resizing both width and height of player.

  • 1.0.1

    – Solved permalink problem that was causing video post type to lead to 404 page unless WordPress permalinks were saved again.
    – Recent videos widget can display list of videos as video playlist or normal list of links.
    – Categories select box under video bulk import and shortcode are hidden when no categories were created.
    – New functionality that allows bulk-import into an already existing category.

  • 1.0

    Initial release.