Version Description
Download this release
Release Info
| Developer | freediver |
| Plugin | |
| Version | 2.1.4 |
| Comparing to | |
| See all releases | |
Code changes from version 2.1.2 to 2.1.4
help.png
ADDED
|
Binary file
|
home.png
ADDED
|
Binary file
|
idea.png
ADDED
|
Binary file
|
more.png
ADDED
|
Binary file
|
p1.png
ADDED
|
Binary file
|
smartyoutube.php
CHANGED
|
@@ -4,7 +4,7 @@ Plugin Name: Smart Youtube
|
|
| 4 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/smart-youtube
|
| 5 |
Description: Easily insert YouTube videos in posts, comments and RSS feeds.
|
| 6 |
Author: Vladimir Prelovac
|
| 7 |
-
Version: 2.1.
|
| 8 |
Author URI: http://www.prelovac.com/vladimir/
|
| 9 |
|
| 10 |
Updates:
|
|
@@ -288,7 +288,7 @@ text-decoration:none;
|
|
| 288 |
<h3>Information</h3>
|
| 289 |
<div id="dbx-content" style="text-decoration:none;">
|
| 290 |
<img src="$imgpath/home.png"><a style="text-decoration:none;" href="http://www.prelovac.com/vladimir/wordpress-plugins/smart-youtube"> Smart YouTube Home</a><br /><br />
|
| 291 |
-
<img src="$imgpath/help.png"><a style="text-decoration:none;" href="http://www.prelovac.com/vladimir/
|
| 292 |
<img src="$imgpath/rate.png"><a style="text-decoration:none;" href="http://wordpress.org/extend/plugins/smart-youtube/"> Rate Smart YouTube</a><br /><br />
|
| 293 |
<img src="$imgpath/more.png"><a style="text-decoration:none;" href="http://www.prelovac.com/vladimir/wordpress-plugins"> My WordPress Plugins</a><br /><br />
|
| 294 |
<br />
|
|
@@ -394,7 +394,7 @@ function yte_tag($file, $high=0) {
|
|
| 394 |
global $CustomColors;
|
| 395 |
|
| 396 |
$width=$high ? get_option('smart_yt_widthhq') : get_option('smart_yt_width');
|
| 397 |
-
$height=$high ? get_option('
|
| 398 |
|
| 399 |
$disp_rel = get_option('smart_yt_rel');
|
| 400 |
$disp_border = get_option('smart_yt_border');
|
|
@@ -411,9 +411,9 @@ global $CustomColors;
|
|
| 411 |
if ($disp_border)
|
| 412 |
$height+=18;
|
| 413 |
|
| 414 |
-
|
| 415 |
|
| 416 |
-
|
|
|
|
| 417 |
|
| 418 |
|
| 419 |
// $yte_tag = '<!-- Smart Youtube --><span class="youtube"><object width="'.$width.'" height="'.$height.'" type="application/x-shockwave-flash" data="'.htmlspecialchars('http://www.youtube.com/v/'.$file.'&rel='.$disp_rel.'&color1='.$CustomColors[$disp_color][0].'&color2='.$CustomColors[$disp_color][1].'&border='.$disp_border.'&fs=1&autoplay='.$autoplay.$high, ENT_QUOTES).'"> <param name="movie" value="'.htmlspecialchars('http://www.youtube.com/v/'.$file.'&rel='.$disp_rel.'&color1='.$CustomColors[$disp_color][0].'&color2='.$CustomColors[$disp_color][1].'&border='.$disp_border.'&fs=1&autoplay='.$autoplay.$high, ENT_QUOTES).'" /><param name="wmode" value="transparent" /></object></span>';
|
| 4 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/smart-youtube
|
| 5 |
Description: Easily insert YouTube videos in posts, comments and RSS feeds.
|
| 6 |
Author: Vladimir Prelovac
|
| 7 |
+
Version: 2.1.4
|
| 8 |
Author URI: http://www.prelovac.com/vladimir/
|
| 9 |
|
| 10 |
Updates:
|
| 288 |
<h3>Information</h3>
|
| 289 |
<div id="dbx-content" style="text-decoration:none;">
|
| 290 |
<img src="$imgpath/home.png"><a style="text-decoration:none;" href="http://www.prelovac.com/vladimir/wordpress-plugins/smart-youtube"> Smart YouTube Home</a><br /><br />
|
| 291 |
+
<img src="$imgpath/help.png"><a style="text-decoration:none;" href="http://www.prelovac.com/vladimir/forum"> Plugin forums</a><br /><br />
|
| 292 |
<img src="$imgpath/rate.png"><a style="text-decoration:none;" href="http://wordpress.org/extend/plugins/smart-youtube/"> Rate Smart YouTube</a><br /><br />
|
| 293 |
<img src="$imgpath/more.png"><a style="text-decoration:none;" href="http://www.prelovac.com/vladimir/wordpress-plugins"> My WordPress Plugins</a><br /><br />
|
| 294 |
<br />
|
| 394 |
global $CustomColors;
|
| 395 |
|
| 396 |
$width=$high ? get_option('smart_yt_widthhq') : get_option('smart_yt_width');
|
| 397 |
+
$height=$high ? get_option('smart_yt_heighthq') : get_option('smart_yt_height');
|
| 398 |
|
| 399 |
$disp_rel = get_option('smart_yt_rel');
|
| 400 |
$disp_border = get_option('smart_yt_border');
|
| 411 |
if ($disp_border)
|
| 412 |
$height+=18;
|
| 413 |
|
|
|
|
| 414 |
|
| 415 |
+
|
| 416 |
+
$yte_tag = '<!-- Smart Youtube --><span class="youtube"><object width="'.$width.'" height="'.$height.'"><param name="movie" value="'.htmlspecialchars('http://www.youtube.com/v/'.$file.'&rel='.$disp_rel.'&color1='.$CustomColors[$disp_color][0].'&color2='.$CustomColors[$disp_color][1].'&border='.$disp_border.'&fs=1&autoplay='.$autoplay.$high, ENT_QUOTES).'"></param><param name="allowFullScreen" value="true"></param><embed src="'.htmlspecialchars('http://www.youtube.com/v/'.$file.'&rel='.$disp_rel.'&color1='.$CustomColors[$disp_color][0].'&color2='.$CustomColors[$disp_color][1].'&border='.$disp_border.'&fs=1&autoplay='.$autoplay.$high, ENT_QUOTES).'" type="application/x-shockwave-flash" allowfullscreen="true" width="'.$width.'" height="'.$height.'" ></embed></object></span>';
|
| 417 |
|
| 418 |
|
| 419 |
// $yte_tag = '<!-- Smart Youtube --><span class="youtube"><object width="'.$width.'" height="'.$height.'" type="application/x-shockwave-flash" data="'.htmlspecialchars('http://www.youtube.com/v/'.$file.'&rel='.$disp_rel.'&color1='.$CustomColors[$disp_color][0].'&color2='.$CustomColors[$disp_color][1].'&border='.$disp_border.'&fs=1&autoplay='.$autoplay.$high, ENT_QUOTES).'"> <param name="movie" value="'.htmlspecialchars('http://www.youtube.com/v/'.$file.'&rel='.$disp_rel.'&color1='.$CustomColors[$disp_color][0].'&color2='.$CustomColors[$disp_color][1].'&border='.$disp_border.'&fs=1&autoplay='.$autoplay.$high, ENT_QUOTES).'" /><param name="wmode" value="transparent" /></object></span>';
|
