Version Description
- Maintenance: Removed the sponsorship
=
Download this release
Release Info
Developer | dartiss |
Plugin | YouTube Embed |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3 to 2.3.1
- includes/about.php +0 -11
- includes/options-general.php +1 -21
- includes/options-lists.php +1 -9
- includes/options-profiles.php +1 -9
- readme.txt +8 -2
- youtube-embed.php +2 -2
includes/about.php
CHANGED
@@ -13,17 +13,6 @@
|
|
13 |
|
14 |
<h2><?php _e( 'About Artiss YouTube Embed'); ?></h2>
|
15 |
|
16 |
-
<?php
|
17 |
-
$options = ye_set_general_defaults();
|
18 |
-
if ( $options[ 'donation' ] != 1 ) : ?>
|
19 |
-
|
20 |
-
<div style="text-align: center;"><script type="text/javascript">
|
21 |
-
var psHost = (("https:" == document.location.protocol) ? "https://" : "http://");
|
22 |
-
document.write(unescape("%3Cscript src='" + psHost + "pluginsponsors.com/direct/spsn/display.php?client=youtube-embed&spot=' type='text/javascript'%3E%3C/script%3E"));
|
23 |
-
</script></div>
|
24 |
-
|
25 |
-
<?php endif; ?>
|
26 |
-
|
27 |
<p><?php _e( 'You are using Artiss YouTube Embed version ' . youtube_embed_version . '. It was written by David Artiss.' ); ?></p>
|
28 |
|
29 |
<a href="http://www.youtube.com/"><img src="<?php echo plugins_url(); ?>/youtube-embed/images/poweredby.png" alt="Powered by YouTube" title="Powered by YouTube" align="right" /></a>
|
13 |
|
14 |
<h2><?php _e( 'About Artiss YouTube Embed'); ?></h2>
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
<p><?php _e( 'You are using Artiss YouTube Embed version ' . youtube_embed_version . '. It was written by David Artiss.' ); ?></p>
|
17 |
|
18 |
<a href="http://www.youtube.com/"><img src="<?php echo plugins_url(); ?>/youtube-embed/images/poweredby.png" alt="Powered by YouTube" title="Powered by YouTube" align="right" /></a>
|
includes/options-general.php
CHANGED
@@ -46,7 +46,6 @@ if ( ( !empty( $_POST ) ) && ( check_admin_referer( 'youtube-embed-general', 'yo
|
|
46 |
$options[ 'api' ] = $_POST[ 'youtube_embed_api' ];
|
47 |
$options[ 'error_message' ] = htmlspecialchars( $_POST[ 'youtube_embed_error_message' ] );
|
48 |
$options[ 'thumbnail' ] = $_POST[ 'youtube_embed_thumbnail' ];
|
49 |
-
$options[ 'donation' ] = $_POST[ 'youtube_embed_donation' ];
|
50 |
|
51 |
// Update the options
|
52 |
update_option( 'youtube_embed_general', $options );
|
@@ -68,15 +67,7 @@ if ( ( !empty( $_POST ) ) && ( check_admin_referer( 'youtube-embed-general', 'yo
|
|
68 |
$options = ye_set_general_defaults();
|
69 |
$shortcode = ye_set_shortcode_option();
|
70 |
$url = ye_set_url_option();
|
71 |
-
|
72 |
-
if ( $options[ 'donation' ] != 1 ) : ?>
|
73 |
-
|
74 |
-
<div style="text-align: center;"><script type="text/javascript">
|
75 |
-
var psHost = (("https:" == document.location.protocol) ? "https://" : "http://");
|
76 |
-
document.write(unescape("%3Cscript src='" + psHost + "pluginsponsors.com/direct/spsn/display.php?client=youtube-embed&spot=' type='text/javascript'%3E%3C/script%3E"));
|
77 |
-
</script></div>
|
78 |
-
|
79 |
-
<?php endif; ?>
|
80 |
|
81 |
<p><?php _e( 'These are the general settings for Artiss YouTube Embed. Please select <a href="http://www.artiss.co.uk/wp-admin/admin.php?page=youtube-embed-profiles">Profiles</a> for default embedding settings.' ); ?></p>
|
82 |
|
@@ -257,17 +248,6 @@ document.write(unescape("%3Cscript src='" + psHost + "pluginsponsors.com/direct/
|
|
257 |
<td><input type="text" size="60" name="youtube_embed_error_message" value="<?php echo $options[ 'error_message' ]; ?>"/> <span class="description"><?php _e( 'This is the message that will be shown on the post' ); ?></span></td>
|
258 |
</tr></table>
|
259 |
|
260 |
-
<br/><span class="yt_heading"><?php _e( 'Advertising' ); ?></span>
|
261 |
-
|
262 |
-
<p><?php _e( 'If you have donated to Artiss.co.uk then you may switch off the PluginSponsors.com advertising present in the plugin option screens.' ); ?></p>
|
263 |
-
|
264 |
-
<table class="form-table"><tr>
|
265 |
-
<th scope="row"><?php _e( 'Donated' ); ?></th>
|
266 |
-
<td><input type="checkbox" name="youtube_embed_donation" value="1"<?php if ( $options[ 'donation' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php _e( 'Tick if you have donated to Artiss.co.uk' ); ?></span></td>
|
267 |
-
</tr></table>
|
268 |
-
|
269 |
-
<br/><a href="http://pluginsponsors.com/lib/privacy/"><?php _e( 'Read the PluginSponsors.com privacy policy.' ); ?></a><br/>
|
270 |
-
|
271 |
<?php wp_nonce_field( 'youtube-embed-general','youtube_embed_general_nonce', true, true ); ?>
|
272 |
|
273 |
<p class="submit"><input type="submit" name="Submit" class="button-primary" value="<?php _e( 'Save Settings' ); ?>"/></p>
|
46 |
$options[ 'api' ] = $_POST[ 'youtube_embed_api' ];
|
47 |
$options[ 'error_message' ] = htmlspecialchars( $_POST[ 'youtube_embed_error_message' ] );
|
48 |
$options[ 'thumbnail' ] = $_POST[ 'youtube_embed_thumbnail' ];
|
|
|
49 |
|
50 |
// Update the options
|
51 |
update_option( 'youtube_embed_general', $options );
|
67 |
$options = ye_set_general_defaults();
|
68 |
$shortcode = ye_set_shortcode_option();
|
69 |
$url = ye_set_url_option();
|
70 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
|
72 |
<p><?php _e( 'These are the general settings for Artiss YouTube Embed. Please select <a href="http://www.artiss.co.uk/wp-admin/admin.php?page=youtube-embed-profiles">Profiles</a> for default embedding settings.' ); ?></p>
|
73 |
|
248 |
<td><input type="text" size="60" name="youtube_embed_error_message" value="<?php echo $options[ 'error_message' ]; ?>"/> <span class="description"><?php _e( 'This is the message that will be shown on the post' ); ?></span></td>
|
249 |
</tr></table>
|
250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
<?php wp_nonce_field( 'youtube-embed-general','youtube_embed_general_nonce', true, true ); ?>
|
252 |
|
253 |
<p class="submit"><input type="submit" name="Submit" class="button-primary" value="<?php _e( 'Save Settings' ); ?>"/></p>
|
includes/options-lists.php
CHANGED
@@ -72,15 +72,7 @@ if ( ( !empty( $_POST[ 'Submit' ] ) ) && ( check_admin_referer( 'youtube-embed-g
|
|
72 |
// Fetch options into an array
|
73 |
if ( $class != "error" ) { $options = ye_set_list_defaults( $list_no ); }
|
74 |
$general = ye_set_general_defaults();
|
75 |
-
|
76 |
-
if ( $general[ 'donation' ] != 1 ) : ?>
|
77 |
-
|
78 |
-
<div style="text-align: center;"><script type="text/javascript">
|
79 |
-
var psHost = (("https:" == document.location.protocol) ? "https://" : "http://");
|
80 |
-
document.write(unescape("%3Cscript src='" + psHost + "pluginsponsors.com/direct/spsn/display.php?client=youtube-embed&spot=' type='text/javascript'%3E%3C/script%3E"));
|
81 |
-
</script></div>
|
82 |
-
|
83 |
-
<?php endif; ?>
|
84 |
|
85 |
<form method="post" action="<?php echo get_bloginfo( 'wpurl' ) . '/wp-admin/admin.php?page=youtube-embed-lists'; ?>">
|
86 |
|
72 |
// Fetch options into an array
|
73 |
if ( $class != "error" ) { $options = ye_set_list_defaults( $list_no ); }
|
74 |
$general = ye_set_general_defaults();
|
75 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
<form method="post" action="<?php echo get_bloginfo( 'wpurl' ) . '/wp-admin/admin.php?page=youtube-embed-lists'; ?>">
|
78 |
|
includes/options-profiles.php
CHANGED
@@ -73,15 +73,7 @@ if ( !empty( $_POST[ 'Video' ] ) ) { $video_type = $_POST[ 'youtube_embed_video_
|
|
73 |
// Fetch options into an array
|
74 |
$options = ye_set_profile_defaults( $profile_no );
|
75 |
$general = ye_set_general_defaults();
|
76 |
-
|
77 |
-
if ( $general[ 'donation' ] != 1 ) : ?>
|
78 |
-
|
79 |
-
<div style="text-align: center;"><script type="text/javascript">
|
80 |
-
var psHost = (("https:" == document.location.protocol) ? "https://" : "http://");
|
81 |
-
document.write(unescape("%3Cscript src='" + psHost + "pluginsponsors.com/direct/spsn/display.php?client=youtube-embed&spot=' type='text/javascript'%3E%3C/script%3E"));
|
82 |
-
</script></div>
|
83 |
-
|
84 |
-
<?php endif; ?>
|
85 |
|
86 |
<form method="post" action="<?php echo get_bloginfo( 'wpurl' ) . '/wp-admin/admin.php?page=youtube-embed-profiles' ?>">
|
87 |
|
73 |
// Fetch options into an array
|
74 |
$options = ye_set_profile_defaults( $profile_no );
|
75 |
$general = ye_set_general_defaults();
|
76 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
|
78 |
<form method="post" action="<?php echo get_bloginfo( 'wpurl' ) . '/wp-admin/admin.php?page=youtube-embed-profiles' ?>">
|
79 |
|
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, smart, 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.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 |
|
@@ -504,6 +504,9 @@ That's correct - all Artiss plugins will now add this feature to keep you up-to-
|
|
504 |
* Enhancement: Added Chromeless player option
|
505 |
* Enhancement: Increased maximum output length of profile and list names to 30 characters
|
506 |
|
|
|
|
|
|
|
507 |
== Upgrade Notice ==
|
508 |
|
509 |
= 1.0 =
|
@@ -555,4 +558,7 @@ That's correct - all Artiss plugins will now add this feature to keep you up-to-
|
|
555 |
* Assorted minor improvements
|
556 |
|
557 |
= 2.3 =
|
558 |
-
* Assorted bug fixes and minor improvements. Also added Chromeless player.
|
|
|
|
|
|
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, smart, 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.3.1
|
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 |
|
504 |
* Enhancement: Added Chromeless player option
|
505 |
* Enhancement: Increased maximum output length of profile and list names to 30 characters
|
506 |
|
507 |
+
= 2.3.1 =
|
508 |
+
* Maintenance: Removed the sponsorship
|
509 |
+
|
510 |
== Upgrade Notice ==
|
511 |
|
512 |
= 1.0 =
|
558 |
* Assorted minor improvements
|
559 |
|
560 |
= 2.3 =
|
561 |
+
* Assorted bug fixes and minor improvements. Also added Chromeless player.
|
562 |
+
|
563 |
+
= 2.3.1 =
|
564 |
+
* Upgrade to remove the sponsorship
|
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.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.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.3.1
|
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.3.1' );
|
21 |
|
22 |
$functions_dir = WP_PLUGIN_DIR . '/youtube-embed/includes/';
|
23 |
|