YouTube Embed - Version 2.0.4

Version Description

  • Enhancement: Removed HTTPS access to gdata API - will add a switchable option for this in a later release

=

Download this release

Release Info

Developer dartiss
Plugin Icon 128x128 YouTube Embed
Version 2.0.4
Comparing to
See all releases

Code changes from version 2.0.3 to 2.0.4

Files changed (3) hide show
  1. includes/shared.php +2 -2
  2. readme.txt +8 -2
  3. youtube-embed.php +2 -2
includes/shared.php CHANGED
@@ -138,12 +138,12 @@ function ye_validate_id( $id, $title_needed = false ) {
138
  $type = '-';
139
 
140
  // Check with YouTube API as to whether the ID is a video
141
- $id_check = ye_get_file( 'https://gdata.youtube.com/feeds/api/videos/' . $id . '?v=2', false );
142
  if ( $id_check[ 'rc' ] == 0 ) {
143
  if ( $id_check[ 'response' ] != 200 ) {
144
 
145
  // Check with YouTube API as to whether the ID is a playlist
146
- $id_check = ye_get_file( 'https://gdata.youtube.com/feeds/api/playlists/' . $id . '?v=2', false );
147
  if ( $id_check[ 'rc' ] == 0 ) {
148
  if ( $id_check[ 'response' ] != 200 ) {
149
  $type = '';
138
  $type = '-';
139
 
140
  // Check with YouTube API as to whether the ID is a video
141
+ $id_check = ye_get_file( 'http://gdata.youtube.com/feeds/api/videos/' . $id . '?v=2', false );
142
  if ( $id_check[ 'rc' ] == 0 ) {
143
  if ( $id_check[ 'response' ] != 200 ) {
144
 
145
  // Check with YouTube API as to whether the ID is a playlist
146
+ $id_check = ye_get_file( 'http://gdata.youtube.com/feeds/api/playlists/' . $id . '?v=2', false );
147
  if ( $id_check[ 'rc' ] == 0 ) {
148
  if ( $id_check[ 'response' ] != 200 ) {
149
  $type = '';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://artiss.co.uk/donate
4
  Tags: admin, annotations, artiss, automatic, editor, embed, embedding, embedplus, flash, flv, google, hd, height, iframe, manage, media, plugin, page, play, playlist, post, profile, sidebar, simple, url, valid, video, widget,width, xhtml, youtube, youtuber
5
  Requires at least: 2.9
6
  Tested up to: 3.2.1
7
- Stable tag: 2.0.3
8
 
9
  A simple to use method of embedding YouTube videos into your posts and pages but with powerful features for those that need them.
10
 
@@ -464,6 +464,9 @@ That's correct - all Artiss plugins will now add this feature to keep you up-to-
464
  * Enhancement: Now using HTTPS and version 2 of YouTube gdata API
465
  * Enhancement: New general option to switch off reporting of API errors - will simply accept ID and work out type
466
  * Maintenance: Added details to the README to cover issues with `style` backwards compatibility and YouTube API
 
 
 
467
 
468
  == Upgrade Notice ==
469
 
@@ -501,4 +504,7 @@ That's correct - all Artiss plugins will now add this feature to keep you up-to-
501
  * Update to fix a few minor bugs found in 2.0 and add a couple of small enhancements
502
 
503
  = 2.0.2 =
504
- * Further update to fix a few minor bugs found in 2.0. A few small enhancements have also been made.
 
 
 
4
  Tags: admin, annotations, artiss, automatic, editor, embed, embedding, embedplus, flash, flv, google, hd, height, iframe, manage, media, plugin, page, play, playlist, post, profile, sidebar, simple, url, valid, video, widget,width, xhtml, youtube, youtuber
5
  Requires at least: 2.9
6
  Tested up to: 3.2.1
7
+ Stable tag: 2.0.4
8
 
9
  A simple to use method of embedding YouTube videos into your posts and pages but with powerful features for those that need them.
10
 
464
  * Enhancement: Now using HTTPS and version 2 of YouTube gdata API
465
  * Enhancement: New general option to switch off reporting of API errors - will simply accept ID and work out type
466
  * Maintenance: Added details to the README to cover issues with `style` backwards compatibility and YouTube API
467
+
468
+ = 2.0.4 =
469
+ * Enhancement: Removed HTTPS access to gdata API - will add a switchable option for this in a later release
470
 
471
  == Upgrade Notice ==
472
 
504
  * Update to fix a few minor bugs found in 2.0 and add a couple of small enhancements
505
 
506
  = 2.0.2 =
507
+ * Further update to fix a few minor bugs found in 2.0. A few small enhancements have also been made
508
+
509
+ = 2.0.3 =
510
+ * Removed secure API access as this was causing some users issues
youtube-embed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Artiss YouTube Embed
4
  Plugin URI: http://www.artiss.co.uk/artiss-youtube-embed
5
  Description: Embed YouTube Videos in WordPress
6
- Version: 2.0.3
7
  Author: David Artiss
8
  Author URI: http://www.artiss.co.uk
9
  */
@@ -17,7 +17,7 @@ Author URI: http://www.artiss.co.uk
17
  * @since 2.0
18
  */
19
 
20
- define( 'youtube_embed_version', '2.0.3' );
21
 
22
  $functions_dir = WP_PLUGIN_DIR . '/youtube-embed/includes/';
23
 
3
  Plugin Name: Artiss YouTube Embed
4
  Plugin URI: http://www.artiss.co.uk/artiss-youtube-embed
5
  Description: Embed YouTube Videos in WordPress
6
+ Version: 2.0.4
7
  Author: David Artiss
8
  Author URI: http://www.artiss.co.uk
9
  */
17
  * @since 2.0
18
  */
19
 
20
+ define( 'youtube_embed_version', '2.0.4' );
21
 
22
  $functions_dir = WP_PLUGIN_DIR . '/youtube-embed/includes/';
23