From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
by finch.gentoo.org (Postfix) with ESMTP id 690B213800E
for ; Sun, 5 Aug 2012 19:54:15 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
by pigeon.gentoo.org (Postfix) with SMTP id 331D6E0158;
Sun, 5 Aug 2012 19:54:08 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
by pigeon.gentoo.org (Postfix) with ESMTP id 84472E0158
for ; Sun, 5 Aug 2012 19:54:07 +0000 (UTC)
Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163])
(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by smtp.gentoo.org (Postfix) with ESMTPS id 7EF841B4019
for ; Sun, 5 Aug 2012 19:54:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
by hornbill.gentoo.org (Postfix) with ESMTP id 2BE4CE5439
for ; Sun, 5 Aug 2012 19:54:05 +0000 (UTC)
From: "Theo Chatzimichos"
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Theo Chatzimichos"
Message-ID: <1344196377.4b32357c9c7b62df4e374018f2e41a5ab992d599.tampakrap@gentoo>
Subject: [gentoo-commits] proj/blogs-gentoo:master commit in: plugins/smart-youtube/themes/theme1/images/, ...
X-VCS-Repository: proj/blogs-gentoo
X-VCS-Files: plugins/smart-youtube/i/help.png plugins/smart-youtube/i/home.png plugins/smart-youtube/i/icon.png plugins/smart-youtube/i/idea.png plugins/smart-youtube/i/logo.png plugins/smart-youtube/i/more.png plugins/smart-youtube/i/p1.png plugins/smart-youtube/i/paypal.gif plugins/smart-youtube/i/rate.png plugins/smart-youtube/i/twit.png plugins/smart-youtube/img/default.jpg plugins/smart-youtube/img/embed_selection-vfl29294.png plugins/smart-youtube/img/preview_embed_acid_sm.gif plugins/smart-youtube/img/preview_embed_acid_sm_nb.gif plugins/smart-youtube/img/preview_embed_blank_sm.gif plugins/smart-youtube/img/preview_embed_blank_sm_nb.gif plugins/smart-youtube/img/preview_embed_green_sm.gif plugins/smart-youtube/img/preview_embed_green_sm_nb.gif plugins/smart-youtube/img/preview_embed_iceberg_sm.gif plugins/smart-youtube/img/preview_embed_iceberg_sm_nb.gif plugins/smart-youtube/img/preview_embed_orange_sm.gif plugins/smart-youtube/img/preview_embed_orange_sm_nb.gif plugi
ns/smart-youtube/img/preview_embed_pink_sm.gif plugins/smart-youtube/img/preview_embed_pink_sm_nb.gif plugins/smart-youtube/img/preview_embed_purple_sm.gif plugins/smart-youtube/img/preview_embed_purple_sm_nb.gif plugins/smart-youtube/img/preview_embed_rubyred_sm.gif plugins/smart-youtube/img/preview_embed_rubyred_sm_nb.gif plugins/smart-youtube/img/preview_embed_storm_sm.gif plugins/smart-youtube/img/preview_embed_storm_sm_nb.gif plugins/smart-youtube/javascripts/jquery.colorbox-min.js plugins/smart-youtube/javascripts/jquery.colorbox.js plugins/smart-youtube/readme.txt plugins/smart-youtube/screenshot-1.png plugins/smart-youtube/screenshot-2.png plugins/smart-youtube/screenshots/screenshot-1.jpg plugins/smart-youtube/screenshots/screenshot-10.jpg plugins/smart-youtube/screenshots/screenshot-11.jpg plugins/smart-youtube/screenshots/screenshot-2.jpg plugins/smart-youtube/screenshots/screenshot-3.jpg plugins/smart-youtube/screenshots/screenshot-4.jpg plugins/smart-youtube/scr
eenshots/screenshot-5.jpg plugins/smart-youtube/screenshots/screenshot-6.jpg plugins/smart-youtube/screenshots/screenshot-7.jpg plugins/smart-youtube/screenshots/screenshot-8.jpg plugins/smart-youtube/screenshots/screenshot-9.jpg plugins/smart-youtube/smartyoutube.chk plugins/smart-youtube/smartyoutube.class.php plugins/smart-youtube/smartyoutube.php plugins/smart-youtube/style.css plugins/smart-youtube/styleyt.css plugins/smart-youtube/themes/theme1/colorbox.css plugins/smart-youtube/themes/theme1/images/border.png plugins/smart-youtube/themes/theme1/images/controls.png plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomCenter.png plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomLeft.png plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomRight.png plugins/smart-youtube/themes/theme1/images/internet_explorer/borderMiddleLeft.png plugins/smart-youtube/themes/theme1/images/internet_explorer/borderMiddleRight.p
ng plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopCenter.png plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopLeft.png plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopRight.png plugins/smart-youtube/themes/theme1/images/loading.gif plugins/smart-youtube/themes/theme1/images/loading_background.png plugins/smart-youtube/themes/theme1/images/overlay.png plugins/smart-youtube/themes/theme10/colorbox.css plugins/smart-youtube/themes/theme10/images/close.png plugins/smart-youtube/themes/theme10/images/loading.gif plugins/smart-youtube/themes/theme10/images/next.png plugins/smart-youtube/themes/theme10/images/prev.png plugins/smart-youtube/themes/theme11/colorbox.css plugins/smart-youtube/themes/theme11/images/border.png plugins/smart-youtube/themes/theme11/images/controls.png plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomCenter.png plugins/smart-youtube/themes/theme11/images/internet_expl
orer/borderBottomLeft.png plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomRight.png plugins/smart-youtube/themes/theme11/images/internet_explorer/borderMiddleLeft.png plugins/smart-youtube/themes/theme11/images/internet_explorer/borderMiddleRight.png plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopCenter.png plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopLeft.png plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopRight.png plugins/smart-youtube/themes/theme11/images/loading.gif plugins/smart-youtube/themes/theme11/images/loading_background.png plugins/smart-youtube/themes/theme11/images/overlay.png plugins/smart-youtube/themes/theme2/colorbox.css plugins/smart-youtube/themes/theme2/images/controls.png plugins/smart-youtube/themes/theme2/images/loading.gif plugins/smart-youtube/themes/theme3/colorbox.css plugins/smart-youtube/themes/theme3/images/controls.png plugins/smart-youtube/the
mes/theme3/images/loading.gif plugins/smart-youtube/themes/theme4/colorbox.css plugins/smart-youtube/themes/theme4/images/border1.png plugins/smart-youtube/themes/theme4/images/border2.png plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomCenter.png plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomLeft.png plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomRight.png plugins/smart-youtube/themes/theme4/images/internet_explorer/borderMiddleLeft.png plugins/smart-youtube/themes/theme4/images/internet_explorer/borderMiddleRight.png plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopCenter.png plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopLeft.png plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopRight.png plugins/smart-youtube/themes/theme4/images/loading.gif plugins/smart-youtube/themes/theme5/colorbox.css plugins/smart-youtube/themes/theme5/images
/border.png plugins/smart-youtube/themes/theme5/images/controls.png plugins/smart-youtube/themes/theme5/images/loading.gif plugins/smart-youtube/themes/theme5/images/loading_background.png plugins/smart-youtube/themes/theme6/colorbox.css plugins/smart-youtube/themes/theme6/images/border.png plugins/smart-youtube/themes/theme6/images/controls.png plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomCenter.png plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomLeft.png plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomRight.png plugins/smart-youtube/themes/theme6/images/internet_explorer/borderMiddleLeft.png plugins/smart-youtube/themes/theme6/images/internet_explorer/borderMiddleRight.png plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopCenter.png plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopLeft.png plugins/smart-youtube/themes/theme6/images/internet_explorer/border
TopRight.png plugins/smart-youtube/themes/theme6/images/loading.gif plugins/smart-youtube/themes/theme6/images/loading_background.png plugins/smart-youtube/themes/theme6/images/overlay.png plugins/smart-youtube/themes/theme7/colorbox.css plugins/smart-youtube/themes/theme7/images/border.png plugins/smart-youtube/themes/theme7/images/controls.png plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomCenter.png plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomLeft.png plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomRight.png plugins/smart-youtube/themes/theme7/images/internet_explorer/borderMiddleLeft.png plugins/smart-youtube/themes/theme7/images/internet_explorer/borderMiddleRight.png plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopCenter.png plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopLeft.png plugins/smart-youtube/themes/theme7/images/internet_explorer/border
TopRight.png plugins/smart-youtube/themes/theme7/images/loading.gif plugins/smart-youtube/themes/theme7/images/loading_background.png plugins/smart-youtube/themes/theme7/images/overlay.png plugins/smart-youtube/themes/theme8/colorbox.css plugins/smart-youtube/themes/theme8/images/border.png plugins/smart-youtube/themes/theme8/images/controls.png plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomCenter.png plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomLeft.png plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomRight.png plugins/smart-youtube/themes/theme8/images/internet_explorer/borderMiddleLeft.png plugins/smart-youtube/themes/theme8/images/internet_explorer/borderMiddleRight.png plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopCenter.png plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopLeft.png plugins/smart-youtube/themes/theme8/images/internet_explorer/border
TopRight.png plugins/smart-youtube/themes/theme8/images/loading.gif plugins/smart-youtube/themes/theme8/images/loading_background.png plugins/smart-youtube/themes/theme8/images/overlay.png plugins/smart-youtube/themes/theme9/colorbox.css plugins/smart-youtube/themes/theme9/images/border1.png plugins/smart-youtube/themes/theme9/images/border2.png plugins/smart-youtube/themes/theme9/images/controls.png plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomCenter.png plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomLeft.png plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomRight.png plugins/smart-youtube/themes/theme9/images/internet_explorer/borderMiddleLeft.png plugins/smart-youtube/themes/theme9/images/internet_explorer/borderMiddleRight.png plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopCenter.png plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopLeft.png plugins/sma
rt-youtube/themes/theme9/images/internet_explorer/borderTopRight.png plugins/smart-youtube/themes/theme9/images/loading.gif plugins/smart-youtube/yt.js
X-VCS-Directories: plugins/smart-youtube/themes/theme1/images/ plugins/smart-youtube/themes/theme7/ plugins/smart-youtube/themes/theme11/ plugins/smart-youtube/themes/theme7/images/ plugins/smart-youtube/themes/theme6/ plugins/smart-youtube/themes/theme10/ plugins/smart-youtube/themes/theme11/images/ plugins/smart-youtube/themes/theme5/images/ plugins/smart-youtube/themes/theme4/images/ plugins/smart-youtube/themes/theme1/images/internet_explorer/ plugins/smart-youtube/themes/theme10/images/ plugins/smart-youtube/themes/theme9/images/ plugins/smart-youtube/themes/theme9/ plugins/smart-youtube/i/ plugins/smart-youtube/themes/theme6/images/ plugins/smart-youtube/themes/theme11/images/internet_explorer/ plugins/smart-youtube/img/ plugins/smart-youtube/themes/theme8/ plugins/smart-youtube/themes/theme8/images/internet_explorer/ plugins/smart-youtube/screenshots/ plugins/smart-youtube/themes/theme4/ plugins/smart-youtube/themes/theme2/ plugins/smart-youtube/themes/theme8/images/ p
lugins/smart-youtube/themes/theme3/images/ plugins/smart-youtube/themes/theme1/ plugins/smart-youtube/themes/theme6/images/internet_explorer/ plugins/smart-youtube/themes/theme9/images/internet_explorer/ plugins/smart-youtube/themes/theme7/images/internet_explorer/ plugins/smart-youtube/themes/theme3/ plugins/smart-youtube/themes/theme5/ plugins/smart-youtube/ plugins/smart-youtube/themes/theme4/images/internet_explorer/ plugins/smart-youtube/themes/theme2/images/ plugins/smart-youtube/javascripts/
X-VCS-Committer: tampakrap
X-VCS-Committer-Name: Theo Chatzimichos
X-VCS-Revision: 4b32357c9c7b62df4e374018f2e41a5ab992d599
X-VCS-Branch: master
Date: Sun, 5 Aug 2012 19:54:05 +0000 (UTC)
Precedence: bulk
List-Post:
List-Help:
List-Unsubscribe:
List-Subscribe:
List-Id: Gentoo Linux mail
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 948ad203-fd21-4d38-8597-288aef62a4c6
X-Archives-Hash: 74ec06ae23dd49fa96284ec0054dbc75
commit: 4b32357c9c7b62df4e374018f2e41a5ab992d599
Author: Theo Chatzimichos gentoo org>
AuthorDate: Sun Aug 5 19:52:57 2012 +0000
Commit: Theo Chatzimichos gentoo org>
CommitDate: Sun Aug 5 19:52:57 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/blogs-gentoo.git;a=commit;h=4b32357c
Remove smart-youtube, jetpack provides youtube embedding support
---
plugins/smart-youtube/i/help.png | Bin 997 -> 0 bytes
plugins/smart-youtube/i/home.png | Bin 963 -> 0 bytes
plugins/smart-youtube/i/icon.png | Bin 1000 -> 0 bytes
plugins/smart-youtube/i/idea.png | Bin 829 -> 0 bytes
plugins/smart-youtube/i/logo.png | Bin 2193 -> 0 bytes
plugins/smart-youtube/i/more.png | Bin 760 -> 0 bytes
plugins/smart-youtube/i/p1.png | Bin 13486 -> 0 bytes
plugins/smart-youtube/i/paypal.gif | Bin 2815 -> 0 bytes
plugins/smart-youtube/i/rate.png | Bin 659 -> 0 bytes
plugins/smart-youtube/i/twit.png | Bin 724 -> 0 bytes
plugins/smart-youtube/img/default.jpg | Bin 893 -> 0 bytes
.../smart-youtube/img/embed_selection-vfl29294.png | Bin 2056 -> 0 bytes
.../smart-youtube/img/preview_embed_acid_sm.gif | Bin 3304 -> 0 bytes
.../smart-youtube/img/preview_embed_acid_sm_nb.gif | Bin 2657 -> 0 bytes
.../smart-youtube/img/preview_embed_blank_sm.gif | Bin 3285 -> 0 bytes
.../img/preview_embed_blank_sm_nb.gif | Bin 2640 -> 0 bytes
.../smart-youtube/img/preview_embed_green_sm.gif | Bin 3088 -> 0 bytes
.../img/preview_embed_green_sm_nb.gif | Bin 2656 -> 0 bytes
.../smart-youtube/img/preview_embed_iceberg_sm.gif | Bin 3186 -> 0 bytes
.../img/preview_embed_iceberg_sm_nb.gif | Bin 2689 -> 0 bytes
.../smart-youtube/img/preview_embed_orange_sm.gif | Bin 3097 -> 0 bytes
.../img/preview_embed_orange_sm_nb.gif | Bin 2687 -> 0 bytes
.../smart-youtube/img/preview_embed_pink_sm.gif | Bin 3132 -> 0 bytes
.../smart-youtube/img/preview_embed_pink_sm_nb.gif | Bin 2673 -> 0 bytes
.../smart-youtube/img/preview_embed_purple_sm.gif | Bin 3195 -> 0 bytes
.../img/preview_embed_purple_sm_nb.gif | Bin 2654 -> 0 bytes
.../smart-youtube/img/preview_embed_rubyred_sm.gif | Bin 3126 -> 0 bytes
.../img/preview_embed_rubyred_sm_nb.gif | Bin 2653 -> 0 bytes
.../smart-youtube/img/preview_embed_storm_sm.gif | Bin 3276 -> 0 bytes
.../img/preview_embed_storm_sm_nb.gif | Bin 2631 -> 0 bytes
.../javascripts/jquery.colorbox-min.js | 4 -
.../smart-youtube/javascripts/jquery.colorbox.js | 788 ----------
plugins/smart-youtube/readme.txt | 251 ----
plugins/smart-youtube/screenshot-1.png | Bin 81776 -> 0 bytes
plugins/smart-youtube/screenshot-2.png | Bin 34088 -> 0 bytes
plugins/smart-youtube/screenshots/screenshot-1.jpg | Bin 32272 -> 0 bytes
.../smart-youtube/screenshots/screenshot-10.jpg | Bin 29568 -> 0 bytes
.../smart-youtube/screenshots/screenshot-11.jpg | Bin 29188 -> 0 bytes
plugins/smart-youtube/screenshots/screenshot-2.jpg | Bin 27315 -> 0 bytes
plugins/smart-youtube/screenshots/screenshot-3.jpg | Bin 32135 -> 0 bytes
plugins/smart-youtube/screenshots/screenshot-4.jpg | Bin 28864 -> 0 bytes
plugins/smart-youtube/screenshots/screenshot-5.jpg | Bin 32523 -> 0 bytes
plugins/smart-youtube/screenshots/screenshot-6.jpg | Bin 29250 -> 0 bytes
plugins/smart-youtube/screenshots/screenshot-7.jpg | Bin 30177 -> 0 bytes
plugins/smart-youtube/screenshots/screenshot-8.jpg | Bin 29553 -> 0 bytes
plugins/smart-youtube/screenshots/screenshot-9.jpg | Bin 27605 -> 0 bytes
plugins/smart-youtube/smartyoutube.chk | 2 -
plugins/smart-youtube/smartyoutube.class.php | 812 ----------
plugins/smart-youtube/smartyoutube.php | 1566 --------------------
plugins/smart-youtube/style.css | 213 ---
plugins/smart-youtube/styleyt.css | 212 ---
plugins/smart-youtube/themes/theme1/colorbox.css | 43 -
.../smart-youtube/themes/theme1/images/border.png | Bin 112 -> 0 bytes
.../themes/theme1/images/controls.png | Bin 1249 -> 0 bytes
.../internet_explorer/borderBottomCenter.png | Bin 111 -> 0 bytes
.../images/internet_explorer/borderBottomLeft.png | Bin 215 -> 0 bytes
.../images/internet_explorer/borderBottomRight.png | Bin 217 -> 0 bytes
.../images/internet_explorer/borderMiddleLeft.png | Bin 108 -> 0 bytes
.../images/internet_explorer/borderMiddleRight.png | Bin 108 -> 0 bytes
.../images/internet_explorer/borderTopCenter.png | Bin 111 -> 0 bytes
.../images/internet_explorer/borderTopLeft.png | Bin 216 -> 0 bytes
.../images/internet_explorer/borderTopRight.png | Bin 214 -> 0 bytes
.../smart-youtube/themes/theme1/images/loading.gif | Bin 9427 -> 0 bytes
.../themes/theme1/images/loading_background.png | Bin 157 -> 0 bytes
.../smart-youtube/themes/theme1/images/overlay.png | Bin 145 -> 0 bytes
plugins/smart-youtube/themes/theme10/colorbox.css | 36 -
.../smart-youtube/themes/theme10/images/close.png | Bin 706 -> 0 bytes
.../themes/theme10/images/loading.gif | Bin 9427 -> 0 bytes
.../smart-youtube/themes/theme10/images/next.png | Bin 1507 -> 0 bytes
.../smart-youtube/themes/theme10/images/prev.png | Bin 1468 -> 0 bytes
plugins/smart-youtube/themes/theme11/colorbox.css | 43 -
.../smart-youtube/themes/theme11/images/border.png | Bin 203 -> 0 bytes
.../themes/theme11/images/controls.png | Bin 3369 -> 0 bytes
.../internet_explorer/borderBottomCenter.png | Bin 190 -> 0 bytes
.../images/internet_explorer/borderBottomLeft.png | Bin 448 -> 0 bytes
.../images/internet_explorer/borderBottomRight.png | Bin 614 -> 0 bytes
.../images/internet_explorer/borderMiddleLeft.png | Bin 169 -> 0 bytes
.../images/internet_explorer/borderMiddleRight.png | Bin 187 -> 0 bytes
.../images/internet_explorer/borderTopCenter.png | Bin 173 -> 0 bytes
.../images/internet_explorer/borderTopLeft.png | Bin 292 -> 0 bytes
.../images/internet_explorer/borderTopRight.png | Bin 453 -> 0 bytes
.../themes/theme11/images/loading.gif | Bin 9427 -> 0 bytes
.../themes/theme11/images/loading_background.png | Bin 157 -> 0 bytes
.../themes/theme11/images/overlay.png | Bin 145 -> 0 bytes
plugins/smart-youtube/themes/theme2/colorbox.css | 41 -
.../themes/theme2/images/controls.png | Bin 570 -> 0 bytes
.../smart-youtube/themes/theme2/images/loading.gif | Bin 9427 -> 0 bytes
plugins/smart-youtube/themes/theme3/colorbox.css | 36 -
.../themes/theme3/images/controls.png | Bin 1633 -> 0 bytes
.../smart-youtube/themes/theme3/images/loading.gif | Bin 9427 -> 0 bytes
plugins/smart-youtube/themes/theme4/colorbox.css | 40 -
.../smart-youtube/themes/theme4/images/border1.png | Bin 896 -> 0 bytes
.../smart-youtube/themes/theme4/images/border2.png | Bin 183 -> 0 bytes
.../internet_explorer/borderBottomCenter.png | Bin 153 -> 0 bytes
.../images/internet_explorer/borderBottomLeft.png | Bin 473 -> 0 bytes
.../images/internet_explorer/borderBottomRight.png | Bin 470 -> 0 bytes
.../images/internet_explorer/borderMiddleLeft.png | Bin 154 -> 0 bytes
.../images/internet_explorer/borderMiddleRight.png | Bin 148 -> 0 bytes
.../images/internet_explorer/borderTopCenter.png | Bin 143 -> 0 bytes
.../images/internet_explorer/borderTopLeft.png | Bin 405 -> 0 bytes
.../images/internet_explorer/borderTopRight.png | Bin 465 -> 0 bytes
.../smart-youtube/themes/theme4/images/loading.gif | Bin 9427 -> 0 bytes
plugins/smart-youtube/themes/theme5/colorbox.css | 50 -
.../smart-youtube/themes/theme5/images/border.png | Bin 163 -> 0 bytes
.../themes/theme5/images/controls.png | Bin 2033 -> 0 bytes
.../smart-youtube/themes/theme5/images/loading.gif | Bin 9427 -> 0 bytes
.../themes/theme5/images/loading_background.png | Bin 166 -> 0 bytes
plugins/smart-youtube/themes/theme6/colorbox.css | 43 -
.../smart-youtube/themes/theme6/images/border.png | Bin 203 -> 0 bytes
.../themes/theme6/images/controls.png | Bin 3369 -> 0 bytes
.../internet_explorer/borderBottomCenter.png | Bin 190 -> 0 bytes
.../images/internet_explorer/borderBottomLeft.png | Bin 448 -> 0 bytes
.../images/internet_explorer/borderBottomRight.png | Bin 614 -> 0 bytes
.../images/internet_explorer/borderMiddleLeft.png | Bin 169 -> 0 bytes
.../images/internet_explorer/borderMiddleRight.png | Bin 187 -> 0 bytes
.../images/internet_explorer/borderTopCenter.png | Bin 173 -> 0 bytes
.../images/internet_explorer/borderTopLeft.png | Bin 292 -> 0 bytes
.../images/internet_explorer/borderTopRight.png | Bin 453 -> 0 bytes
.../smart-youtube/themes/theme6/images/loading.gif | Bin 9427 -> 0 bytes
.../themes/theme6/images/loading_background.png | Bin 157 -> 0 bytes
.../smart-youtube/themes/theme6/images/overlay.png | Bin 145 -> 0 bytes
plugins/smart-youtube/themes/theme7/colorbox.css | 43 -
.../smart-youtube/themes/theme7/images/border.png | Bin 112 -> 0 bytes
.../themes/theme7/images/controls.png | Bin 1249 -> 0 bytes
.../internet_explorer/borderBottomCenter.png | Bin 111 -> 0 bytes
.../images/internet_explorer/borderBottomLeft.png | Bin 215 -> 0 bytes
.../images/internet_explorer/borderBottomRight.png | Bin 217 -> 0 bytes
.../images/internet_explorer/borderMiddleLeft.png | Bin 108 -> 0 bytes
.../images/internet_explorer/borderMiddleRight.png | Bin 108 -> 0 bytes
.../images/internet_explorer/borderTopCenter.png | Bin 111 -> 0 bytes
.../images/internet_explorer/borderTopLeft.png | Bin 216 -> 0 bytes
.../images/internet_explorer/borderTopRight.png | Bin 214 -> 0 bytes
.../smart-youtube/themes/theme7/images/loading.gif | Bin 9427 -> 0 bytes
.../themes/theme7/images/loading_background.png | Bin 157 -> 0 bytes
.../smart-youtube/themes/theme7/images/overlay.png | Bin 145 -> 0 bytes
plugins/smart-youtube/themes/theme8/colorbox.css | 43 -
.../smart-youtube/themes/theme8/images/border.png | Bin 203 -> 0 bytes
.../themes/theme8/images/controls.png | Bin 3369 -> 0 bytes
.../internet_explorer/borderBottomCenter.png | Bin 190 -> 0 bytes
.../images/internet_explorer/borderBottomLeft.png | Bin 448 -> 0 bytes
.../images/internet_explorer/borderBottomRight.png | Bin 614 -> 0 bytes
.../images/internet_explorer/borderMiddleLeft.png | Bin 169 -> 0 bytes
.../images/internet_explorer/borderMiddleRight.png | Bin 187 -> 0 bytes
.../images/internet_explorer/borderTopCenter.png | Bin 173 -> 0 bytes
.../images/internet_explorer/borderTopLeft.png | Bin 292 -> 0 bytes
.../images/internet_explorer/borderTopRight.png | Bin 453 -> 0 bytes
.../smart-youtube/themes/theme8/images/loading.gif | Bin 9427 -> 0 bytes
.../themes/theme8/images/loading_background.png | Bin 157 -> 0 bytes
.../smart-youtube/themes/theme8/images/overlay.png | Bin 145 -> 0 bytes
plugins/smart-youtube/themes/theme9/colorbox.css | 58 -
.../smart-youtube/themes/theme9/images/border1.png | Bin 896 -> 0 bytes
.../smart-youtube/themes/theme9/images/border2.png | Bin 183 -> 0 bytes
.../themes/theme9/images/controls.png | Bin 570 -> 0 bytes
.../internet_explorer/borderBottomCenter.png | Bin 153 -> 0 bytes
.../images/internet_explorer/borderBottomLeft.png | Bin 473 -> 0 bytes
.../images/internet_explorer/borderBottomRight.png | Bin 470 -> 0 bytes
.../images/internet_explorer/borderMiddleLeft.png | Bin 154 -> 0 bytes
.../images/internet_explorer/borderMiddleRight.png | Bin 148 -> 0 bytes
.../images/internet_explorer/borderTopCenter.png | Bin 143 -> 0 bytes
.../images/internet_explorer/borderTopLeft.png | Bin 405 -> 0 bytes
.../images/internet_explorer/borderTopRight.png | Bin 465 -> 0 bytes
.../smart-youtube/themes/theme9/images/loading.gif | Bin 9427 -> 0 bytes
plugins/smart-youtube/yt.js | 124 --
163 files changed, 0 insertions(+), 4448 deletions(-)
diff --git a/plugins/smart-youtube/i/help.png b/plugins/smart-youtube/i/help.png
deleted file mode 100644
index b580f51..0000000
Binary files a/plugins/smart-youtube/i/help.png and /dev/null differ
diff --git a/plugins/smart-youtube/i/home.png b/plugins/smart-youtube/i/home.png
deleted file mode 100644
index ccab192..0000000
Binary files a/plugins/smart-youtube/i/home.png and /dev/null differ
diff --git a/plugins/smart-youtube/i/icon.png b/plugins/smart-youtube/i/icon.png
deleted file mode 100644
index fdab17b..0000000
Binary files a/plugins/smart-youtube/i/icon.png and /dev/null differ
diff --git a/plugins/smart-youtube/i/idea.png b/plugins/smart-youtube/i/idea.png
deleted file mode 100644
index 8d72794..0000000
Binary files a/plugins/smart-youtube/i/idea.png and /dev/null differ
diff --git a/plugins/smart-youtube/i/logo.png b/plugins/smart-youtube/i/logo.png
deleted file mode 100644
index 36b14de..0000000
Binary files a/plugins/smart-youtube/i/logo.png and /dev/null differ
diff --git a/plugins/smart-youtube/i/more.png b/plugins/smart-youtube/i/more.png
deleted file mode 100644
index 8ca1d67..0000000
Binary files a/plugins/smart-youtube/i/more.png and /dev/null differ
diff --git a/plugins/smart-youtube/i/p1.png b/plugins/smart-youtube/i/p1.png
deleted file mode 100644
index d31effc..0000000
Binary files a/plugins/smart-youtube/i/p1.png and /dev/null differ
diff --git a/plugins/smart-youtube/i/paypal.gif b/plugins/smart-youtube/i/paypal.gif
deleted file mode 100644
index b5cda14..0000000
Binary files a/plugins/smart-youtube/i/paypal.gif and /dev/null differ
diff --git a/plugins/smart-youtube/i/rate.png b/plugins/smart-youtube/i/rate.png
deleted file mode 100644
index d41c914..0000000
Binary files a/plugins/smart-youtube/i/rate.png and /dev/null differ
diff --git a/plugins/smart-youtube/i/twit.png b/plugins/smart-youtube/i/twit.png
deleted file mode 100644
index de51c69..0000000
Binary files a/plugins/smart-youtube/i/twit.png and /dev/null differ
diff --git a/plugins/smart-youtube/img/default.jpg b/plugins/smart-youtube/img/default.jpg
deleted file mode 100644
index f8fa049..0000000
Binary files a/plugins/smart-youtube/img/default.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/img/embed_selection-vfl29294.png b/plugins/smart-youtube/img/embed_selection-vfl29294.png
deleted file mode 100644
index b8dfab0..0000000
Binary files a/plugins/smart-youtube/img/embed_selection-vfl29294.png and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_acid_sm.gif b/plugins/smart-youtube/img/preview_embed_acid_sm.gif
deleted file mode 100644
index ff240bf..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_acid_sm.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_acid_sm_nb.gif b/plugins/smart-youtube/img/preview_embed_acid_sm_nb.gif
deleted file mode 100644
index b01d2f4..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_acid_sm_nb.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_blank_sm.gif b/plugins/smart-youtube/img/preview_embed_blank_sm.gif
deleted file mode 100644
index 78f94ca..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_blank_sm.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_blank_sm_nb.gif b/plugins/smart-youtube/img/preview_embed_blank_sm_nb.gif
deleted file mode 100644
index 9726944..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_blank_sm_nb.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_green_sm.gif b/plugins/smart-youtube/img/preview_embed_green_sm.gif
deleted file mode 100644
index 69dbd1b..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_green_sm.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_green_sm_nb.gif b/plugins/smart-youtube/img/preview_embed_green_sm_nb.gif
deleted file mode 100644
index a22f27a..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_green_sm_nb.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_iceberg_sm.gif b/plugins/smart-youtube/img/preview_embed_iceberg_sm.gif
deleted file mode 100644
index 42d8b45..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_iceberg_sm.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_iceberg_sm_nb.gif b/plugins/smart-youtube/img/preview_embed_iceberg_sm_nb.gif
deleted file mode 100644
index 9acbb4b..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_iceberg_sm_nb.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_orange_sm.gif b/plugins/smart-youtube/img/preview_embed_orange_sm.gif
deleted file mode 100644
index 0096037..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_orange_sm.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_orange_sm_nb.gif b/plugins/smart-youtube/img/preview_embed_orange_sm_nb.gif
deleted file mode 100644
index c02860e..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_orange_sm_nb.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_pink_sm.gif b/plugins/smart-youtube/img/preview_embed_pink_sm.gif
deleted file mode 100644
index 26f9d64..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_pink_sm.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_pink_sm_nb.gif b/plugins/smart-youtube/img/preview_embed_pink_sm_nb.gif
deleted file mode 100644
index 5ec1a4a..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_pink_sm_nb.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_purple_sm.gif b/plugins/smart-youtube/img/preview_embed_purple_sm.gif
deleted file mode 100644
index 00920f5..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_purple_sm.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_purple_sm_nb.gif b/plugins/smart-youtube/img/preview_embed_purple_sm_nb.gif
deleted file mode 100644
index 8d80089..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_purple_sm_nb.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_rubyred_sm.gif b/plugins/smart-youtube/img/preview_embed_rubyred_sm.gif
deleted file mode 100644
index 6d8156b..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_rubyred_sm.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_rubyred_sm_nb.gif b/plugins/smart-youtube/img/preview_embed_rubyred_sm_nb.gif
deleted file mode 100644
index 5a24987..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_rubyred_sm_nb.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_storm_sm.gif b/plugins/smart-youtube/img/preview_embed_storm_sm.gif
deleted file mode 100644
index 39ed982..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_storm_sm.gif and /dev/null differ
diff --git a/plugins/smart-youtube/img/preview_embed_storm_sm_nb.gif b/plugins/smart-youtube/img/preview_embed_storm_sm_nb.gif
deleted file mode 100644
index a3da0ac..0000000
Binary files a/plugins/smart-youtube/img/preview_embed_storm_sm_nb.gif and /dev/null differ
diff --git a/plugins/smart-youtube/javascripts/jquery.colorbox-min.js b/plugins/smart-youtube/javascripts/jquery.colorbox-min.js
deleted file mode 100644
index e9400d3..0000000
--- a/plugins/smart-youtube/javascripts/jquery.colorbox-min.js
+++ /dev/null
@@ -1,4 +0,0 @@
-// ColorBox v1.3.15 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+
-// Copyright (c) 2010 Jack Moore - jack@colorpowered.com
-// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
-(function(b,ib){var t="none",M="LoadedContent",c=false,v="resize.",o="y",q="auto",e=true,L="nofollow",m="x";function f(a,c){a=a?' id="'+i+a+'"':"";c=c?' style="'+c+'"':"";return b("")}function p(a,b){b=b===m?n.width():n.height();return typeof a==="string"?Math.round(/%/.test(a)?b/100*parseInt(a,10):parseInt(a,10)):a}function U(b){return a.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(b)}function cb(a){for(var c in a)if(b.isFunction(a[c])&&c.substring(0,2)!=="on")a[c]=a[c].call(l);a.rel=a.rel||l.rel||L;a.href=a.href||b(l).attr("href");a.title=a.title||l.title;return a}function w(c,a){a&&a.call(l);b.event.trigger(c)}function jb(){var b,e=i+"Slideshow_",c="click."+i,f,k;if(a.slideshow&&h[1]){f=function(){F.text(a.slideshowStop).unbind(c).bind(V,function(){if(g");c.open=e}a.each(function(){b.data(this,r,b.extend({},b.data(this,r)||gb,c));b(this).addClass(G)});d=c.open;if(b.isFunction(d))d=d.call(a);d&&db(a[0]);return
a};d.init=function(){var l="hover",m="clear:left";n=b(ib);j=f().attr({id:r,"class":E?i+"IE":""});x=f("Overlay",X?"position:absolute":"").hide();A=f("Wrapper");s=f("Content").append(k=f(M,"width:0; height:0; overflow:hidden"),K=f("LoadingOverlay").add(f("LoadingGraphic")),Z=f("Title"),Y=f("Current"),I=f("Next"),H=f("Previous"),F=f("Slideshow").bind(fb,jb),ab=f("Close"));A.append(f().append(f("TopLeft"),bb=f("TopCenter"),f("TopRight")),f(c,m).append(T=f("MiddleLeft"),s,R=f("MiddleRight")),f(c,m).append(f("BottomLeft"),S=f("BottomCenter"),f("BottomRight"))).children().children().css({"float":"left"});J=f(c,"position:absolute; width:9999px; visibility:hidden; display:none");b("body").prepend(x,j.append(A,J));s.children().hover(function(){b(this).addClass(l)},function(){b(this).removeClass(l)}).addClass(l);B=bb.height()+S.height()+s.outerHeight(e)-s.height();C=T.width()+R.width()+s.outerWidth(e)-s.width();y=k.outerHeight(e);z=k.outerWidth(e);j.css({"padding-bottom":B,"padding-ri
ght":C}).hide();I.click(d.next);H.click(d.prev);ab.click(d.close);s.children().removeClass(l);b("."+G).live("click",function(a){if(!(a.button!==0&&typeof a.button!=="undefined"||a.ctrlKey||a.shiftKey||a.altKey)){a.preventDefault();db(this)}});x.click(function(){a.overlayClose&&d.close()});b(document).bind("keydown",function(b){if(u&&a.escKey&&b.keyCode===27){b.preventDefault();d.close()}if(u&&a.arrowKey&&!D&&h[1])if(b.keyCode===37&&(g||a.loop)){b.preventDefault();H.click()}else if(b.keyCode===39&&(g").children();a.h=b.height();b.replaceWith(b.children())}k.css({height:a.h});d.position(a.transition===t?0:a.speed)}};d.prep=function(m){var c="hidden";function l(s){var p,f,m,c,l=h.length,q=a.loop;d.position(s,function(){function s(){E&&j[0].style.removeAttribute("filter")}if(u){E&&o&&k.fadeIn(100);k.show();w(hb);Z.show().html(a.title);if(l>1){typeof a.current==="string"&&Y.html(a.current.replace(/\{current\}/,g+1).rep
lace(/\{total\}/,l)).show();I[q||g")[0].src=c;if(U(f))b("
")[0].src=f}}K.hide();a.transition==="fade"?j.fadeTo(e,1,function(){s()}):s();n.bind(v+i,function(){d.position(0)});w(V,a.onComplete)}})}if(u){var o,e=a.transition===t?0:a.speed;n.unbind(v+i);k.remove();k=f(M).html(m);k.hide().appendTo(J.show()).css({width:function(){a.w=a.w||k.width();a.w=a.mw&&a.mw")[0];c.name=i+ +new Date;c.src=a.href;if(!a.scrolling)c.scrolling="no";if(E)c.allowtransparency="true";b(c).appendTo(k).one(Q,function(){c.src="//about:blank"})});q(" ")}else if(a.html)q(a.html);else if(U(n)){c=new Image;c.onload=function(){v
ar e;c.onload=null;c.id=i+"Photo";b(c).css({border:t,display:"block",cssFloat:"left"});if(a.scalePhotos){s=function(){c.height-=c.height*e;c.width-=c.width*e};if(a.mw&&c.width>a.mw){e=(c.width-a.mw)/c.width;s()}if(a.mh&&c.height>a.mh){e=(c.height-a.mh)/c.height;s()}}if(a.h)c.style.marginTop=Math.max(a.h-c.height,0)/2+"px";h[1]&&(g');
- }
-
- // Convert % values to pixels
- function setSize(size, dimension) {
- dimension = dimension === 'x' ? $window.width() : $window.height();
- return (typeof size === 'string') ? Math.round((/%/.test(size) ? (dimension / 100) * parseInt(size, 10) : parseInt(size, 10))) : size;
- }
-
- // Checks an href to see if it is a photo.
- // There is a force photo option (photo: true) for hrefs that cannot be matched by this regex.
- function isImage(url) {
- return settings.photo || /\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(url);
- }
-
- // Assigns function results to their respective settings. This allows functions to be used as values.
- function process(settings) {
- for (var i in settings) {
- if ($.isFunction(settings[i]) && i.substring(0, 2) !== 'on') { // checks to make sure the function isn't one of the callbacks, they will be handled at the appropriate time.
- settings[i] = settings[i].call(element);
- }
- }
- settings.rel = settings.rel || element.rel || 'nofollow';
- settings.href = settings.href || $(element).attr('href');
- settings.title = settings.title || element.title;
- return settings;
- }
-
- function trigger(event, callback) {
- if (callback) {
- callback.call(element);
- }
- $.event.trigger(event);
- }
-
- // Slideshow functionality
- function slideshow() {
- var
- timeOut,
- className = prefix + "Slideshow_",
- click = "click." + prefix,
- start,
- stop,
- clear;
-
- if (settings.slideshow && $related[1]) {
- start = function () {
- $slideshow
- .text(settings.slideshowStop)
- .unbind(click)
- .bind(event_complete, function () {
- if (index < $related.length - 1 || settings.loop) {
- timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
- }
- })
- .bind(event_load, function () {
- clearTimeout(timeOut);
- })
- .one(click + ' ' + event_cleanup, stop);
- $box.removeClass(className + "off").addClass(className + "on");
- timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
- };
-
- stop = function () {
- clearTimeout(timeOut);
- $slideshow
- .text(settings.slideshowStart)
- .unbind([event_complete, event_load, event_cleanup, click].join(' '))
- .one(click, start);
- $box.removeClass(className + "on").addClass(className + "off");
- };
-
- if (settings.slideshowAuto) {
- start();
- } else {
- stop();
- }
- }
- }
-
- function launch(elem) {
- if (!closing) {
-
- element = elem;
-
- settings = process($.extend({}, $.data(element, colorbox)));
-
- $related = $(element);
-
- index = 0;
-
- if (settings.rel !== 'nofollow') {
- $related = $('.' + boxElement).filter(function () {
- var relRelated = $.data(this, colorbox).rel || this.rel;
- return (relRelated === settings.rel);
- });
- index = $related.index(element);
-
- // Check direct calls to ColorBox.
- if (index === -1) {
- $related = $related.add(element);
- index = $related.length - 1;
- }
- }
-
- if (!open) {
- open = active = true; // Prevents the page-change action from queuing up if the visitor holds down the left or right keys.
-
- $box.show();
-
- if (settings.returnFocus) {
- try {
- element.blur();
- $(element).one(event_closed, function () {
- try {
- this.focus();
- } catch (e) {
- // do nothing
- }
- });
- } catch (e) {
- // do nothing
- }
- }
-
- // +settings.opacity avoids a problem in IE when using non-zero-prefixed-string-values, like '.5'
- $overlay.css({"opacity": +settings.opacity, "cursor": settings.overlayClose ? "pointer" : "auto"}).show();
-
- // Opens inital empty ColorBox prior to content being loaded.
- settings.w = setSize(settings.initialWidth, 'x');
- settings.h = setSize(settings.initialHeight, 'y');
- publicMethod.position(0);
-
- if (isIE6) {
- $window.bind('resize.' + event_ie6 + ' scroll.' + event_ie6, function () {
- $overlay.css({width: $window.width(), height: $window.height(), top: $window.scrollTop(), left: $window.scrollLeft()});
- }).trigger('scroll.' + event_ie6);
- }
-
- trigger(event_open, settings.onOpen);
-
- $current.add($prev).add($next).add($slideshow).add($title).hide();
-
- $close.html(settings.close).show();
- }
-
- publicMethod.load(true);
- }
- }
-
- // ****************
- // PUBLIC FUNCTIONS
- // Usage format: $.fn.colorbox.close();
- // Usage from within an iframe: parent.$.fn.colorbox.close();
- // ****************
-
- publicMethod = $.fn[colorbox] = $[colorbox] = function (options, callback) {
- var $this = this, autoOpen;
-
- if (!$this[0] && $this.selector) { // if a selector was given and it didn't match any elements, go ahead and exit.
- return $this;
- }
-
- options = options || {};
-
- if (callback) {
- options.onComplete = callback;
- }
-
- if (!$this[0] || $this.selector === undefined) { // detects $.colorbox() and $.fn.colorbox()
- $this = $('');
- options.open = true; // assume an immediate open
- }
-
- $this.each(function () {
- $.data(this, colorbox, $.extend({}, $.data(this, colorbox) || defaults, options));
- $(this).addClass(boxElement);
- });
-
- autoOpen = options.open;
-
- if ($.isFunction(autoOpen)) {
- autoOpen = autoOpen.call($this);
- }
-
- if (autoOpen) {
- launch($this[0]);
- }
-
- return $this;
- };
-
- // Initialize ColorBox: store common calculations, preload the interface graphics, append the html.
- // This preps colorbox for a speedy open when clicked, and lightens the burdon on the browser by only
- // having to run once, instead of each time colorbox is opened.
- publicMethod.init = function () {
- // Create & Append jQuery Objects
- $window = $(window);
- $box = $div().attr({id: colorbox, 'class': isIE ? prefix + 'IE' : ''});
- $overlay = $div("Overlay", isIE6 ? 'position:absolute' : '').hide();
-
- $wrap = $div("Wrapper");
- $content = $div("Content").append(
- $loaded = $div("LoadedContent", 'width:0; height:0; overflow:hidden'),
- $loadingOverlay = $div("LoadingOverlay").add($div("LoadingGraphic")),
- $title = $div("Title"),
- $current = $div("Current"),
- $next = $div("Next"),
- $prev = $div("Previous"),
- $slideshow = $div("Slideshow").bind(event_open, slideshow),
- $close = $div("Close")
- );
- $wrap.append( // The 3x3 Grid that makes up ColorBox
- $div().append(
- $div("TopLeft"),
- $topBorder = $div("TopCenter"),
- $div("TopRight")
- ),
- $div(false, 'clear:left').append(
- $leftBorder = $div("MiddleLeft"),
- $content,
- $rightBorder = $div("MiddleRight")
- ),
- $div(false, 'clear:left').append(
- $div("BottomLeft"),
- $bottomBorder = $div("BottomCenter"),
- $div("BottomRight")
- )
- ).children().children().css({'float': 'left'});
-
- $loadingBay = $div(false, 'position:absolute; width:9999px; visibility:hidden; display:none');
-
- $('body').prepend($overlay, $box.append($wrap, $loadingBay));
-
- $content.children()
- .hover(function () {
- $(this).addClass('hover');
- }, function () {
- $(this).removeClass('hover');
- }).addClass('hover');
-
- // Cache values needed for size calculations
- interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height();//Subtraction needed for IE6
- interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(true) - $content.width();
- loadedHeight = $loaded.outerHeight(true);
- loadedWidth = $loaded.outerWidth(true);
-
- // Setting padding to remove the need to do size conversions during the animation step.
- $box.css({"padding-bottom": interfaceHeight, "padding-right": interfaceWidth}).hide();
-
- // Setup button events.
- $next.click(publicMethod.next);
- $prev.click(publicMethod.prev);
- $close.click(publicMethod.close);
-
- // Adding the 'hover' class allowed the browser to load the hover-state
- // background graphics. The class can now can be removed.
- $content.children().removeClass('hover');
-
- $('.' + boxElement).live('click', function (e) {
- // checks to see if it was a non-left mouse-click and for clicks modified with ctrl, shift, or alt.
- if (!((e.button !== 0 && typeof e.button !== 'undefined') || e.ctrlKey || e.shiftKey || e.altKey)) {
- e.preventDefault();
- launch(this);
- }
- });
-
- $overlay.click(function () {
- if (settings.overlayClose) {
- publicMethod.close();
- }
- });
-
- // Set Navigation Key Bindings
- $(document).bind("keydown", function (e) {
- if (open && settings.escKey && e.keyCode === 27) {
- e.preventDefault();
- publicMethod.close();
- }
- if (open && settings.arrowKey && !active && $related[1]) {
- if (e.keyCode === 37 && (index || settings.loop)) {
- e.preventDefault();
- $prev.click();
- } else if (e.keyCode === 39 && (index < $related.length - 1 || settings.loop)) {
- e.preventDefault();
- $next.click();
- }
- }
- });
- };
-
- publicMethod.remove = function () {
- $box.add($overlay).remove();
- $('.' + boxElement).die('click').removeData(colorbox).removeClass(boxElement);
- };
-
- publicMethod.position = function (speed, loadedCallback) {
- var
- animate_speed,
- // keeps the top and left positions within the browser's viewport.
- posTop = Math.max(document.documentElement.clientHeight - settings.h - loadedHeight - interfaceHeight, 0) / 2 + $window.scrollTop(),
- posLeft = Math.max($window.width() - settings.w - loadedWidth - interfaceWidth, 0) / 2 + $window.scrollLeft();
-
- // setting the speed to 0 to reduce the delay between same-sized content.
- animate_speed = ($box.width() === settings.w + loadedWidth && $box.height() === settings.h + loadedHeight) ? 0 : speed;
-
- // this gives the wrapper plenty of breathing room so it's floated contents can move around smoothly,
- // but it has to be shrank down around the size of div#colorbox when it's done. If not,
- // it can invoke an obscure IE bug when using iframes.
- $wrap[0].style.width = $wrap[0].style.height = "9999px";
-
- function modalDimensions(that) {
- // loading overlay height has to be explicitly set for IE6.
- $topBorder[0].style.width = $bottomBorder[0].style.width = $content[0].style.width = that.style.width;
- $loadingOverlay[0].style.height = $loadingOverlay[1].style.height = $content[0].style.height = $leftBorder[0].style.height = $rightBorder[0].style.height = that.style.height;
- }
-
- $box.dequeue().animate({width: settings.w + loadedWidth, height: settings.h + loadedHeight, top: posTop, left: posLeft}, {
- duration: animate_speed,
- complete: function () {
- modalDimensions(this);
-
- active = false;
-
- // shrink the wrapper down to exactly the size of colorbox to avoid a bug in IE's iframe implementation.
- $wrap[0].style.width = (settings.w + loadedWidth + interfaceWidth) + "px";
- $wrap[0].style.height = (settings.h + loadedHeight + interfaceHeight) + "px";
-
- if (loadedCallback) {
- loadedCallback();
- }
- },
- step: function () {
- modalDimensions(this);
- }
- });
- };
-
- publicMethod.resize = function (options) {
- if (open) {
- options = options || {};
-
- if (options.width) {
- settings.w = setSize(options.width, 'x') - loadedWidth - interfaceWidth;
- }
- if (options.innerWidth) {
- settings.w = setSize(options.innerWidth, 'x');
- }
- $loaded.css({width: settings.w});
-
- if (options.height) {
- settings.h = setSize(options.height, 'y') - loadedHeight - interfaceHeight;
- }
- if (options.innerHeight) {
- settings.h = setSize(options.innerHeight, 'y');
- }
- if (!options.innerHeight && !options.height) {
- var $child = $loaded.wrapInner("").children(); // temporary wrapper to get an accurate estimate of just how high the total content should be.
- settings.h = $child.height();
- $child.replaceWith($child.children()); // ditch the temporary wrapper div used in height calculation
- }
- $loaded.css({height: settings.h});
-
- publicMethod.position(settings.transition === "none" ? 0 : settings.speed);
- }
- };
-
- publicMethod.prep = function (object) {
- if (!open) {
- return;
- }
-
- var photo,
- speed = settings.transition === "none" ? 0 : settings.speed;
-
- $window.unbind('resize.' + prefix);
- $loaded.remove();
- $loaded = $div('LoadedContent').html(object);
-
- function getWidth() {
- settings.w = settings.w || $loaded.width();
- settings.w = settings.mw && settings.mw < settings.w ? settings.mw : settings.w;
- return settings.w;
- }
- function getHeight() {
- settings.h = settings.h || $loaded.height();
- settings.h = settings.mh && settings.mh < settings.h ? settings.mh : settings.h;
- return settings.h;
- }
-
- $loaded.hide()
- .appendTo($loadingBay.show())// content has to be appended to the DOM for accurate size calculations.
- .css({width: getWidth(), overflow: settings.scrolling ? 'auto' : 'hidden'})
- .css({height: getHeight()})// sets the height independently from the width in case the new width influences the value of height.
- .prependTo($content);
-
- $loadingBay.hide();
-
- // floating the IMG removes the bottom line-height and fixed a problem where IE miscalculates the width of the parent element as 100% of the document width.
- $('#' + prefix + 'Photo').css({cssFloat: 'none', marginLeft: 'auto', marginRight: 'auto'});
-
- // Hides SELECT elements in IE6 because they would otherwise sit on top of the overlay.
- if (isIE6) {
- $('select').not($box.find('select')).filter(function () {
- return this.style.visibility !== 'hidden';
- }).css({'visibility': 'hidden'}).one(event_cleanup, function () {
- this.style.visibility = 'inherit';
- });
- }
-
- function setPosition(s) {
- var prev, prevSrc, next, nextSrc, total = $related.length, loop = settings.loop;
- publicMethod.position(s, function () {
- function defilter() {
- if (isIE) {
- //IE adds a filter when ColorBox fades in and out that can cause problems if the loaded content contains transparent pngs.
- $box[0].style.removeAttribute("filter");
- }
- }
-
- if (!open) {
- return;
- }
-
- if (isIE) {
- //This fadeIn helps the bicubic resampling to kick-in.
- if (photo) {
- $loaded.fadeIn(100);
- }
- }
-
- $loaded.show();
-
- trigger(event_loaded);
-
- $title.show().html(settings.title);
-
- if (total > 1) { // handle grouping
- if (typeof settings.current === "string") {
- $current.html(settings.current.replace(/\{current\}/, index + 1).replace(/\{total\}/, total)).show();
- }
-
- $next[(loop || index < total - 1) ? "show" : "hide"]().html(settings.next);
- $prev[(loop || index) ? "show" : "hide"]().html(settings.previous);
-
- prev = index ? $related[index - 1] : $related[total - 1];
- next = index < total - 1 ? $related[index + 1] : $related[0];
-
- if (settings.slideshow) {
- $slideshow.show();
- }
-
- // Preloads images within a rel group
- if (settings.preloading) {
- nextSrc = $.data(next, colorbox).href || next.href;
- prevSrc = $.data(prev, colorbox).href || prev.href;
-
- nextSrc = $.isFunction(nextSrc) ? nextSrc.call(next) : nextSrc;
- prevSrc = $.isFunction(prevSrc) ? prevSrc.call(prev) : prevSrc;
-
- if (isImage(nextSrc)) {
- $('
')[0].src = nextSrc;
- }
-
- if (isImage(prevSrc)) {
- $('
')[0].src = prevSrc;
- }
- }
- }
-
- $loadingOverlay.hide();
-
- if (settings.transition === 'fade') {
- $box.fadeTo(speed, 1, function () {
- defilter();
- });
- } else {
- defilter();
- }
-
- $window.bind('resize.' + prefix, function () {
- publicMethod.position(0);
- });
-
- trigger(event_complete, settings.onComplete);
- });
- }
-
- if (settings.transition === 'fade') {
- $box.fadeTo(speed, 0, function () {
- setPosition(0);
- });
- } else {
- setPosition(speed);
- }
- };
-
- publicMethod.load = function (launched) {
- var href, img, setResize, prep = publicMethod.prep;
-
- active = true;
- element = $related[index];
-
- if (!launched) {
- settings = process($.extend({}, $.data(element, colorbox)));
- }
-
- trigger(event_purge);
-
- trigger(event_load, settings.onLoad);
-
- settings.h = settings.height ?
- setSize(settings.height, 'y') - loadedHeight - interfaceHeight :
- settings.innerHeight && setSize(settings.innerHeight, 'y');
-
- settings.w = settings.width ?
- setSize(settings.width, 'x') - loadedWidth - interfaceWidth :
- settings.innerWidth && setSize(settings.innerWidth, 'x');
-
- // Sets the minimum dimensions for use in image scaling
- settings.mw = settings.w;
- settings.mh = settings.h;
-
- // Re-evaluate the minimum width and height based on maxWidth and maxHeight values.
- // If the width or height exceed the maxWidth or maxHeight, use the maximum values instead.
- if (settings.maxWidth) {
- settings.mw = setSize(settings.maxWidth, 'x') - loadedWidth - interfaceWidth;
- settings.mw = settings.w && settings.w < settings.mw ? settings.w : settings.mw;
- }
- if (settings.maxHeight) {
- settings.mh = setSize(settings.maxHeight, 'y') - loadedHeight - interfaceHeight;
- settings.mh = settings.h && settings.h < settings.mh ? settings.h : settings.mh;
- }
-
- href = settings.href;
-
- $loadingOverlay.show();
-
- if (settings.inline) {
- // Inserts an empty placeholder where inline content is being pulled from.
- // An event is bound to put inline content back when ColorBox closes or loads new content.
- $div().hide().insertBefore($(href)[0]).one(event_purge, function () {
- $(this).replaceWith($loaded.children());
- });
- prep($(href));
- } else if (settings.iframe) {
- // IFrame element won't be added to the DOM until it is ready to be displayed,
- // to avoid problems with DOM-ready JS that might be trying to run in that iframe.
- $box.one(event_loaded, function () {
- var iframe = $("")[0];
- iframe.name = prefix + (+new Date());
- iframe.src = settings.href;
-
- if (!settings.scrolling) {
- iframe.scrolling = "no";
- }
-
- if (isIE) {
- iframe.allowtransparency = "true";
- }
-
- $(iframe).appendTo($loaded).one(event_purge, function () {
- iframe.src = "//about:blank";
- });
- });
-
- prep(" ");
- } else if (settings.html) {
- prep(settings.html);
- } else if (isImage(href)) {
- img = new Image();
- img.onload = function () {
- var percent;
- img.onload = null;
- img.id = prefix + 'Photo';
- $(img).css({border: 'none', display: 'block', cssFloat: 'left'});
- if (settings.scalePhotos) {
- setResize = function () {
- img.height -= img.height * percent;
- img.width -= img.width * percent;
- };
- if (settings.mw && img.width > settings.mw) {
- percent = (img.width - settings.mw) / img.width;
- setResize();
- }
- if (settings.mh && img.height > settings.mh) {
- percent = (img.height - settings.mh) / img.height;
- setResize();
- }
- }
-
- if (settings.h) {
- img.style.marginTop = Math.max(settings.h - img.height, 0) / 2 + 'px';
- }
-
- if ($related[1] && (index < $related.length - 1 || settings.loop)) {
- $(img).css({cursor: 'pointer'}).click(publicMethod.next);
- }
-
- if (isIE) {
- img.style.msInterpolationMode = 'bicubic';
- }
-
- setTimeout(function () { // Chrome will sometimes report a 0 by 0 size if there isn't pause in execution
- prep(img);
- }, 1);
- };
-
- setTimeout(function () { // Opera 10.6+ will sometimes load the src before the onload function is set
- img.src = href;
- }, 1);
- } else if (href) {
- $loadingBay.load(href, function (data, status, xhr) {
- prep(status === 'error' ? 'Request unsuccessful: ' + xhr.statusText : $(this).children());
- });
- }
- };
-
- // Navigates to the next page/image in a set.
- publicMethod.next = function () {
- if (!active) {
- index = index < $related.length - 1 ? index + 1 : 0;
- publicMethod.load();
- }
- };
-
- publicMethod.prev = function () {
- if (!active) {
- index = index ? index - 1 : $related.length - 1;
- publicMethod.load();
- }
- };
-
- // Note: to use this within an iframe use the following format: parent.$.fn.colorbox.close();
- publicMethod.close = function () {
- if (open && !closing) {
- closing = true;
-
- open = false;
-
- trigger(event_cleanup, settings.onCleanup);
-
- $window.unbind('.' + prefix + ' .' + event_ie6);
-
- $overlay.fadeTo('fast', 0);
-
- $box.stop().fadeTo('fast', 0, function () {
-
- trigger(event_purge);
-
- $loaded.remove();
-
- $box.add($overlay).css({'opacity': 1, cursor: 'auto'}).hide();
-
- setTimeout(function () {
- closing = false;
- trigger(event_closed, settings.onClosed);
- }, 1);
- });
- }
- };
-
- // A method for fetching the current element ColorBox is referencing.
- // returns a jQuery object.
- publicMethod.element = function () {
- return $(element);
- };
-
- publicMethod.settings = defaults;
-
- // Initializes ColorBox when the DOM has loaded
- $(publicMethod.init);
-
-}(jQuery, this));
\ No newline at end of file
diff --git a/plugins/smart-youtube/readme.txt b/plugins/smart-youtube/readme.txt
deleted file mode 100644
index 27bcf08..0000000
--- a/plugins/smart-youtube/readme.txt
+++ /dev/null
@@ -1,251 +0,0 @@
-=== Smart YouTube PRO ===
-Contributors: freediver
-Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=520781390
-Tags: youtube, video, play, media, Post, posts, admin, metacafe, liveleak, vimeo, facebook, thumbnails
-Requires at least: 2.0
-Tested up to: 3.3.2
-Stable tag: trunk
-
-Smart Youtube is a professional WordPress Video plugin that allows you to easily insert videos/playlists into your post, comments and in your RSS feed. The plugin is designed to be small and fast and not use any external resources.
-
-== Description ==
-
-Smart Youtube is one of the most popular WordPress plugins, with more than 1,000,000 downloads to date..
-
-From version 4.0 Smart Youtube changed the name to Smart Youtube PRO and now also supports playback of **Youtube, Vimeo, Metacafe, Liveleak and Facebook** high quality videos, **works on iPhone & iPad**, produces xHTML valid code (unlike YouTube embed code), allows you to view videos in fullscreen, has **video thumbnails support**, has robust widget support and much more.
-
-The plugin is designed to be small and fast and not use any external resources. It has a number of customizable options.
-
-Main Features:
-
-* Easily embeds YouTube, Vimeo, Metacafe, Liveleak and Facebook videos (normal/HD mode)
-* Works on iPhone, iPad and iPod
-* Embed YouTube playlist (normal/HD)
-* Supports latest high definition video protocols
-* Extract video thumbnails in your archive/category posts
-* Provides a sidebar widget for videos as well
-* Supports video deep linking (starting at desired point with &start=time parameter)
-* Autoplay videos, autoplay only the first video on the page (if multiple vidoes)
-* Show video in Colorbox
-* Supports migrated blogs from Wordpress.com
-* Supports migration from other Youtube plugins such as wp-youtube
-* Produces xHTML valid code
-
-
-Example:
-http://www.youtube.com/watch?v=zlfKdbWwruY
-
-**Related plugins:**
-
-* [Theme Test Drive](http://wordpress.org/extend/plugins/theme-test-drive/)
-* [WP Quick Deploy](http://wordpress.org/extend/plugins/wp-quick-deploy/)
-
-If you like what I do in WordPress, you will also like [ManageWP](http://managewp.com "Manage WordPress sites") service.
-
-For updates, you can check out [my blog](http://www.prelovac.com/vladimir/) or follow me on Twitter [@vprelovac](http://twitter.com/vprelovac).
-
-
-
-
-== Changelog ==
-
-= 4.1.6 =
-* Loop videos workaround
-
-= 4.1.4 =
-* Support for HTTPS in the dashboard (thanks to Mile Rosu)
-
-= 4.1.3 =
-* Fixed support for videos in RSS feed
-
-= 4.1.2 =
-* Playlists fixed, make sure to use the new format for playlist embed ie. httpvp://www.youtube.com/playlist?list=PL050E43A49BC5E5E5
-
-= 4.1.1 =
-* Logo-less mode fix
-
-= 4.1.0 =
-* Added wmode=transparent as default paramater
-* Added support for new Playlist format
-
-= 4.0.3 =
-* More bug fixes
-
-= 4.0.2 =
-* Bug fix release
-
-= 4.0 =
-* Major release
-* Added support for Vimeo, Metacafe, Liveleak and Facebook videos
-* New, much better, sidebar Widget support
-* Extract Video thumbnails to show in your excerpts on categories/archive pages
-* Show video in Colorbox
-* Now parses http:// and httpv:// videos just the same
-* Option to autoplay only the first video on the page
-* Plugin localization support
-
-= 3.9.1 =
-* Support for [WiziApp](http://www.wiziapp.com/ "WiziApp")
-* Bug fixes
-
-= 3.9.0 =
-* Support for no-branding player
-* Fixed a bug with two dashes in name
-
-= 3.8.9 =
-* Supports new youtube dark 'Cosmic panda' theme
-
-= 3.8.8 =
-* Fixed the problem with autoplaying iframe embed videos
-
-= 3.8.7 =
-* Now supports both youtube.com and youtu.be links
-* Fixed single vs double dash problem
-
-= 3.8.6 =
-* Brought back the loop option (thanks to John Kennedy)
-
-= 3.8.5 =
-* Fixed transparency issues (thanks to John Landells)
-* Added iframe playlist code
-
-= 3.8.4 =
-* WordPress 3.1 update
-
-= 3.8.3 =
-* Fixed a bug that caused video options not to be set to default
-
-= 3.8.2 =
-* Sometimes video won't show because template option is empty - now made sure that default template is used
-
-
-= 3.8.1 =
-* Support for new IFRAME embed code
-* Support for HD playlists (httpvhp://)
-* Support for new play formats (1280x745 & 960x745)
-
-= 3.7.1 =
-* Widget function now supports multi-languge plugins (thanks Emmanuel Gravel)
-* Playlist link in the feeds correctly displayed
-
-= 3.7 =
-* WP3.0 checked
-* Fixed hd and related videos parameter option
-
-= 3.6.1 =
-* Added iPad compatibility
-
-= 3.6 =
-* Added compatibility with other Youtube plugins such as wp-youtube ([yt]...[/yt] type code)
-
-= 3.5 =
-* Fixed Iphone Issues
-
-= 3.4.3 =
-* Fixed privacy option
-* Supports new #! style Youtube URLs
-
-= 3.4.1 =
-* Fixed widget problem
-
-= 3.4 =
-* Completely rewritten the plugin
-* Added new HD video support (use vh now for all high quality videos)
-* Added video privacy option
-
-
-= 3.3.2 =
-* Fixed xHTML validation for playlists (credit Dietmar)
-
-= 3.3.1 =
-* Fixed Iphone validation (credits to John Neumann)
-
-= 3.3 =
-* Supports migrated blogs from Wordpress.com
-
-= 3.2 =
-* Added title to widget, fixed HTML code issue with widget
-
-= 3.1.1 =
-* param closed properly for HTML validation (thanks Jan Eberl)
-
-
-== Credits ==
-
-Some of the functions of SmartYoutube plugin came from other plugins. So I can at least thank these people:
-
-* [Oliver](http://www.deliciousdays.com/ "Oliver") for his [cforms II](http://www.deliciousdays.com/cforms-plugin "cforms II") plugin
-* [Scott](http://www.plaintxt.org/ "Scott") for his excellent readme.txt file
-* [YouTube](http://www.youtube.com/ "YouTube") folks for their service and javascript selector
-
-Thanks.
-
-== Installation ==
-
-1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
-2. Go to the Plugins page and activate the plugin.
-3. Use the Options page to change your options
-4. When you want to display Youtube video in your post, copy the video URL to your post and change http:// to httpv:// (notice the 'v' character)
-
-TTo use the video in your posts, paste YouTube video URL with httpv:// (notice the 'v').
-
-Important: The URL should just be copied into your post normally and the letter 'v' added, do not create a clickable link!
-
-Example: httpv://www.youtube.com/watch?v=OWfksMD4PAg
-
-If you want to embed High/HD Quality video use httpvh:// instead (Video High Defintion).
-
-Vimeo Example: httpv://vimeo.com/27287078
-
-Metacafe Example: httpvh://vww.metacafe.com/watch/7815470/harry_potter_and_the_deathly_hallows_dvd_interview/
-
-Live Leak Example: httpv://www.liveleak.com/view?i=cad_1322822486
-
-To embed playlists use httpvp:// (eg. httpvp://www.youtube.com/view_play_list?p=528026B4F7B34094)
-
-Smart Youtube also supports migrated blogs from Wordpress.com using [youtube=youtubeadresss]
-
- httpv:// - regular video
- httpvh:// - high/HD quality
- httpvp:// - playlist
- httpvhp:// - HD playlist
- [youtube=youtubeadresss] - supported for blogs migrated from wordpress.com
-
-
-
-Additionally, you can set how do you want the video to be displayed in your RSS feed. Smart Youtube can show the preview image of the video (automatically grabbed from Youtube), the link to the video, or both. I recommend enabling only the preview image.
-
-== Screenshots ==
-
-1. Plugin Admin Panel
-2. Plugin in action in your RSS feed
-
-== License ==
-
-This file is part of Smart YouTube.
-
-Smart YouTube is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
-
-Smart YouTube is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License along with Smart YouTube. If not, see .
-
-
-== Frequently Asked Questions ==
-
-= How do I correctly use this plugin? =
-
-Copy the URL of YouTube video you want to watch. Paste it in your post anywhere. Example: httpv://www.youtube.com/watch?v=OWfksMD4PAg
-
-= The plugin still does not show up a video! =
-
-Make sure you copied the URL as text, do not create a link!
-
-
-= Can I suggest an feature for the plugin? =
-
-Of course, visit Smart YouTube Home Page
-
-= I love your work, are you available for hire? =
-
-Yes I am, visit my WordPress Consulting page to find out more.
diff --git a/plugins/smart-youtube/screenshot-1.png b/plugins/smart-youtube/screenshot-1.png
deleted file mode 100644
index 0e90bea..0000000
Binary files a/plugins/smart-youtube/screenshot-1.png and /dev/null differ
diff --git a/plugins/smart-youtube/screenshot-2.png b/plugins/smart-youtube/screenshot-2.png
deleted file mode 100644
index 5db4975..0000000
Binary files a/plugins/smart-youtube/screenshot-2.png and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-1.jpg b/plugins/smart-youtube/screenshots/screenshot-1.jpg
deleted file mode 100644
index de729b3..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-1.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-10.jpg b/plugins/smart-youtube/screenshots/screenshot-10.jpg
deleted file mode 100644
index 4690fb7..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-10.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-11.jpg b/plugins/smart-youtube/screenshots/screenshot-11.jpg
deleted file mode 100644
index 6c63b27..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-11.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-2.jpg b/plugins/smart-youtube/screenshots/screenshot-2.jpg
deleted file mode 100644
index 58534fd..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-2.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-3.jpg b/plugins/smart-youtube/screenshots/screenshot-3.jpg
deleted file mode 100644
index 40c6a3d..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-3.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-4.jpg b/plugins/smart-youtube/screenshots/screenshot-4.jpg
deleted file mode 100644
index 2f84e73..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-4.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-5.jpg b/plugins/smart-youtube/screenshots/screenshot-5.jpg
deleted file mode 100644
index 2ecd9c4..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-5.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-6.jpg b/plugins/smart-youtube/screenshots/screenshot-6.jpg
deleted file mode 100644
index 051d4b0..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-6.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-7.jpg b/plugins/smart-youtube/screenshots/screenshot-7.jpg
deleted file mode 100644
index c2424cc..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-7.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-8.jpg b/plugins/smart-youtube/screenshots/screenshot-8.jpg
deleted file mode 100644
index 3df670a..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-8.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/screenshots/screenshot-9.jpg b/plugins/smart-youtube/screenshots/screenshot-9.jpg
deleted file mode 100644
index 52084ed..0000000
Binary files a/plugins/smart-youtube/screenshots/screenshot-9.jpg and /dev/null differ
diff --git a/plugins/smart-youtube/smartyoutube.chk b/plugins/smart-youtube/smartyoutube.chk
deleted file mode 100644
index 57d0744..0000000
--- a/plugins/smart-youtube/smartyoutube.chk
+++ /dev/null
@@ -1,2 +0,0 @@
-Version@1.5@
-Message@- New video customization features including color and border
diff --git a/plugins/smart-youtube/smartyoutube.class.php b/plugins/smart-youtube/smartyoutube.class.php
deleted file mode 100644
index 1fe2d19..0000000
--- a/plugins/smart-youtube/smartyoutube.class.php
+++ /dev/null
@@ -1,812 +0,0 @@
-__construct();
- }
-
- function __construct()
- {
- $this->local_version = '3.8.9'; // TODO: Change this number???
- $this->custom_colors = array(
- 'blank' => array('d6d6d6', 'f0f0f0'),
- 'storm' => array('3a3a3a', '999999'),
- 'iceberg' => array('2b405b', '6b8ab6'),
- 'acid' => array('006699', '54abd6'),
- 'green' => array('234900', '4e9e00'),
- 'orange' => array('e1600f', 'febd01'),
- 'pink' => array('cc2550', 'e87a9f'),
- 'purple' => array('402061', '9461ca'),
- 'rubyred' => array('5d1719', 'cd311b'),
- );
-
- $this->plugin_url = defined('WP_PLUGIN_URL') ?
- trailingslashit(WP_PLUGIN_URL . '/' . dirname(plugin_basename(__FILE__))) :
- trailingslashit(get_bloginfo('wpurl')) . PLUGINDIR . '/' . dirname(plugin_basename(__FILE__));
-
- $this->key = 'smart_youtube';
-
-
- $this->options=$this->get_options();
-
- $this->add_filters_and_hooks();
- }
-
- function add_filters_and_hooks()
- {
- if ($this->options['posts'] == 'on')
- {
- add_filter('the_content', array($this, 'check'), 100);
- add_filter('the_excerpt', array($this, 'check'), 100);
- }
-
- if ($this->options['comments'] == 'on')
- {
- add_filter('comment_text', array($this, 'check'), 100);
- }
-
- add_action( 'plugins_loaded', array($this, 'install'));
- add_action( 'after_plugin_row', array($this, 'check_plugin_version'));
-
- add_action('admin_menu', array($this, 'add_menu_items'));
-
- register_activation_hook(__FILE__, array($this, 'install'));
- }
-
- function add_menu_items()
- {
- add_options_page('Smart Youtube options', 'Smart Youtube', 8, __FILE__, array($this, 'options_page'));
- }
-
- function options_page()
- {
- /* $status = $this->get_info();
-
- $the_version = $status[1];
- $the_message = $status[3];
-
- if ((version_compare(strval($the_version), strval($this->local_version), '>') == 1))
- {
- $msg = 'Latest version available '.' '.$the_version.'
'.$the_message;
- _e('');
- }
- */
-
- // If form was submitted
- if (isset($_POST['submitted']))
- {
- check_admin_referer('smart-youtube');
-
- #---------------------------------------------------------------------#
- $this->options['img'] = !isset($_POST['disp_img']) ? 'off' : 'on';
- $this->options['link'] = !isset($_POST['disp_link']) ? 'off' : 'on';
- $this->options['valid'] = !isset($_POST['valid']) ? 'off' : 'on';
- $this->options['search'] = !isset($_POST['disp_search']) ? 'off' : 'on';
- $this->options['ann'] = !isset($_POST['disp_ann']) ? 'off' : 'on';
-
- $this->options['info'] = !isset($_POST['disp_info']) ? 'off' : 'on';
-
- $this->options['width'] = !isset($_POST['disp_width']) ? 425 : intval($_POST['disp_width']);
- $this->options['height'] = !isset($_POST['disp_height']) ? 344 : intval($_POST['disp_height']);
-
- $this->options['widthhq'] = !isset($_POST['disp_widthhq']) ? 480 : intval($_POST['disp_widthhq']);
- $this->options['heighthq'] = !isset($_POST['disp_heighthq']) ? 295 : intval($_POST['disp_heighthq']);
-
- $this->options['widthside'] = !isset($_POST['disp_widthside']) ? 150 : intval($_POST['disp_widthside']);
- $this->options['heightside'] = !isset($_POST['disp_heightside']) ? 125 : intval($_POST['disp_heightside']);
-
- $this->options['rel'] = !isset($_POST['embedRel']) ? 1 : $_POST['embedRel'];
- $this->options['border'] = !isset($_POST['embedBorder']) ? 0 : 1;
- $this->options['color'] = !isset($_POST['embedColor']) ? 'blank' : $_POST['embedColor'];
- $this->options['autoplay'] = !isset($_POST['autoplay']) ? 0 : 1;
- $this->options['loop'] = !isset($_POST['loop']) ? 0 : 1;
- $this->options['privacy'] = !isset($_POST['disp_privacy']) ? 0 : 1;
-
- $this->options['posts'] = !isset($_POST['disp_posts']) ? 'off' : 'on';
- $this->options['comments'] = !isset($_POST['disp_comments']) ? 'off' : 'on';
- $this->options['iframe'] = !isset($_POST['iframe']) ? 'off' : 'on';
-
- $this->options['template'] = !isset($_POST['disp_template']) ?
- '{video}' :
- stripslashes(htmlspecialchars($_POST['disp_template']));;
- $this->options['tag'] = !isset($_POST['tag']) ? '' : $_POST['tag'];
- $this->options['dark_player'] = ! isset( $_POST['dark_player'] ) ? 'off' : 'on';
-
- update_option($this->key, $this->options);
-
- $msg_status = 'Smart Youtube options saved.';
-
- // Show message
- _e('');
-
- }
-
- $disp_img = $this->options['img'] == 'on' ? 'checked="checked"' : '';
- $disp_link = $this->options['link'] == 'on' ? 'checked="checked"' : '';
- $disp_search = $this->options['search'] == 'on' ? 'checked="checked"' : '';
- $disp_ann = $this->options['ann'] == 'on' ? 'checked="checked"' : '';
- $disp_info = $this->options['info'] == 'on' ? 'checked="checked"' : '';
-
- $valid = $this->options['valid'] == 'on' ? 'checked="checked"' : '';
-
- $disp_width = $this->options['width'];
- $disp_height = $this->options['height'];
-
- $disp_widthhq = $this->options['widthhq'];
- $disp_heighthq = $this->options['heighthq'];
-
- $disp_widthside = $this->options['widthside'];
- $disp_heightside = $this->options['heightside'];
-
- $disp_autoplay = $this->options['autoplay'] ? 'checked="checked"' : '';
- $disp_loop = $this->options['loop'] ? 'checked="checked"' : '';
- $disp_rel = $this->options['rel'] ? 'checked="checked"' : '';
- $disp_rel2 = $this->options['rel'] ? '' : 'checked="checked"';
- $disp_border = $this->options['border'] ? 'checked="checked"' : '';
- $disp_color = $this->options['color'];
- $disp_posts = $this->options['posts'] == 'on' ? 'checked="checked"' : '' ;
- $disp_comments = $this->options['comments'] == 'on' ? 'checked="checked"' : '';
-
- $disp_privacy = $this->options['privacy'] ? 'checked="checked"' : '';
- $iframe = $this->options['iframe'] =='on' ? 'checked="checked"' : '';
-
- $disp_template = wp_specialchars($this->options['template']);
- $tag = $this->options['tag'];
- $dark_player = $this->options['dark_player'] == 'on' ? 'checked="checked"' : '';
-
- if (!$disp_width)
- {
- $disp_width = 425;
- }
-
- if (!$disp_height)
- {
- $disp_height = 344;
- }
-
- global $wp_version;
-
- $embed_img = $this->plugin_url . '/img/embed_selection-vfl29294.png';
-
- echo '
-';
-
- $imgpath = $this->plugin_url.'/i';
- $actionurl = $_SERVER['REQUEST_URI'];
- $nonce = wp_create_nonce( 'smart-youtube');
- $example = htmlentities('{video}
');
-
- // Configuration Page
-
- echo <<
-
- Smart YouTube
-
-
-
-
-
-
-
-
-
-
-
-
-
To use the video in your posts, paste YouTube video URL with httpv:// (notice the 'v').
-
Important: The URL should just be copied into your post normally and the letter 'v' added, do not create a clickable link!
-
Example: httpv://www.youtube.com/watch?v=OWfksMD4PAg
-
If you want to embed High/HD Quality video use httpvh:// instead (Video High Defintion).
-
To embed playlists use httpvp:// (eg. httpvp://www.youtube.com/view_play_list?p=528026B4F7B34094)
-
Smart Youtube also supports migrated blogs from Wordpress.com using [youtube=youtubeadresss]
-
-
- - httpv:// - regular video
- - httpvh:// - high/HD quality
- - httpvp:// - playlist
- - httpvhp:// - HD playlist
- - [youtube=youtubeadresss] - supported for blogs migrated from wordpress.com
-
-
-
-
-
-
-
-
-
-END;
- }
-
-
- /**
- * Looks for Smart Youtube URL(s) in the post content
- * and replace them with proper HTML tags
- *
- * @param mixed $the_content
- * @param mixed $side
- * @return mixed
- */
- function check($the_content, $side = 0)
- {
- if (strpos($the_content, "httpv") !== false )
- {
- $char_codes = array('×', '–');
- $replacements = array("x", "-");
- $the_content = str_replace($char_codes, $replacements, $the_content);
-
-
- preg_match_all("/http(v|vh|vhd):\/\/([a-zA-Z0-9\-\_]+\.|)youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^<\s]*)/", $the_content, $matches['youtube.com'], PREG_SET_ORDER);
- preg_match_all("/http(v|vh|vhd):\/\/([a-zA-Z0-9\-\_]+\.|)youtu\.be\/([a-zA-Z0-9\-\_]{11})([^<\s]*)/", $the_content, $matches['youtu.be'], PREG_SET_ORDER);
-
- if (isset($matches['youtube.com']))
- foreach ($matches['youtube.com'] as $match)
- {
- $the_content = preg_replace("/http".$match[1].":\/\/([a-zA-Z0-9\-\_]+\.|)youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^\s<]*)/", $this->tag($match[4], $match[1], $match[5], $side), $the_content, 1);
- }
-
- if (isset($matches['youtu.be']))
- {
-
- foreach ($matches['youtu.be'] as $match)
- {
-
- $the_content = preg_replace("/http".$match[1].":\/\/([a-zA-Z0-9\-\_]+\.|)youtu\.be\/([a-zA-Z0-9\-\_]{11})([^<\s]*)/", $this->tag($match[3], $match[1], $match[4], $side), $the_content, 1);
- }
- }
-
-
-
- preg_match_all("/http(vp|vhp):\/\/([a-zA-Z0-9\-\_]+\.|)youtube\.com\/view_play_list(\?p\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{16})([^<\s]*)/", $the_content, $matches, PREG_SET_ORDER);
- foreach ($matches as $match)
- {
- $the_content = preg_replace("/http".$match[1].":\/\/([a-zA-Z0-9\-\_]+\.|)youtube\.com\/view_play_list(\?p\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{16})([^\s<]*)/", $this->tag($match[4], $match[1], $match[5], $side), $the_content, 1);
- }
-
-
- }
-
- // to work with migrated blogs from Wordpress.com replacing [youtube=youtubeadresss]
- if (strpos($the_content, "[youtube") !== false )
- {
- preg_match_all("/\[youtube\=http:\/\/([a-zA-Z0-9\-\_]+\.|)youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^<\s]*)\]/", $the_content, $matches, PREG_SET_ORDER);
- foreach ($matches as $match)
- {
- $the_content = preg_replace("/\[youtube\=http:\/\/([a-zA-Z0-9\-\_]+\.|)youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^\s<]*)\]/", $this->tag($match[3], '', $match[4], $side), $the_content, 1);
- }
- }
- $tag=$this->options['tag'];
-
- if ($tag!='' && strpos($the_content, "[".$tag."]") !== false )
- {
- preg_match_all("/\[$tag\]([a-zA-Z0-9\-\_]{11})([^<\s]*)\[\/$tag\]/", $the_content, $matches, PREG_SET_ORDER);
- foreach ($matches as $match)
- {
- //print_r($matches);
- $the_content = preg_replace("/\[$tag\]([a-zA-Z0-9\-\_]{11})([^<\s]*)\[\/$tag\]/", $this->tag($match[1], '', '', $side), $the_content, 1);
- }
- }
-
- return $the_content;
- }
-
- function tag($file, $high = 'v', $time = '', $side = 0)
- {
- $playlist = 0;
- $disp_rel = $this->options['rel'];
- $disp_border = $this->options['border'];
- $disp_color = $this->options['color'];
- $autoplay = $this->options['autoplay'];
- $loop = $this->options['loop'];
- $disp_search = $this->options['search'] == 'on' ? 1 : 0;
- $disp_info = $this->options['info'] == 'on' ? '&showinfo=0' : '';
- $disp_ann = $this->options['ann'] == 'on' ? '&iv_load_policy=3' : '';
- $template = trim($this->options['template']) == '' ? '{video}' : $this->options['template'];
- $valid = $this->options['valid'];
- $dark_player = ( $this->options['dark_player'] == 'on' ) ? '&theme=dark' : '';
-
- switch ($high)
- {
- case 'v':
- $high = '';
- break;
- case 'vh':
- $high = '&hd=1';
- break;
- case 'vhd':
- $high = '&hd=1';
- break;
- case 'vp':
- $high = '';
- $playlist = 1;
- break;
- case 'vhp':
- $high = '&hd=1';
- $playlist = 1;
- break;
- default:
- $high = '';
- break;
- }
-
- $width = $side ?
- $this->options['widthside'] :
- ($high ? $this->options['widthhq'] : $this->options['width']);
-
- $height = $side ?
- $this->options['heightside'] :
- ($high ? $this->options['heighthq'] : $this->options['height']);
-
- if (!$width)
- {
- $width = !$high ? 480 : 425 ;
- }
-
- if (!$height)
- {
- $height = !$high ? 360 : 344;
- }
-
- if ($disp_border)
- {
- $height += 18;
- }
-
- if ($autoplay)
- $ap='&autoplay=1';
-
- $root_url = $this->options['privacy'] ? 'http://www.youtube-nocookie.com' : 'http://www.youtube.com';
-
- if ($this->options['iframe']=='on')
-$video_url = htmlspecialchars("$root_url/embed/$file?color1={$this->custom_colors[$disp_color][0]}&color2={$this->custom_colors[$disp_color][1]}&border=$disp_border&fs=1&hl=en$ap&loop=$loop{$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel$dark_player", ENT_QUOTES) . $high . $time;
-else
-$video_url = htmlspecialchars("$root_url/v/$file?color1={$this->custom_colors[$disp_color][0]}&color2={$this->custom_colors[$disp_color][1]}&border=$disp_border&fs=1&hl=en$ap&loop=$loop{$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel$dark_player", ENT_QUOTES) . $high . $time;
-
- if ($playlist)
- {
-
- $video_url = htmlspecialchars("$root_url/p/$file?color1={$this->custom_colors[$disp_color][0]}&color2={$this->custom_colors[$disp_color][1]}&border=$disp_border&fs=1&hl=en$ap&loop={$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel$dark_player", ENT_QUOTES) . $high . $time;
-
-if ($this->options['iframe']=='on')
-$yte_tag = <<
-
-
-EOT;
-else
-$yte_tag = <<
-
-
-EOT;
- }
- elseif ($valid == 'off' || strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone')===TRUE || strpos($_SERVER['HTTP_USER_AGENT'], 'iPod')===TRUE || strpos($_SERVER['HTTP_USER_AGENT'], 'iPad')===TRUE)
- {
-if ($this->options['iframe']=='on')
-$yte_tag = <<
-
-
-EOT;
-else
- $yte_tag = <<
-
-
-EOT;
- }
- else
- {
-
-if ($this->options['iframe']=='on')
-$yte_tag = <<
-
-
-EOT;
-else
- $yte_tag = <<
-
-
-EOT;
- }
-
- if (is_feed())
- {
-
- if ($high)
- {
- $high = '&fmt=18';
- }
- if ($playlist)
- $url='http://www.youtube.com/view_play_list?p=';
- else
- $url='http://www.youtube.com/watch?v=';
-
- if ($this->options['img'] == 'on')
- {
- $yte_tag .= '
';
- }
-
- if ($this->options['link'] == 'on')
- {
- $yte_tag.='www.youtube.com/watch?v=' . $file . '
';
- }
- // if ($this->options['link'] == 'off' && $this->options['img'] == 'off')
- // $yte_tag='http://www.youtube.com/watch?v='.$file;
- }
-
- return str_replace('{video}', $yte_tag, html_entity_decode($template));
- }
-
- function install()
- {
- // register widget
- if (function_exists('register_sidebar_widget'))
- {
- register_sidebar_widget('Smart YouTube', array($this, 'widget'));
- }
-
- if (function_exists('register_widget_control'))
- {
- register_widget_control('Smart YouTube', array($this, 'widget_control'));
- }
-
- if (get_option($this->key)) {
- $this->options=$this->get_options();
- }
- /*
- // upgrade the options format (as all-in-one, not single entries)
- $this->options = array(
- 'posts' => 'on',
- 'comments' => 'off',
- 'img' => 'off',
- 'width' => 425,
- 'height' => 344,
- 'widthhq' => 480,
- 'heighthq' => 295,
- 'widthside' => 150,
- 'heightside' => 125,
- 'rel' => 1,
- 'color' => 'blank',
- 'border' => 0,
- 'link' => 'on',
- 'valid' => 'off',
- 'search' => 'off',
- 'info' => 'on',
- 'ann' => 'on',
- 'template' => '{video}',
- 'autoplay' => 0,
- 'privacy' => 0,
- 'wtext' => '',
- 'wtitle' => '',
- 'tag' => '',
- 'iframe' => 'on'
- );
-
- // migrate the old-fashion options
- foreach ($this->options as $key => $value)
- {
- if (false !== $old_option = get_option("smart_yt_$key"))
- {
- $this->options[$key] = $old_option;
- }
-
- delete_option("smart_yt_$key");
- }
-
- add_option($this->key, $this->options);*/
- }
-
- // Handle our options
- function get_options()
- {
-
- $options = array(
- 'posts' => 'on',
- 'comments' => 'off',
- 'img' => 'off',
- 'width' => 425,
- 'height' => 344,
- 'widthhq' => 480,
- 'heighthq' => 295,
- 'widthside' => 150,
- 'heightside' => 125,
- 'rel' => 1,
- 'color' => 'blank',
- 'border' => 0,
- 'link' => 'on',
- 'valid' => 'off',
- 'search' => 'off',
- 'info' => 'on',
- 'ann' => 'on',
- 'template' => '{video}',
- 'autoplay' => 0,
- 'privacy' => 0,
- 'wtext' => '',
- 'wtitle' => '',
- 'tag' => '',
- 'iframe' => 'on',
- 'dark_player' => ''
- );
-
- $saved = get_option($this->key);
-
- if (!empty($saved)) {
- foreach ($saved as $key => $option)
- $options[$key] = $option;
- }
-
- if ($saved != $options)
- update_option($this->key, $options);
-
-
-
-
-
- return $options;
- }
-
-
- function widget($args = array())
- {
- extract ($args);
- $text = apply_filters( 'widget_text', $this->check($this->options['wtext'], 1));
- $title = apply_filters( 'widget_title', $this->options['wtitle']);
- echo
- $before_widget,
- $before_title, $title, $after_title,
- $text,
- $after_widget;
- }
-
- function widget_control()
- {
- if ($_REQUEST['submit'])
- {
- $this->options['wtext'] = stripslashes($_REQUEST['yte_text']);
- $this->options['wtitle'] = stripslashes($_REQUEST['yte_title']);
- }
-
- update_option($this->key, $this->options);
-
- $text = wp_specialchars($this->options['wtext']);
- $title = wp_specialchars($this->options['wtitle']);
-
- echo <<
- Insert HTML code below. In addition to normal text you may use httpv, httpvh and httpvhd links just like in your posts.
-
-
-EOT;
- }
-
- /**
- * Checks the plugin version
- * @param $plugin
- * @return unknown_type
- */
- function check_plugin_version($plugin)
- {
- global $plugindir;
-
- if (strpos($plugin, 'smartyoutube.php') === false) return;
-
- $status = $this->get_info();
-
- $the_version = $status[1];
- $the_message = $status[3];
-
- if ((version_compare(strval($the_version), strval($this->local_version), '>') != 1)) return;
-
- $msg = "Latest version available: $the_version
.$the_message";
-
- echo <<
- Latest version available: $the_version
$the_message
-
-EOT;
-
- }
-
- /**
- * Gets plugin info from WordPress Codex repo
- * @return mixed
- */
- function get_info()
- {
- $checkfile = 'http://svn.wp-plugins.org/smart-youtube/trunk/smartyoutube.chk';
-
- $status = array();
-
- return $status; //???
-
- $vcheck = wp_remote_fopen($checkfile);
-
- if ($vcheck)
- {
- $version = $$this->local_version;
-
- $status = explode('@', $vcheck);
- return $status;
- }
- }
-}
diff --git a/plugins/smart-youtube/smartyoutube.php b/plugins/smart-youtube/smartyoutube.php
deleted file mode 100644
index e1e9ae0..0000000
--- a/plugins/smart-youtube/smartyoutube.php
+++ /dev/null
@@ -1,1566 +0,0 @@
-__construct();
- }
-
- function __construct() {
- $this->local_version = '1.0'; // TODO: Change this number???
-
- $this->plugin_url = trailingslashit(plugins_url(null,__FILE__));
-
-
- $this->key = 'smart_youtube_pro';
- $this->first_post_on_archive = false;
-
- $script_path = $this->plugin_url . '/javascripts/jquery.colorbox-min.js';
- wp_register_script( 'colorbox', $script_path );
-
- $this->options = $this->get_options();
-
- $this->add_filters_and_hooks();
- }
-
- function add_filters_and_hooks() {
- if ( $this->options['posts'] == 'on' ) {
- add_filter( 'the_content', array( $this, 'check' ), 5 );
- add_filter( 'the_excerpt', array( $this, 'check_excerpt' ), 5 );
- }
-
- if ( $this->options['comments'] == 'on' ) {
- add_filter( 'comment_text', array( $this, 'check' ), 100 );
- }
-
- add_action( 'plugins_loaded', array( $this, 'install' ) );
- add_action( 'admin_menu', array( $this, 'add_menu_items' ) );
- add_action( 'admin_head', array( $this, 'plugin_header' ) );
- add_action( 'wp_head', array( $this, 'post_header' ) );
- add_action( 'wp_print_scripts', array( $this, 'load_scripts' ) );
- add_action( 'wp_print_styles', array( $this, 'load_styles' ) );
- add_action( 'template_redirect', array( $this, 'mark_first_post_on_archive' ) );
-
- register_activation_hook(__FILE__, array($this, 'install' ) );
- }
-
- function post_header() {
- if ( is_singular() ) {
- global $wp_query;
- $the_content = $wp_query->post->post_content;
- $char_codes = array( '×', '–' );
- $replacements = array( "x", "--" );
- $the_content = str_replace( $char_codes, $replacements, $the_content );
-
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^<\s]*)/", $the_content, $matches, PREG_SET_ORDER );
-
- if ( isset( $matches[0][5] ) )
- if ( $matches[0][5] != '' )
- echo '';
-
- if ( $this->options['colorbox'] == 'on' ) {
- ?>
-
- options["colorbox"] == 'on' && is_singular() ) {
- wp_enqueue_script( 'jquery' );
- wp_enqueue_script( 'colorbox' );
- }
- }
-
- function load_styles() {
- $style_path = $this->plugin_url . '/themes/theme' . $this->options['colorbox_theme'] . '/colorbox.css';
- wp_register_style( 'colorbox', $style_path );
-
- if ( $this->options["colorbox"] == 'on' && is_singular() ) {
- wp_enqueue_style( 'colorbox' );
- }
- }
-
- function plugin_header() {
- if ( ! empty( $_REQUEST['page'] ) )
- $page = $_REQUEST['page'];
- else
- $page = '';
- ?>
-
-
- plugin_url . '/i/icon.png';
- add_menu_page( __( 'Smart Youtube', 'smart-youtube' ), __( 'Smart Youtube', 'smart-youtube' ), 'manage_options', 'syt_settings', array(
- &$this,
- 'options_page'
- ), $image);
- $page_settings = add_submenu_page( 'syt_settings', __( 'Smart Youtube', 'smart-youtube' ) . __( ' Settings', 'smart-youtube' ), __( 'Settings', 'smart-youtube' ), 'manage_options', 'syt_settings', array(
- &$this,
- 'options_page'
- ) );
- $page_colorbox = add_submenu_page( 'syt_settings', __( 'Smart Youtube', 'smart-youtube' ) . __( ' Colorbox Options', 'smart-youtube' ), __( 'Colorbox Options', 'smart-youtube' ), 'manage_options', 'syt_colorbox_options', array(
- &$this,
- 'handle_colorbox_options'
- ) );
- $page_about = add_submenu_page( 'syt_settings', __( 'Smart Youtube', 'smart-youtube' ) . __( ' About', 'smart-youtube' ), __( 'About', 'smart-youtube' ), 'manage_options', 'syt_about', array(
- &$this,
- 'handle_about'
- ) );
- }
-
- function options_page() {
- // If form was submitted
- if ( isset( $_POST['submitted'] ) ) {
- check_admin_referer( 'smart-youtube' );
-
- $this->options['img'] = ! isset( $_POST['disp_img'] ) ? 'off' : 'on';
- $this->options['link'] = ! isset( $_POST['disp_link'] ) ? 'off' : 'on';
- $this->options['valid'] = ! isset( $_POST['valid'] ) ? 'off' : 'on';
- $this->options['search'] = ! isset( $_POST['disp_search'] ) ? 'off' : 'on';
- $this->options['ann'] = ! isset( $_POST['disp_ann'] ) ? 'off' : 'on';
-
- $this->options['info'] = ! isset( $_POST['disp_info'] ) ? 'off' : 'on';
-
- $this->options['width'] = ! isset( $_POST['disp_width'] ) ? 425 : intval( $_POST['disp_width'] );
- $this->options['height'] = ! isset( $_POST['disp_height'] ) ? 344 : intval( $_POST['disp_height'] );
-
- $this->options['widthhq'] = ! isset( $_POST['disp_widthhq'] ) ? 480 : intval( $_POST['disp_widthhq'] );
- $this->options['heighthq'] = ! isset( $_POST['disp_heighthq'] ) ? 295 : intval( $_POST['disp_heighthq'] );
-
- $this->options['widthside'] = ! isset( $_POST['disp_widthside'] ) ? 150 : intval( $_POST['disp_widthside'] );
- $this->options['heightside'] = ! isset( $_POST['disp_heightside'] ) ? 125 : intval( $_POST['disp_heightside'] );
-
- $this->options['rel'] = ! isset( $_POST['embedRel'] ) ? 1 : $_POST['embedRel'];
- $this->options['autoplay'] = ! isset( $_POST['autoplay'] ) ? 0 : 1;
- $this->options['autoplay_first'] = ! isset( $_POST['autoplay_first'] ) ? 0 : 1;
- $this->options['privacy'] = ! isset( $_POST['disp_privacy'] ) ? 0 : 1;
-
- $this->options['posts'] = ! isset( $_POST['disp_posts'] ) ? 'off' : 'on';
- $this->options['comments'] = ! isset( $_POST['disp_comments'] ) ? 'off' : 'on';
- $this->options['iframe'] = ! isset( $_POST['iframe'] ) ? 'off' : 'on';
- $this->options['www'] = ! isset( $_POST['www'] ) ? 'off' : 'on';
- $this->options['http'] = ! isset( $_POST['http'] ) ? 'off' : 'on';
-
- $this->options['template'] = ! isset( $_POST['disp_template'] ) ? '{video}' : stripslashes( htmlspecialchars( $_POST['disp_template'] ) );
- $this->options['tag'] = ! isset( $_POST['tag'] ) ? '' : $_POST['tag'];
- $this->options['wiziapp'] = ! isset( $_POST['wiziapp'] ) ? 'off' : 'on';
- $this->options['loop'] = ! isset( $_POST['loop'] ) ? 0 : 1;
- $this->options['thumb'] = ! isset( $_POST['thumb'] ) ? 'off' : 'on';
- $this->options['colorbox'] = ! isset( $_POST['colorbox'] ) ? 'off' : 'on';
- $this->options['excerpt'] = ! isset( $_POST['excerpt'] ) ? '' : $_POST['excerpt'];
- $this->options['excerpt_align'] = ! isset( $_POST['excerpt_align'] ) ? '' : $_POST['excerpt_align'];
- $this->options['logoless'] = ! isset( $_POST['logoless'] ) ? 'off' : 'on';
- $this->options['theme'] = ! isset( $_POST['theme'] ) ? '' : $_POST['theme'];
-
- update_option( $this->key, $this->options );
-
- // Show message
- echo '' . __( 'Smart Youtube options saved.', 'smart-youtube' ) . '
';
- }
-
- $disp_img = $this->options['img'] == 'on' ? 'checked="checked"' : '';
- $disp_link = $this->options['link'] == 'on' ? 'checked="checked"' : '';
- $disp_search = $this->options['search'] == 'on' ? 'checked="checked"' : '';
- $disp_ann = $this->options['ann'] == 'on' ? 'checked="checked"' : '';
- $disp_info = $this->options['info'] == 'on' ? 'checked="checked"' : '';
-
- $valid = $this->options['valid'] == 'on' ? 'checked="checked"' : '';
-
- $disp_width = $this->options['width'];
- $disp_height = $this->options['height'];
-
- $disp_widthhq = $this->options['widthhq'];
- $disp_heighthq = $this->options['heighthq'];
-
- $disp_widthside = $this->options['widthside'];
- $disp_heightside = $this->options['heightside'];
-
- $disp_autoplay = $this->options['autoplay'] ? 'checked="checked"' : '';
- $disp_autoplay_first = $this->options['autoplay_first'] ? 'checked="checked"' : '';
- $disp_rel = $this->options['rel'] ? 'checked="checked"' : '';
- $disp_rel2 = $this->options['rel'] ? '' : 'checked="checked"';
- $disp_posts = $this->options['posts'] == 'on' ? 'checked="checked"' : '' ;
- $disp_comments = $this->options['comments'] == 'on' ? 'checked="checked"' : '';
-
- $disp_privacy = $this->options['privacy'] ? 'checked="checked"' : '';
- $iframe = $this->options['iframe'] =='on' ? 'checked="checked"' : '';
- $www = $this->options['www'] =='on' ? 'checked="checked"' : '';
- $http = $this->options['http'] =='on' ? 'checked="checked"' : '';
- $disp_loop = $this->options['loop'] ? 'checked="checked"' : '';
- $thumb = $this->options['thumb'] == 'on' ? 'checked="checked"' : '';
- $colorbox = $this->options['colorbox'] == 'on' ? 'checked="checked"' : '';
- $excerpt = isset( $this->options['excerpt'] ) ? $this->options['excerpt'] : 'not';
- $excerpt_align = isset( $this->options['excerpt_align'] ) ? $this->options['excerpt_align'] : 'left';
-
- $disp_template = esc_html( $this->options['template'] );
- $tag = $this->options['tag'];
- $wiziapp = $this->options['wiziapp'] == 'on' ? 'checked="checked"' : '';
- $logoless = $this->options['logoless'] == 'on' ? 'checked="checked"' : '';
- $theme = isset( $this->options['theme'] ) ? $this->options['theme'] : '';
-
- if ( ! $disp_width ) {
- $disp_width = 425;
- }
-
- if ( ! $disp_height ) {
- $disp_height = 344;
- }
-
- global $wp_version;
-
- $embed_img = $this->plugin_url . '/img/embed_selection-vfl29294.png';
-
- echo '
-';
-
- $imgpath = $this->plugin_url.'/i';
- $actionurl = $_SERVER['REQUEST_URI'];
- $nonce = wp_create_nonce( 'smart-youtube' );
- $example = htmlentities( '{video}
' );
-
- // Configuration Page
-
-?>
-
-Vladimir Prelovac', 'smart-youtube' ); ?>
-options['colorbox_theme'] = ( ! isset( $_POST['colorbox_theme'] ) ? '1' : $_POST['colorbox_theme'] );
-
- update_option( $this->key, $this->options );
-
- $msg_status = __( 'SEO Friendly Images PRO colorbox options saved.', 'smart-youtube' );
-
- // Show message
- echo '';
- }
-
- $imgpath = $this->plugin_url . '/i';
- $actionurl = $_SERVER['REQUEST_URI'];
-
- $this->options = $this->get_options();
- ?>
-
-
-
local_version; ?>
-
|
|
-
-
-
-
-
-
-
-
-
-
- Welcome to ' . __( 'Smart YouTube PRO', 'smart-youtube' ) . '.
';
- ?>
-
-
-
local_version; ?>
-
|
|
-
-
-
-
-
-
-
-
-
-
- first_post_on_archive = true;
- }
- }
-
- /**
- * Looks for Smart Youtube URL(s) in the post content
- * and replace them with proper HTML tags
- *
- * @param mixed $the_content
- * @param mixed $side
- * @return mixed
- */
- function check( $the_content, $side = 0 ) {
- $char_codes = array( '×', '–' );
- $replacements = array( "x", "--" );
- $the_content = str_replace( $char_codes, $replacements, $the_content );
- $this->first = false;
-
- $context = $side ? 'side' : 'post';
-
- preg_match_all( "/((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^<\s]*))|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtu\.be\/([a-zA-Z0-9\-\_]{11}))|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?metacafe\.com\/watch\/([a-zA-Z0-9\-\_]{7})\/([^<^\/\s]*)([\/])?)|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?vimeo\.com\/([a-zA-Z0-9\-\_]{8})([\/])?)|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?liveleak\.com\/view(\?i\=)([a-zA-Z0-9\-\_]*))|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?facebook\.com\/video\/video.php\?v\=([a-zA-Z0-9\-\_]*))|((http(vp|vhp)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/(view_play_list\?p\=|playlist\?list\=)([a-zA-Z0-9\-\_]{18})([^<\s]*))/", $the_content, $matches, PREG_SET_ORDER );
-
- foreach ( $matches as $match ) {
- if ( $match[1] != '' ) {
- if ( 'on' == $this->options['wiziapp'] ) {
- $videos = array();
- $video_info['src'] = "http://www.youtube.com/watch?v={$match[6]}";
- array_push( $videos, $video_info );
- $replace_text = '';
- $replace_text = apply_filters( 'wiziapp_3rd_party_plugin', $replace_text, 'video', $videos );
- $the_content = str_replace( $match[1], $replace_text, $the_content );
- } else if ( ( $match[2] == 'http://' && $this->options['http'] == 'on' ) || ( $match[2] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[1], $this->tag_youtube( $context, $match[6], 'v', $match[7] ), $the_content );
- } else if ( $match[3] == 'v' || $match[3] == 'vh' || $match[3] == 'vhd' ) {
- $the_content = str_replace( $match[1], $this->tag_youtube( $context, $match[6], $match[3], $match[7] ), $the_content );
- }
- } elseif ( $match[8] != '' ) {
- if ( 'on' == $this->options['wiziapp'] ) {
- $videos = array();
- $video_info['src'] = "http://www.youtube.com/watch?v={$match[12]}";
- array_push( $videos, $video_info );
- $replace_text = '';
- $replace_text = apply_filters( 'wiziapp_3rd_party_plugin', $replace_text, 'video', $videos );
- $the_content = str_replace( $match[1], $replace_text, $the_content );
- } else if ( ( $match[9] == 'http://' && $this->options['http'] == 'on' ) || ( $match[9] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[8], $this->tag_youtube( $context, $match[12], 'v' ), $the_content );
- } else if ( $match[10] == 'v' || $match[10] == 'vh' || $match[10] == 'vhd' ) {
- $the_content = str_replace( $match[8], $this->tag_youtube( $context, $match[12], $match[10] ), $the_content );
- }
- } elseif ( $match[13] != '' ) {
- if ( 'on' == $this->options['wiziapp'] ) {
- $videos = array();
- $video_info['src'] = "http://www.metacafe.com/watch/{$match[17]}/{$match[18]}/";
- array_push( $videos, $video_info );
- $replace_text = '';
- $replace_text = apply_filters( 'wiziapp_3rd_party_plugin', $replace_text, 'video', $videos );
- $the_content = str_replace( $match[1], $replace_text, $the_content );
- } else if ( ( $match[14] == 'http://' && $this->options['http'] == 'on' ) || ( $match[14] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[13], $this->tag_metacafe( $context, $match[17], 'v', $match[18] ), $the_content );
- } else if ( $match[15] == 'v' || $match[15] == 'vh' || $match[15] == 'vhd' ) {
- $the_content = str_replace( $match[13], $this->tag_metacafe( $context, $match[17], $match[15], $match[18] ), $the_content );
- }
- } elseif ( $match[20] != '' ) {
- if ( 'on' == $this->options['wiziapp'] ) {
- $videos = array();
- $video_info['src'] = "http://www.vimeo.com/{$match[24]}";
- array_push( $videos, $video_info );
- $replace_text = '';
- $replace_text = apply_filters( 'wiziapp_3rd_party_plugin', $replace_text, 'video', $videos );
- $the_content = str_replace( $match[1], $replace_text, $the_content );
- } else if ( ( $match[21] == 'http://' && $this->options['http'] == 'on' ) || ( $match[21] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[20], $this->tag_vimeo( $context, $match[24], 'v' ), $the_content );
- } else if ( $match[22] == 'v' || $match[22] == 'vh' || $match[22] == 'vhd' ) {
- $the_content = str_replace( $match[20], $this->tag_vimeo( $context, $match[24], $match[22] ), $the_content );
- }
- } elseif ( $match[26] != '' ) {
- if ( 'on' == $this->options['wiziapp'] ) {
- $videos = array();
- $video_info['src'] = "http://www.liveleak.com/view?i={$match[31]}";
- array_push( $videos, $video_info );
- $replace_text = '';
- $replace_text = apply_filters( 'wiziapp_3rd_party_plugin', $replace_text, 'video', $videos );
- $the_content = str_replace( $match[1], $replace_text, $the_content );
- } else if ( ( $match[27] == 'http://' && $this->options['http'] == 'on' ) || ( $match[27] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[26], $this->tag_liveleak( $context, $match[31], 'v' ), $the_content );
- } else if ( $match[28] == 'v' || $match[28] == 'vh' || $match[28] == 'vhd' ) {
- $the_content = str_replace( $match[26], $this->tag_liveleak( $context, $match[31], $match[28] ), $the_content );
- }
- } elseif ( $match[32] != '' ) {
- if ( 'on' == $this->options['wiziapp'] ) {
- $videos = array();
- $video_info['src'] = "http://www.facebook.com/video/video.php?v={$match[36]}";
- array_push( $videos, $video_info );
- $replace_text = '';
- $replace_text = apply_filters( 'wiziapp_3rd_party_plugin', $replace_text, 'video', $videos );
- $the_content = str_replace( $match[1], $replace_text, $the_content );
- } else if ( ( $match[33] == 'http://' && $this->options['http'] == 'on' ) || ( $match[33] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[32], $this->tag_facebook( $context, $match[36], 'v' ), $the_content );
- } else if ( $match[34] == 'v' || $match[34] == 'vh' || $match[34] == 'vhd' ) {
- $the_content = str_replace( $match[32], $this->tag_facebook( $context, $match[36], $match[34] ), $the_content );
- }
- } elseif ( $match[37] != '' ) {
-
- if ( 'on' == $this->options['wiziapp'] ) {
- $videos = array();
- $video_info['src'] = "http://www.youtube.com/playlist?list={$match[42]}";
- array_push( $videos, $video_info );
- $replace_text = '';
- $replace_text = apply_filters( 'wiziapp_3rd_party_plugin', $replace_text, 'video', $videos );
- $the_content = str_replace( $match[1], $replace_text, $the_content );
- } else if ( ( $match[38] == 'http://' && $this->options['http'] == 'on' ) || ( $match[38] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[37], $this->tag_youtube( $context, $match[42], 'vp', $match[43] ), $the_content );
- } else if ( $match[39] == 'vp' || $match[39] == 'vhp' ) {
- $the_content = str_replace( $match[37], $this->tag_youtube( $context, $match[42], $match[39], $match[43] ), $the_content );
- }
- }
- }
-
- /*preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtu\.be\/([a-zA-Z0-9\-\_]{11})/", $the_content, $matches, PREG_SET_ORDER );
- foreach ( $matches as $match ) {
- if (( $match[1] == 'http://' && $this->options['http'] == 'on' ) || ( $match[1] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[0], $this->tag_youtube( $context, $match[4], 'v' ), $the_content );
- } else if ( $match[2] == 'v' || $match[2] == 'vh' || $match[2] == 'vhd' ) {
- $the_content = str_replace( $match[0], $this->tag_youtube( $context, $match[4], $match[2] ), $the_content );
- }
- }
-
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?metacafe\.com\/watch\/([a-zA-Z0-9\-\_]{7})\/([^<^\/\s]*)([\/])?/", $the_content, $matches, PREG_SET_ORDER );
- foreach ( $matches as $match ) {
- if ( ( $match[1] == 'http://' && $this->options['http'] == 'on' ) || ( $match[1] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[0], $this->tag_metacafe( $context, $match[4], 'v', $match[5] ), $the_content );
- } else if ( $match[2] == 'v' || $match[2] == 'vh' || $match[2] == 'vhd' ) {
- $the_content = str_replace( $match[0], $this->tag_metacafe( $context, $match[4], $match[2], $match[5] ), $the_content );
- }
- }
-
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?vimeo\.com\/([a-zA-Z0-9\-\_]{8})([\/])?/", $the_content, $matches, PREG_SET_ORDER );
- foreach ( $matches as $match ) {
- if ( ( $match[1] == 'http://' && $this->options['http'] == 'on' ) || ( $match[1] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[0], $this->tag_vimeo( $context, $match[4], 'v' ), $the_content );
- } else if ( $match[2] == 'v' || $match[2] == 'vh' || $match[2] == 'vhd' ) {
- $the_content = str_replace( $match[0], $this->tag_vimeo( $context, $match[4], $match[2] ), $the_content );
- }
- }
-
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?liveleak\.com\/view(\?i\=)([a-zA-Z0-9\-\_]*)/", $the_content, $matches, PREG_SET_ORDER );
- foreach ( $matches as $match ) {
- if ( ( $match[1] == 'http://' && $this->options['http'] == 'on' ) || ( $match[1] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[0], $this->tag_liveleak( $context, $match[5], 'v' ), $the_content );
- } else if ( $match[2] == 'v' || $match[2] == 'vh' || $match[2] == 'vhd' ) {
- $the_content = str_replace( $match[0], $this->tag_liveleak( $context, $match[5], $match[2] ), $the_content );
- }
- }
-
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?facebook\.com\/video\/video.php\?v\=([a-zA-Z0-9\-\_]*)/", $the_content, $matches, PREG_SET_ORDER );
- foreach ( $matches as $match ) {
- if ( ( $match[1] == 'http://' && $this->options['http'] == 'on' ) || ( $match[1] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[0], $this->tag_facebook( $context, $match[4], 'v' ), $the_content );
- } else if ( $match[2] == 'v' || $match[2] == 'vh' || $match[2] == 'vhd' ) {
- $the_content = str_replace( $match[0], $this->tag_facebook( $context, $match[4], $match[2] ), $the_content );
- }
- }
-
- preg_match_all( "/(http(vp|vhp)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/view_play_list(\?p\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{16})([^<\s]*)/", $the_content, $matches, PREG_SET_ORDER );
- foreach ( $matches as $match ) {
- if ( ( $match[1] == 'http://' && $this->options['http'] == 'on' ) || ( $match[1] == '' && $this->options['www'] == 'on' ) ) {
- $the_content = str_replace( $match[0], $this->tag_youtube( $context, $match[5], 'vp', $match[6] ), $the_content );
- } else if ( $match[2] == 'vp' || $match[2] == 'vhp' ) {
- $the_content = str_replace( $match[0], $this->tag_youtube( $context, $match[5], $match[2], $match[6] ), $the_content );
- }
- }*/
-
- // to work with migrated blogs from Wordpress.com replacing [youtube=youtubeadresss]
- if ( strpos($the_content, "[youtube") !== false ) {
- preg_match_all( "/\[youtube\=http:\/\/([a-zA-Z0-9\-\_]+\.|)youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^<\s]*)\]/", $the_content, $matches, PREG_SET_ORDER );
- foreach ( $matches as $match ) {
- $the_content = preg_replace( "/\[youtube\=http:\/\/([a-zA-Z0-9\-\_]+\.|)youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^\s<]*)\]/", $this->tag_youtube( $context, $match[3], '', $match[4] ), $the_content, 1 );
- }
- }
- $tag = $this->options['tag'];
-
- if ( $tag != '' && strpos( $the_content, "[".$tag."]" ) !== false ) {
- preg_match_all( "/\[$tag\]([a-zA-Z0-9\-\_]{11})([^<\s]*)\[\/$tag\]/", $the_content, $matches, PREG_SET_ORDER );
- foreach ( $matches as $match ) {
- $the_content = preg_replace( "/\[$tag\]([a-zA-Z0-9\-\_]{11})([^<\s]*)\[\/$tag\]/", $this->tag_youtube( $context, $match[1], '', '' ), $the_content, 1 );
- }
- }
-
- if ( $this->first_post_on_archive ) {
- $this->first_post_on_archive = false;
- }
-
- return $the_content;
- }
-
- function check_excerpt( $the_content ) {
- $excerpt = $this->options['excerpt'];
- $template = trim($this->options['template']) == '' ? '{video}' : $this->options['template'];
-
- if ( $excerpt != 'not' ) {
- global $post;
- $content = $post->post_content;
-
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^<\s]*)/", $content, $matches['youtube.com'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtu\.be\/([a-zA-Z0-9\-\_]{11})/", $content, $matches['youtu.be'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?metacafe\.com\/watch\/([a-zA-Z0-9\-\_]{7})\/([^<^\/\s]*)([\/])?/", $content, $matches['metacafe.com'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?vimeo\.com\/([a-zA-Z0-9\-\_]{8})([\/])?/", $content, $matches['vimeo.com'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?liveleak\.com\/view(\?i\=)([a-zA-Z0-9\-\_]*)/", $content, $matches['liveleak.com'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?facebook\.com\/video\/video.php\?v\=([a-zA-Z0-9\-\_]*)/", $content, $matches['facebook.com'], PREG_SET_ORDER );
-
- if ( isset( $matches['youtube.com'][0] ) ) {
- if ( ( $matches['youtube.com'][0][1] == 'http://' && $this->options['http'] == 'on' ) || ( $matches['youtube.com'][0][1] == '' && $this->options['www'] == 'on' ) ) {
- $matches['youtube.com'][0][0] = str_replace( $matches['youtube.com'][0][0], $this->tag_youtube( 'excerpt', $matches['youtube.com'][0][5], 'v', $matches['youtube.com'][0][6] ), $matches['youtube.com'][0][0] );
- } else if ( $matches['youtube.com'][0][2] == 'v' || $matches['youtube.com'][0][2] == 'vh' || $matches['youtube.com'][0][2] == 'vhd' ) {
- $matches['youtube.com'][0][0] = str_replace( $matches['youtube.com'][0][0], $this->tag_youtube( 'excerpt', $matches['youtube.com'][0][5], $matches['youtube.com'][0][2], $matches['youtube.com'][0][6] ), $matches['youtube.com'][0][0] );
- }
- $result = $matches['youtube.com'][0][0];
- } else if ( isset( $matches['youtu.be'][0] ) ) {
- if ( ( $matches['youtu.be'][0][1] == 'http://' && $this->options['http'] == 'on' ) || ( $matches['youtu.be'][0][1] == '' && $this->options['www'] == 'on' ) ) {
- $matches['youtu.be'][0][0] = str_replace( $matches['youtu.be'][0][0], $this->tag_youtube( 'excerpt', $matches['youtu.be'][0][4], 'v' ), $matches['youtu.be'][0][0] );
- } else if ( $matches['youtu.be'][0][2] == 'v' || $matches['youtu.be'][0][2] == 'vh' || $matches['youtu.be'][0][2] == 'vhd' ) {
- $matches['youtu.be'][0][0] = str_replace( $matches['youtu.be'][0][0], $this->tag_youtube( 'excerpt', $matches['youtu.be'][0][4], $matches['youtu.be'][0][2]), $matches['youtu.be'][0][0] );
- }
- $result = $matches['youtu.be'][0][0];
- } else if ( isset( $matches['metacafe.com'][0] ) ) {
- if ( ( $matches['metacafe.com'][0][1] == 'http://' && $this->options['http'] == 'on' ) || ( $matches['metacafe.com'][0][1] == '' && $this->options['www'] == 'on' ) ) {
- $matches['metacafe.com'][0][0] = str_replace( $matches['metacafe.com'][0][0], $this->tag_metacafe( 'excerpt', $matches['metacafe.com'][0][4], 'v', $matches['metacafe.com'][0][5] ), $matches['metacafe.com'][0][0] );
- } else if ( $matches['metacafe.com'][0][2] == 'v' || $matches['metacafe.com'][0][2] == 'vh' || $matches['metacafe.com'][0][2] == 'vhd' ) {
- $matches['metacafe.com'][0][0] = str_replace( $matches['metacafe.com'][0][0], $this->tag_metacafe( 'excerpt', $matches['metacafe.com'][0][4], $matches['metacafe.com'][0][2], $matches['metacafe.com'][0][5] ), $matches['metacafe.com'][0][0] );
- }
- $result = $matches['metacafe.com'][0][0];
- } else if ( isset($matches['vimeo.com'][0] ) ) {
- if ( ( $matches['vimeo.com'][0][1] == 'http://' && $this->options['http'] == 'on' ) || ( $matches['vimeo.com'][0][1] == '' && $this->options['www'] == 'on' ) ) {
- $matches['vimeo.com'][0][0] = str_replace( $matches['vimeo.com'][0][0], $this->tag_vimeo( 'excerpt', $matches['vimeo.com'][0][4], 'v' ), $matches['vimeo.com'][0][0] );
- }
- else if ( $matches['vimeo.com'][0][2] == 'v' || $matches['vimeo.com'][0][2] == 'vh' || $matches['vimeo.com'][0][2] == 'vhd' ) {
- $matches['vimeo.com'][0][0] = str_replace( $matches['vimeo.com'][0][0], $this->tag_vimeo( 'excerpt', $matches['vimeo.com'][0][4], $matches['vimeo.com'][0][2] ), $matches['vimeo.com'][0][0] );
- }
- $result = $matches['vimeo.com'][0][0];
- } else if ( isset( $matches['liveleak.com'][0] ) ) {
- if ( ( $matches['liveleak.com'][0][1] == 'http://' && $this->options['http'] == 'on' ) || ( $matches['liveleak.com'][0][1] == '' && $this->options['www'] == 'on' ) ) {
- $matches['liveleak.com'][0][0] = str_replace( $matches['liveleak.com'][0][0], $this->tag_liveleak( 'excerpt', $matches['liveleak.com'][0][4], 'v' ), $matches['liveleak.com'][0][0] );
- } else if ( $matches['liveleak.com'][0][2] == 'v' || $matches['liveleak.com'][0][2] == 'vh' || $matches['liveleak.com'][0][2] == 'vhd' ) {
- $matches['liveleak.com'][0][0] = str_replace( $matches['liveleak.com'][0][0], $this->tag__liveleak( 'excerpt', $matches['liveleak.com'][0][4], $matches['liveleak.com'][0][2] ), $matches['liveleak.com'][0][0] );
- }
- $result = $matches['liveleak.com'][0][0];
- } else if ( isset( $matches['facebook.com'][0] ) ) {
- if ( ( $matches['facebook.com'][0][1] == 'http://' && $this->options['http'] == 'on' ) || ( $matches['facebook.com'][0][1] == '' && $this->options['www'] == 'on' ) ) {
- $matches['facebook.com'][0][0] = str_replace( $matches['facebook.com'][0][0], $this->tag_facebook( 'excerpt', $matches['facebook.com'][0][4], 'v' ), $matches['facebook.com'][0][0] );
- } else if ( $matches['facebook.com'][0][2] == 'v' || $matches['facebook.com'][0][2] == 'vh' || $matches['facebook.com'][0][2] == 'vhd' ) {
- $matches['facebook.com'][0][0] = str_replace( $matches['facebook.com'][0][0], $this->tag_facebook( 'excerpt', $matches['facebook.com'][0][4], $matches['facebook.com'][0][2] ), $matches['facebook.com'][0][0] );
- }
- $result = $matches['facebook.com'][0][0];
- } else {
- /*$width = $this->options['widthside'];
- $height = $this->options['heightside'];
-
- $img_url = htmlspecialchars( $this->plugin_url . '/img/default.jpg' );
- $post_url = get_permalink( $post->ID );
- $yte_tag = <<
-
-
-EOT;
- $result = str_replace( '{video}', $yte_tag, html_entity_decode( $template ) );*/
-
- return $the_content;
- }
- if ( isset( $result ) ) {
- $the_content = 'options["excerpt_aign"] == 'left' ? 'right' : 'left' ) . ':10px;">' . $result . '
' . $the_content . '';
- }
- }
-
- if ( $this->first_post_on_archive ) {
- $this->first_post_on_archive = false;
- }
-
- return $the_content;
- }
-
- function tag_youtube( $context, $file, $high = 'v', $time = '' ) {
- $playlist = 0;
- $disp_rel = $this->options['rel'];
- $autoplay = $this->options['autoplay'];
- $autoplay_first = $this->options['autoplay_first'];
- $disp_search = $this->options['search'] == 'on' ? 1 : 0;
- $disp_info = $this->options['info'] == 'on' ? '&showinfo=0' : '';
- $disp_ann = $this->options['ann'] == 'on' ? '&iv_load_policy=3' : '';
- $template = trim( $this->options['template'] ) == '' ? '{video}' : $this->options['template'];
- $valid = $this->options['valid'];
- if ($this->options['loop'])
- $loop="&loop=1&playlist=$file";
- else $loop='';
- $thumb = $this->options['thumb'];
- $colorbox = $this->options['colorbox'];
- $logoless = $this->options['logoless'];
- $theme = $this->options['theme'];
- $excerpt = $this->options['excerpt'];
-
- switch ( $high ) {
- case 'v':
- $high = '';
- break;
- case 'vh':
- $high = '&hd=1';
- break;
- case 'vhd':
- $high = '&hd=1';
- break;
- case 'vp':
- $high = '';
- $playlist = 1;
- break;
- case 'vhp':
- $high = '&hd=1';
- $playlist = 1;
- break;
- default:
- $high = '';
- break;
- }
-
- $width = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['widthside'] :
- ( $high ? $this->options['widthhq'] : $this->options['width'] );
-
- $height = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['heightside'] :
- ( $high ? $this->options['heighthq'] : $this->options['height'] );
-
- if ( ! $width ) {
- $width = ! $high ? 480 : 425 ;
- }
-
- if ( ! $height ) {
- $height = ! $high ? 360 : 344;
- }
-
- $ap = '';
- if ( is_single() ) {
- if ( $context == 'post' && $autoplay_first && ! $this->first ) {
- $ap = '&autoplay=1';
- $this->first = true;
- } else if ( ( $context == 'post' && $autoplay && ! $autoplay_first ) || ( $context == 'excerpt' && $autoplay ) ) {
- $ap = '&autoplay=1';
- } else {
- $ap = '';
- }
- } elseif ( $this->first_post_on_archive ) {
- if ( $context == 'post' && $autoplay_first && ! $this->first ) {
- $ap = '&autoplay=1';
- $this->first = true;
- } else if ( ( $context == 'post' && $autoplay && ! $autoplay_first ) || ( $context == 'excerpt' && $autoplay ) ) {
- $ap = '&autoplay=1';
- } else {
- $ap = '';
- }
- }
-
- if ( $logoless == 'on' ) {
- $ll = '&modestbranding=1';
- $disp_info = '';
- } else {
- $ll = '';
- }
-
- $root_url = $this->options['privacy'] ? 'http://www.youtube-nocookie.com' : 'http://www.youtube.com';
-
- if ( $excerpt == 'thm' ) {
- $img_url = htmlspecialchars( "http://img.youtube.com/vi/$file/0.jpg" );
- global $post;
- $post_url = get_permalink( $post->ID );
- $yte_tag = <<
-EOT;
- }
-
- if ( ( ( is_home() || is_front_page() || is_archive() ) && $context == 'post' && $thumb == 'on' ) || ( $context == 'thumb' ) || ( $context == 'excerpt' && $excerpt == 'thm' ) ) {
- $img_url = htmlspecialchars( "http://img.youtube.com/vi/$file/0.jpg" );
- if ( $context == 'excerpt' && $excerpt == 'thm' ) {
- global $post;
- $post_url = get_permalink( $post->ID );
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-EOT;
- }
- } else {
- if ( $this->options['iframe'] == 'on' )
- $video_url = htmlspecialchars( "$root_url/embed/$file?wmode=transparent&fs=1&hl=en$ap$ll$loop{$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel&theme=$theme", ENT_QUOTES ) . $high . $time;
- else
- $video_url = htmlspecialchars( "$root_url/v/$file?wmode=transparent&fs=1&hl=en&$ap$ll$loop{$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel&theme=$theme", ENT_QUOTES ) . $high . $time;
-
- if ( $playlist ) {
- $video_url = htmlspecialchars( "$root_url/embed/videoseries?list=$file&fs=1&hl=en$ap$ll$loop{$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel&theme=$theme", ENT_QUOTES ) . $high . $time;
- $yte_tag = <<
-EOT;
- } elseif ( $valid == 'off' || strpos( $_SERVER['HTTP_USER_AGENT'], 'iPhone' ) === TRUE || strpos( $_SERVER['HTTP_USER_AGENT'], 'iPod' ) === TRUE || strpos( $_SERVER['HTTP_USER_AGENT'], 'iPad' ) === TRUE ) {
- if ( $context == 'post' && $colorbox == 'on' && is_singular() ) {
- $img_url = htmlspecialchars( "http://img.youtube.com/vi/$file/0.jpg" );
- $yte_tag = <<
-EOT;
- } else if ( $this->options['iframe'] == 'on' )
- $yte_tag = <<
-EOT;
- else
- $yte_tag = <<
-EOT;
- } else {
- if ( $context == 'post' && $colorbox == 'on' && is_singular() ) {
- $img_url = htmlspecialchars( "http://img.youtube.com/vi/$file/0.jpg" );
- $yte_tag = <<
-EOT;
- } else if ( $this->options['iframe'] == 'on' ) {
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-EOT;
- }
- }
- }
-
- if ( is_feed() && ( $context == 'post' || $context = 'excerpt' ) ) {
- if ( $high ) {
- $high = '&fmt=18';
- }
- if ( $playlist )
- $url = 'http://www.youtube.com/playlist?list=';
- else
- $url = 'http://www.youtube.com/watch?v=';
-
- $yte_tag = '';
- if ( $this->options['link'] == 'on' ) {
- $yte_tag .= ''.$url. $file . '
';
- }
-
- if ( $this->options['img'] == 'on' ) {
- $yte_tag .= '
';
- }
-
- if ($this->options['link'] == 'off' && $this->options['img'] == 'off')
- $yte_tag=$url.$file;
- }
-
- return str_replace( '{video}', $yte_tag, html_entity_decode( $template ) );
- }
-
- function tag_metacafe( $context, $file, $high = 'v', $name = '' ) {
- $width = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['widthside'] :
- ( $high ? $this->options['widthhq'] : $this->options['width'] );
-
- $height = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['heightside'] :
- ( $high ? $this->options['heighthq'] : $this->options['height'] );
-
- if ( ! $width ) {
- $width = ! ( $high == 'v' ) ? 480 : 425 ;
- }
-
- if ( ! $height ) {
- $height = ! ( $high == 'v' ) ? 360 : 344;
- }
-
- $template = trim( $this->options['template'] ) == '' ? '{video}' : $this->options['template'];
- $excerpt = $this->options['excerpt'];
- $thumb = $this->options['thumb'];
- $colorbox = $this->options['colorbox'];
- $autoplay = $this->options['autoplay'];
- $autoplay_first = $this->options['autoplay_first'];
-
- $ap = 'no';
- if ( is_single() ) {
- if ( $context == 'post' && $autoplay_first && ! $this->first ) {
- $ap = 'yes';
- $this->first = true;
- } else if ( ( $context == 'post' && $autoplay && ! $autoplay_first ) || ( $context == 'excerpt' && $autoplay ) ) {
- $ap = 'yes';
- } else {
- $ap = 'no';
- }
- } elseif ( $this->first_post_on_archive ) {
- if ( $context == 'post' && $autoplay_first && ! $this->first ) {
- $ap = 'yes';
- $this->first = true;
- } else if ( ( $context == 'post' && $autoplay && ! $autoplay_first ) || ( $context == 'excerpt' && $autoplay ) ) {
- $ap = 'yes';
- } else {
- $ap = 'no';
- }
- }
-
- $flash_vars = "playerVars=showStats=no|autoPlay=$ap|";
-
- if ( ( ( is_home() || is_front_page() || is_archive() ) && $context == 'post' && $thumb == 'on' ) || ( $context == 'thumb' ) || ( $context == 'excerpt' && $excerpt == 'thm' ) ) {
- $img_url = htmlspecialchars( "http://www.metacafe.com/thumb/$file.jpg" );
- if ( $context == 'excerpt' && $excerpt == 'thm' ) {
- global $post;
- $post_url = get_permalink( $post->ID );
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-EOT;
- }
- } else if ( $context == 'post' && $colorbox == 'on' && is_singular() ) {
- $img_url = htmlspecialchars( "http://www.metacafe.com/thumb/$file.jpg" );
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-EOT;
- }
-
- return str_replace( '{video}', $yte_tag, html_entity_decode( $template ) );
- }
-
- function tag_vimeo( $context, $file, $high = 'v', $side = 0 ) {
- $width = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['widthside'] :
- ( $high ? $this->options['widthhq'] : $this->options['width'] );
-
- $height = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['heightside'] :
- ( $high ? $this->options['heighthq'] : $this->options['height'] );
-
- if ( ! $width ) {
- $width = ! ( $high == 'v' ) ? 480 : 425 ;
- }
-
- if ( ! $height ) {
- $height = ! ( $high == 'v' ) ? 360 : 344;
- }
-
- $template = trim( $this->options['template'] ) == '' ? '{video}' : $this->options['template'];
- $excerpt = $this->options['excerpt'];
- $thumb = $this->options['thumb'];
- $colorbox = $this->options['colorbox'];
- $autoplay = $this->options['autoplay'];
- $autoplay_first = $this->options['autoplay_first'];
- $loop = $this->options['loop'];
-
- $video_url = "http://player.vimeo.com/video/$file";
-
- if ( $context == 'post' && $autoplay_first && ! $this->first ) {
- if ( is_single() ) {
- $video_url .= "?autoplay=1";
- } elseif ( $this->first_post_on_archive ) {
- $video_url .= "?autoplay=1";
- }
- if ( $loop ) {
- $video_url .= "&loop=1";
- }
- $this->first = true;
- } else if ( ( $context == 'post' && $autoplay && ! $autoplay_first ) || ( $context == 'excerpt' && $autoplay ) ) {
- if ( is_single() ) {
- $video_url .= "?autoplay=1";
- } elseif ( $this->first_post_on_archive ) {
- $video_url .= "?autoplay=1";
- }
- if ( $loop ) {
- $video_url .= "&loop=1";
- }
- } else {
- if ( $loop ) {
- $video_url .= "?loop=1";
- }
- }
-
- if ( ( ( is_home() || is_front_page() || is_archive() ) && $context == 'post' && $thumb == 'on' ) || ( $context == 'thumb' ) || ( $context == 'excerpt' && $excerpt == 'thm' ) ) {
- $thumbs = unserialize(file_get_contents("http://vimeo.com/api/v2/video/$file.php"));
- $img_url = htmlspecialchars($thumbs[0]['thumbnail_large']);
- if ( $context == 'excerpt' && $excerpt == 'thm' ) {
- global $post;
- $post_url = get_permalink( $post->ID );
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-EOT;
- }
- }
- else if ( $context == 'post' && $colorbox == 'on' && is_singular() ) {
- $thumbs = unserialize( file_get_contents( "http://vimeo.com/api/v2/video/$file.php" ) );
- $img_url = htmlspecialchars( $thumbs[0]['thumbnail_large'] );
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-EOT;
- }
-
- return str_replace( '{video}', $yte_tag, html_entity_decode( $template ) );
- }
-
- function tag_liveleak( $context, $file, $high = 'v', $side = 0 ) {
- $width = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['widthside'] :
- ( $high ? $this->options['widthhq'] : $this->options['width'] );
-
- $height = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['heightside'] :
- ( $high ? $this->options['heighthq'] : $this->options['height'] );
-
- if ( ! $width ) {
- $width = ! ( $high == 'v' ) ? 480 : 425 ;
- }
-
- if ( ! $height ) {
- $height = ! ( $high == 'v' ) ? 360 : 344;
- }
-
- $template = trim($this->options['template']) == '' ? '{video}' : $this->options['template'];
- $thumb = $this->options['thumb'];
- $colorbox = $this->options['colorbox'];
- $excerpt = $this->options['excerpt'];
-
- if ( ( ( is_home() || is_front_page() || is_archive() ) && $context == 'post' && $thumb == 'on' ) || ( $context == 'thumb' ) || ( $context == 'excerpt' && $excerpt == 'thm' ) ) {
- $img_url = htmlspecialchars( $this->plugin_url . '/img/default.jpg' );
- if ( $context == 'excerpt' && $excerpt == 'thm' ) {
- global $post;
- $post_url = get_permalink( $post->ID );
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-EOT;
- }
- } else if ( $context == 'post' && $colorbox == 'on' && is_singular() ) {
- $img_url = htmlspecialchars( $this->plugin_url . '/img/default.jpg' );
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-EOT;
- }
-
- return str_replace( '{video}', $yte_tag, html_entity_decode( $template ) );
- }
-
- function tag_facebook( $context, $file, $high = 'v', $side = 0 ) {
- $width = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['widthside'] :
- ( $high ? $this->options['widthhq'] : $this->options['width'] );
-
- $height = ( $context == 'excerpt' || $context == 'side' ) ?
- $this->options['heightside'] :
- ( $high ? $this->options['heighthq'] : $this->options['height'] );
-
- if ( ! $width ) {
- $width = ! ( $high == 'v' ) ? 480 : 425 ;
- }
-
- if ( ! $height ) {
- $height = ! ( $high == 'v' ) ? 360 : 344;
- }
-
- $template = trim($this->options['template']) == '' ? '{video}' : $this->options['template'];
- $thumb = $this->options['thumb'];
- $colorbox = $this->options['colorbox'];
- $excerpt = $this->options['excerpt'];
-
- if ( ( ( is_home() || is_front_page() || is_archive() ) && $context == 'post' && $thumb == 'on' ) || ( $context == 'thumb' ) || ( $context == 'excerpt' && $excerpt == 'thm' ) ) {
- $img_url = htmlspecialchars( $this->plugin_url . '/img/default.jpg' );
- if ( $context == 'excerpt' && $excerpt == 'thm' ) {
- global $post;
- $post_url = get_permalink( $post->ID );
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-EOT;
- }
- } else if ( $context == 'post' && $colorbox == 'on' && is_singular() ) {
- $img_url = htmlspecialchars( $this->plugin_url . '/img/default.jpg' );
- $yte_tag = <<
-EOT;
- } else {
- $yte_tag = <<
-
-EOT;
- }
-
- return str_replace( '{video}', $yte_tag, html_entity_decode( $template ) );
- }
-
- function install() {
- add_action( 'widgets_init', array( $this, 'load_widgets' ) );
-
- if ( get_option( $this->key ) ) {
- $this->options = $this->get_options();
- }
- }
-
- // Handle our options
- function get_options() {
- $options = array(
- 'posts' => 'on',
- 'comments' => 'off',
- 'img' => 'off',
- 'width' => 425,
- 'height' => 344,
- 'widthhq' => 480,
- 'heighthq' => 295,
- 'widthside' => 200,
- 'heightside' => 167,
- 'rel' => 1,
- 'link' => 'on',
- 'valid' => 'off',
- 'search' => 'off',
- 'info' => 'on',
- 'ann' => 'on',
- 'template' => '{video}',
- 'autoplay' => 0,
- 'autoplay_first' => 0,
- 'privacy' => 0,
- 'wtext' => '',
- 'wtitle' => '',
- 'tag' => '',
- 'iframe' => 'on',
- 'http' => 'off',
- 'www' => 'off',
- 'loop' => 0,
- 'thumb' => 'off',
- 'colorbox' => 'off',
- 'colorbox_theme' => 1,
- 'excerpt' => 'not',
- 'logoless' => 'on',
- 'wiziapp' => 'off',
- 'theme' => 'dark'
- );
- $saved = get_option( $this->key );
-
- if ( ! empty( $saved ) ) {
- foreach ( $saved as $key => $option ) {
- $options[$key] = $option;
- }
- }
-
- if ( $saved != $options ) {
- update_option( $this->key, $options );
- }
-
- return $options;
- }
-
- function load_widgets() {
- register_widget( 'SmartYouTube_Widget' );
- }
-
- /**
- * Gets plugin info from WordPress Codex repo
- * @return mixed
- */
- function get_info() {
- $checkfile = 'http://svn.wp-plugins.org/smart-youtube/trunk/smartyoutube.chk';
-
- $status = array();
-
- return $status; //???
-
- $vcheck = wp_remote_fopen( $checkfile );
-
- if ( $vcheck ) {
- $version = $this->local_version;
-
- $status = explode( '@', $vcheck );
- return $status;
- }
- }
-}
-
-class SmartYouTube_Widget extends WP_Widget {
- function SmartYouTube_Widget() {
- $widget_ops = array( 'classname' => 'smart-youtube', 'description' => 'A widget which dispalys some video from Youtube.' );
- $control_ops = array( 'width' => 300, 'height' => 350, 'id_base' => 'smart-youtube' );
- $this->WP_Widget( 'smart-youtube', 'Smart Youtube', $widget_ops, $control_ops );
- }
-
- function widget( $args, $instance ) {
- extract( $args );
- $text = smart_youtube_check( $instance['text'], 1 );
- $title = $instance['title'];
-
- echo
- $before_widget,
- $before_title, $title, $after_title,
- $text,
- $after_widget;
- }
-
- function update( $new_instance, $old_instance ) {
- $instance = $old_instance;
-
- $instance['text'] = strip_tags( $new_instance['text'] );
- $instance['title'] = strip_tags( $new_instance['title'] );
- return $instance;
- }
-
- function form( $instance ) {
- $defaults = array( 'title' => 'Smart Youtube Widget', 'text' => '' );
- $instance = wp_parse_args( ( array )$instance, $defaults );
-?>
-
-
-
-check( $the_content, $side );
-}
-
-function syt_show_thumb( $post_id ) {
- $p = get_post( $post_id );
- $content = $p->post_content;
-
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^<\s]*)/", $content, $matches['youtube.com'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtu\.be\/([a-zA-Z0-9\-\_]{11})/", $content, $matches['youtu.be'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?metacafe\.com\/watch\/([a-zA-Z0-9\-\_]{7})\/([^<^\/\s]*)([\/])?/", $content, $matches['metacafe.com'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?vimeo\.com\/([a-zA-Z0-9\-\_]{8})([\/])?/", $content, $matches['vimeo.com'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?liveleak\.com\/view(\?i\=)([a-zA-Z0-9\-\_]*)/", $content, $matches['liveleak.com'], PREG_SET_ORDER );
- preg_match_all( "/(http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?facebook\.com\/video\/video.php\?v\=([a-zA-Z0-9\-\_]*)/", $content, $matches['facebook.com'], PREG_SET_ORDER );
-
- global $smart_youtube_pro;
-
- if ( isset( $matches['youtube.com'][0] ) ) {
- if ( ( $matches['youtube.com'][0][1] == 'http://' && $smart_youtube_pro->options['http'] == 'on' ) || ( $matches['youtube.com'][0][1] == '' && $smart_youtube_pro->options['www'] == 'on' ) ) {
- $matches['youtube.com'][0][0] = str_replace( $matches['youtube.com'][0][0], $smart_youtube_pro->tag_youtube( 'excerpt', $matches['youtube.com'][0][5], 'v', $matches['youtube.com'][0][6] ), $matches['youtube.com'][0][0] );
- } else if ( $matches['youtube.com'][0][2] == 'v' || $matches['youtube.com'][0][2] == 'vh' || $matches['youtube.com'][0][2] == 'vhd' ) {
- $matches['youtube.com'][0][0] = str_replace( $matches['youtube.com'][0][0], $smart_youtube_pro->tag_youtube( 'excerpt', $matches['youtube.com'][0][5], $matches['youtube.com'][0][2], $matches['youtube.com'][0][6] ), $matches['youtube.com'][0][0] );
- }
- $result = $matches['youtube.com'][0][0];
- } else if ( isset( $matches['youtu.be'][0] ) ) {
- if ( ( $matches['youtu.be'][0][1] == 'http://' && $smart_youtube_pro->options['http'] == 'on' ) || ( $matches['youtu.be'][0][1] == '' && $smart_youtube_pro->options['www'] == 'on' ) ) {
- $matches['youtu.be'][0][0] = str_replace( $matches['youtu.be'][0][0], $smart_youtube_pro->tag_youtube( 'excerpt', $matches['youtu.be'][0][4], 'v' ), $matches['youtu.be'][0][0] );
- } else if ( $matches['youtu.be'][0][2] == 'v' || $matches['youtu.be'][0][2] == 'vh' || $matches['youtu.be'][0][2] == 'vhd' ) {
- $matches['youtu.be'][0][0] = str_replace( $matches['youtu.be'][0][0], $smart_youtube_pro->tag_youtube( 'excerpt', $matches['youtu.be'][0][4], $matches['youtu.be'][0][2]), $matches['youtu.be'][0][0] );
- }
- $result = $matches['youtu.be'][0][0];
- } else if ( isset( $matches['metacafe.com'][0] ) ) {
- if ( ( $matches['metacafe.com'][0][1] == 'http://' && $smart_youtube_pro->options['http'] == 'on' ) || ( $matches['metacafe.com'][0][1] == '' && $smart_youtube_pro->options['www'] == 'on' ) ) {
- $matches['metacafe.com'][0][0] = str_replace( $matches['metacafe.com'][0][0], $smart_youtube_pro->tag_metacafe( 'excerpt', $matches['metacafe.com'][0][4], 'v', $matches['metacafe.com'][0][5] ), $matches['metacafe.com'][0][0] );
- } else if ( $matches['metacafe.com'][0][2] == 'v' || $matches['metacafe.com'][0][2] == 'vh' || $matches['metacafe.com'][0][2] == 'vhd' ) {
- $matches['metacafe.com'][0][0] = str_replace( $matches['metacafe.com'][0][0], $smart_youtube_pro->tag_metacafe( 'excerpt', $matches['metacafe.com'][0][4], $matches['metacafe.com'][0][2], $matches['metacafe.com'][0][5] ), $matches['metacafe.com'][0][0] );
- }
- $result = $matches['metacafe.com'][0][0];
- } else if ( isset($matches['vimeo.com'][0] ) ) {
- if ( ( $matches['vimeo.com'][0][1] == 'http://' && $smart_youtube_pro->options['http'] == 'on' ) || ( $matches['vimeo.com'][0][1] == '' && $smart_youtube_pro->options['www'] == 'on' ) ) {
- $matches['vimeo.com'][0][0] = str_replace( $matches['vimeo.com'][0][0], $smart_youtube_pro->tag_vimeo( 'excerpt', $matches['vimeo.com'][0][4], 'v' ), $matches['vimeo.com'][0][0] );
- }
- else if ( $matches['vimeo.com'][0][2] == 'v' || $matches['vimeo.com'][0][2] == 'vh' || $matches['vimeo.com'][0][2] == 'vhd' ) {
- $matches['vimeo.com'][0][0] = str_replace( $matches['vimeo.com'][0][0], $smart_youtube_pro->tag_vimeo( 'excerpt', $matches['vimeo.com'][0][4], $matches['vimeo.com'][0][2] ), $matches['vimeo.com'][0][0] );
- }
- $result = $matches['vimeo.com'][0][0];
- } else if ( isset( $matches['liveleak.com'][0] ) ) {
- if ( ( $matches['liveleak.com'][0][1] == 'http://' && $smart_youtube_pro->options['http'] == 'on' ) || ( $matches['liveleak.com'][0][1] == '' && $smart_youtube_pro->options['www'] == 'on' ) ) {
- $matches['liveleak.com'][0][0] = str_replace( $matches['liveleak.com'][0][0], $smart_youtube_pro->tag_liveleak( 'excerpt', $matches['liveleak.com'][0][4], 'v' ), $matches['liveleak.com'][0][0] );
- } else if ( $matches['liveleak.com'][0][2] == 'v' || $matches['liveleak.com'][0][2] == 'vh' || $matches['liveleak.com'][0][2] == 'vhd' ) {
- $matches['liveleak.com'][0][0] = str_replace( $matches['liveleak.com'][0][0], $smart_youtube_pro->tag__liveleak( 'excerpt', $matches['liveleak.com'][0][4], $matches['liveleak.com'][0][2] ), $matches['liveleak.com'][0][0] );
- }
- $result = $matches['liveleak.com'][0][0];
- } else if ( isset( $matches['facebook.com'][0] ) ) {
- if ( ( $matches['facebook.com'][0][1] == 'http://' && $smart_youtube_pro->options['http'] == 'on' ) || ( $matches['facebook.com'][0][1] == '' && $smart_youtube_pro->options['www'] == 'on' ) ) {
- $matches['facebook.com'][0][0] = str_replace( $matches['facebook.com'][0][0], $smart_youtube_pro->tag_facebook( 'excerpt', $matches['facebook.com'][0][4], 'v' ), $matches['facebook.com'][0][0] );
- } else if ( $matches['facebook.com'][0][2] == 'v' || $matches['facebook.com'][0][2] == 'vh' || $matches['facebook.com'][0][2] == 'vhd' ) {
- $matches['facebook.com'][0][0] = str_replace( $matches['facebook.com'][0][0], $smart_youtube_pro->tag_facebook( 'excerpt', $matches['facebook.com'][0][4], $matches['facebook.com'][0][2] ), $matches['facebook.com'][0][0] );
- }
- $result = $matches['facebook.com'][0][0];
- } else {
- $width = $smart_youtube_pro->options['width'];
- $height = $smart_youtube_pro->options['height'];
-
- $img_url = htmlspecialchars( $smart_youtube_pro->plugin_url . '/img/default.jpg' );
- $post_url = get_permalink( $post->ID );
- $yte_tag = <<
-
-
-EOT;
- $result = str_replace( '{video}', $yte_tag, html_entity_decode( $template ) );
- }
- if ( isset( $result ) ) {
- return $result;
- }
-}
-?>
diff --git a/plugins/smart-youtube/style.css b/plugins/smart-youtube/style.css
deleted file mode 100644
index 20cc1fd..0000000
--- a/plugins/smart-youtube/style.css
+++ /dev/null
@@ -1,213 +0,0 @@
-#watch-embed-div,
-#watch-url-div{
-border-top:1px solid #CCC;
-font-size:11px;
-}
-#watch-url-div{
-margin:5px 0;
-}
-#watch-url-field{
-font-size:10px;
-width:340px;
-margin-top:2px;
-}
-#watch-embed-div label,
-#watch-url-div label{
-color:#999;
-line-height:18px;
-font-size:12px;
-}
-#watch-embed-div input{
-font-size:10px;
-width:339px;
-margin-top:2px;
-}
-#watch-embed-div #watch-embed-customize{
-font-weight:normal;
-color:#03c;
-}
-#watch-customize-embed-div{
-display:none;
-background-color:white;
-border-top:1px solid #CCC;
-margin-top:5px;
-padding:5px;
-}
-#watch-customize-embed-form{
-display:block;
-
-}
-#watch-customize-embed-desc{
-display:block;
-padding:6px;
-}
-#watch-customize-embed-theme{
-display:block;
-clear:both;
-}
-#watch-customize-embed-theme-swatches{
-padding:5px;
-display:block;
-margin-top:5px;
-width:310px;
-height:80px;
-}
-#watch-customize-embed-theme-preview{
-display:block;
-float:right;
-margin:4px 140px;
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll 0px -23px;
-width:100px;
-height:86px;
-}
-.watch-image-radio-link{
-border:0;
-display:inline-block;
-float:left;
-margin:3px;
-}
-.watch-image-radio-link:hover{
-background-color:#ADD8E6;
-}
-.watch-image-radio-link.radio_selected{
-border:1px solid #000;
-margin:2px;
-}
-.watch-image-radio-link img{
-border:1px solid #fff;
-background-color:#fff;
-padding:0px;
-margin:4px;
-}
-.watch-embed-select{
-width:46px;
-height:23px;
-}
-.watch-embed-iceberg{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll 0px 0px;
-}
-.watch-embed-blank{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -46px 0px;
-}
-.watch-embed-acid{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -92px 0px;
-}
-.watch-embed-storm{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -138px 0px;
-}
-.watch-embed-green{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -184px 0px;
-}
-.watch-embed-orange{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -230px 0px;
-}
-.watch-embed-pink{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -276px 0px;
-}
-.watch-embed-purple{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -322px 0px;
-}
-.watch-embed-rubyred{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -368px 0px;
-}
-div#dbx-content a{
-text-decoration:none;
-}
-
-.smartyoutube h3
-{
- margin: 25px 0 10px !important;
- padding: 0 !important;
- font-size: 14px !important;
-}
-
-.smartyoutube p.instruct
-{
- color: #555;
- font-size: 11px;
-}
-
-#sideblock
-{
- padding: 10px 0 10px 10px;
- background: #fdffee;
- border: 1px solid #ddd;
-}
-
-#sideblock h2
-{
- margin: 0 0 5px 0 !important;
-}
-
-h5.author
-{
- background: #eee;
- border-top: 1px solid #ddd;
- height: 28px !important;
- line-height: 28px !important;
- padding-left: 12px !important;
- margin: 20px 0 -5px !important;
-}
-
-.size-chooser
-{
- border: 1px solid #ddd;
- padding: 5px;
- margin: 3px 0 10px;
- width: 400px;
-}
-
-.size-chooser a
-{
- display: block;
- padding: 2px;
- float: left;
- margin-right: 5px;
- color: #888;
- border: 2px solid transparent;
- text-decoration: none;
-}
-
-.size-chooser a:hover
-{
- border-color: #add8e6;
-}
-
-.size-chooser a.chosen .outer
-{
- border-color: #a0b3d9;
- background: #d8e6fb;
-}
-
-.size-chooser a span
-{
- display: block;
- color: #999;
- font-size: 11px;
- text-align: center;
-}
-
-.size-chooser a.chosen span
-{
- color: #000;
-}
-
-.size-chooser a .outer
-{
- background: #ddd;
- border: 1px solid #999;
- margin: 0 auto;
-}
-
-.size-chooser a .outer div
-{
- border-left: 1px solid #fff;
- border-top: 1px solid #fff;
- height: 99%;
-}
-
-#usageHeader a
-{
- font-size: 10px;
- font-style: normal;
-}
\ No newline at end of file
diff --git a/plugins/smart-youtube/styleyt.css b/plugins/smart-youtube/styleyt.css
deleted file mode 100644
index 7eadb02..0000000
--- a/plugins/smart-youtube/styleyt.css
+++ /dev/null
@@ -1,212 +0,0 @@
-#watch-embed-div,
-#watch-url-div{
-border-top:1px solid #CCC;
-font-size:11px;
-}
-#watch-url-div{
-margin:5px 0;
-}
-#watch-url-field{
-font-size:10px;
-width:340px;
-margin-top:2px;
-}
-#watch-embed-div label,
-#watch-url-div label{
-color:#999;
-line-height:18px;
-font-size:12px;
-}
-#watch-embed-div input{
-font-size:10px;
-width:339px;
-margin-top:2px;
-}
-#watch-embed-div #watch-embed-customize{
-font-weight:normal;
-color:#03c;
-}
-#watch-customize-embed-div{
-display:none;
-background-color:white;
-border-top:1px solid #CCC;
-margin-top:5px;
-padding:5px;
-}
-#watch-customize-embed-form{
-display:block;
-
-}
-#watch-customize-embed-desc{
-display:block;
-padding:6px;
-}
-#watch-customize-embed-theme{
-display:block;
-clear:both;
-}
-#watch-customize-embed-theme-swatches{
-padding:5px;
-display:block;
-margin-top:5px;
-width:310px;
-height:80px;
-}
-#watch-customize-embed-theme-preview{
-display:block;
-float:right;
-margin:4px 140px;
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll 0px -23px;
-width:100px;
-height:86px;
-}
-.watch-image-radio-link{
-border:0;
-display:inline-block;
-float:left;
-margin:3px;
-}
-.watch-image-radio-link:hover{
-background-color:#ADD8E6;
-}
-.watch-image-radio-link.radio_selected{
-border:1px solid #000;
-margin:2px;
-}
-.watch-image-radio-link img{
-border:1px solid #fff;
-background-color:#fff;
-padding:0px;
-margin:4px;
-}
-.watch-embed-select{
-width:46px;
-height:23px;
-}
-.watch-embed-iceberg{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll 0px 0px;
-}
-.watch-embed-blank{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -46px 0px;
-}
-.watch-embed-acid{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -92px 0px;
-}
-.watch-embed-storm{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -138px 0px;
-}
-.watch-embed-green{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -184px 0px;
-}
-.watch-embed-orange{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -230px 0px;
-}
-.watch-embed-pink{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -276px 0px;
-}
-.watch-embed-purple{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -322px 0px;
-}
-.watch-embed-rubyred{
-background:transparent url('img/embed_selection-vfl29294.png') no-repeat scroll -368px 0px;
-}
-div#dbx-content a{
-text-decoration:none;
-}
-
-.smartyoutube h3
-{
- margin: 25px 0 10px !important;
- padding: 0 !important;
- font-size: 14px !important;
-}
-
-.smartyoutube p.instruct
-{
- color: #555;
- font-size: 11px;
-}
-
-#sideblock
-{
-
-}
-
-#sideblock h2
-{
- margin: 0 0 5px 0 !important;
-}
-
-h5.author
-{
- background: #eee;
- border-top: 1px solid #ddd;
- height: 28px !important;
- line-height: 28px !important;
- padding-left: 12px !important;
- margin: 20px 0 -5px !important;
-}
-
-.size-chooser
-{
- border: 1px solid #ddd;
- padding: 5px;
- margin: 3px 0 10px;
- width: 560px;
- height:125px;
-}
-
-.size-chooser a
-{
- display: block;
- padding: 2px;
- float: left;
- margin-right: 5px;
- color: #888;
- border: 2px solid transparent;
- text-decoration: none;
-}
-
-.size-chooser a:hover
-{
- border-color: #add8e6;
-}
-
-.size-chooser a.chosen .outer
-{
- border-color: #a0b3d9;
- background: #d8e6fb;
-}
-
-.size-chooser a span
-{
- display: block;
- color: #999;
- font-size: 11px;
- text-align: center;
-}
-
-.size-chooser a.chosen span
-{
- color: #000;
-}
-
-.size-chooser a .outer
-{
- background: #ddd;
- border: 1px solid #999;
- margin: 0 auto;
-}
-
-.size-chooser a .outer div
-{
- border-left: 1px solid #fff;
- border-top: 1px solid #fff;
- height: 99%;
-}
-
-#usageHeader a
-{
- font-size: 10px;
- font-style: normal;
-}
diff --git a/plugins/smart-youtube/themes/theme1/colorbox.css b/plugins/smart-youtube/themes/theme1/colorbox.css
deleted file mode 100644
index 5e6585b..0000000
--- a/plugins/smart-youtube/themes/theme1/colorbox.css
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:hidden;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- Example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:url(images/overlay.png) 0 0 repeat;}
-#colorbox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
- #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
- #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
- #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}
- #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
- #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
- #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
- #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
- #cboxContent{background:#fff;}
- #cboxLoadedContent{margin-bottom:28px;}
- #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
- #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
- #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
- #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) -75px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxPrevious.hover{background-position:-75px -25px;}
- #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxNext.hover{background-position:-50px -25px;}
- #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxClose.hover{background-position:-25px -25px;}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme1/images/border.png b/plugins/smart-youtube/themes/theme1/images/border.png
deleted file mode 100644
index f463a10..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/border.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/controls.png b/plugins/smart-youtube/themes/theme1/images/controls.png
deleted file mode 100644
index 9257176..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/controls.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomCenter.png b/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomCenter.png
deleted file mode 100644
index 0d4475e..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomLeft.png b/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomLeft.png
deleted file mode 100644
index 2775eba..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomRight.png b/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomRight.png
deleted file mode 100644
index f7f5137..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderBottomRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderMiddleLeft.png b/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderMiddleLeft.png
deleted file mode 100644
index a2d63d1..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderMiddleLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderMiddleRight.png b/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderMiddleRight.png
deleted file mode 100644
index fd7c3e8..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderMiddleRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopCenter.png b/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopCenter.png
deleted file mode 100644
index 2937a9c..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopLeft.png b/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopLeft.png
deleted file mode 100644
index f9d458b..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopRight.png b/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopRight.png
deleted file mode 100644
index 74b8583..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/internet_explorer/borderTopRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/loading.gif b/plugins/smart-youtube/themes/theme1/images/loading.gif
deleted file mode 100644
index b4695d8..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/loading_background.png b/plugins/smart-youtube/themes/theme1/images/loading_background.png
deleted file mode 100644
index 6ae83e6..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/loading_background.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme1/images/overlay.png b/plugins/smart-youtube/themes/theme1/images/overlay.png
deleted file mode 100644
index 6f3d321..0000000
Binary files a/plugins/smart-youtube/themes/theme1/images/overlay.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme10/colorbox.css b/plugins/smart-youtube/themes/theme10/colorbox.css
deleted file mode 100644
index 638dc6f..0000000
--- a/plugins/smart-youtube/themes/theme10/colorbox.css
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:hidden;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- ColorBox example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:#000;}
-
-#colorbox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxContent{margin-top:20px;}
- #cboxLoadedContent{background:#fff; padding:10px 10px 34px; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px;}
- #cboxTitle{overflow:auto; position:absolute; bottom:12px; left:10px; text-align:center; color:#555; word-wrap: break-word; font-size:0.9em; border: 1px solid #ccc; max-width:40%; background:#fff; padding:1px 7px; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; box-shadow: 1px 1px 3px #888; -moz-box-shadow: 1px 1px 3px #888; -webkit-box-shadow: 1px 1px 3px #888;}
- #cboxCurrent{position:absolute; bottom:11px; right:36px; color:#333; font-weight:bold; padding:1px 7px; border: 1px solid #ccc; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; box-shadow: 1px 1px 3px #888; -moz-box-shadow: 1px 1px 3px #888; -webkit-box-shadow: 1px 1px 3px #888;}
- #cboxSlideshow{position:absolute; bottom:11px; right:150px; color:#eee; overflow:visible; border: 1px solid #555; background:#666; padding:1px 7px; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; box-shadow: 1px 1px 3px #888; -moz-box-shadow: 1px 1px 3px #888; -webkit-box-shadow: 1px 1px 3px #888;}
- #cboxPrevious{opacity:0.5;filter:alpha(opacity=50);position:absolute; top:36%; left:10px; margin-top:-32px; background:url(images/prev.png) no-repeat; width:64px; height:32px; text-indent:-9999px;}
- #cboxPrevious.hover{opacity:1;filter:alpha(opacity=100);background-position:bottom left;}
- #cboxNext{opacity:0.5;filter:alpha(opacity=50);position:absolute; top:36%; right:10px; margin-top:-32px; background:url(images/next.png) top right no-repeat; width:64px; height:32px; text-indent:-9999px;}
- #cboxNext.hover{opacity:1;filter:alpha(opacity=100);}
- #cboxLoadingOverlay{background:#fff; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxClose{opacity:0.5;filter:alpha(opacity=50);position:absolute; bottom:10px; right:10px; display:block; background:url(images/close.png) no-repeat; width:22px; height:22px; text-indent:-9999px;}
- #cboxClose.hover{opacity:1;filter:alpha(opacity=100);}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme10/images/close.png b/plugins/smart-youtube/themes/theme10/images/close.png
deleted file mode 100644
index 1392e9f..0000000
Binary files a/plugins/smart-youtube/themes/theme10/images/close.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme10/images/loading.gif b/plugins/smart-youtube/themes/theme10/images/loading.gif
deleted file mode 100644
index b4695d8..0000000
Binary files a/plugins/smart-youtube/themes/theme10/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme10/images/next.png b/plugins/smart-youtube/themes/theme10/images/next.png
deleted file mode 100644
index 03eae66..0000000
Binary files a/plugins/smart-youtube/themes/theme10/images/next.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme10/images/prev.png b/plugins/smart-youtube/themes/theme10/images/prev.png
deleted file mode 100644
index 28aaed8..0000000
Binary files a/plugins/smart-youtube/themes/theme10/images/prev.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/colorbox.css b/plugins/smart-youtube/themes/theme11/colorbox.css
deleted file mode 100644
index 243b00e..0000000
--- a/plugins/smart-youtube/themes/theme11/colorbox.css
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:hidden;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- Example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:#fff;}
-#colorbox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
- #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
- #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
- #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}
- #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
- #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
- #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
- #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
- #cboxContent{background:#fff;}
- #cboxLoadedContent{margin-bottom:28px;}
- #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
- #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
- #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
- #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) -75px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxPrevious.hover{background-position:-75px -25px;}
- #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxNext.hover{background-position:-50px -25px;}
- #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxClose.hover{background-position:-25px -25px;}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme11/images/border.png b/plugins/smart-youtube/themes/theme11/images/border.png
deleted file mode 100644
index c7a7448..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/border.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/controls.png b/plugins/smart-youtube/themes/theme11/images/controls.png
deleted file mode 100644
index 25d7696..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/controls.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomCenter.png b/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomCenter.png
deleted file mode 100644
index c6ddac0..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomLeft.png b/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomLeft.png
deleted file mode 100644
index 6dc8984..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomRight.png b/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomRight.png
deleted file mode 100644
index ac82ba5..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderBottomRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderMiddleLeft.png b/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderMiddleLeft.png
deleted file mode 100644
index 467eddc..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderMiddleLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderMiddleRight.png b/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderMiddleRight.png
deleted file mode 100644
index 5b9cb03..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderMiddleRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopCenter.png b/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopCenter.png
deleted file mode 100644
index 322307f..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopLeft.png b/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopLeft.png
deleted file mode 100644
index 6909b12..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopRight.png b/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopRight.png
deleted file mode 100644
index 21f9bc3..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/internet_explorer/borderTopRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/loading.gif b/plugins/smart-youtube/themes/theme11/images/loading.gif
deleted file mode 100644
index 602ce3c..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/loading_background.png b/plugins/smart-youtube/themes/theme11/images/loading_background.png
deleted file mode 100644
index 6ae83e6..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/loading_background.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme11/images/overlay.png b/plugins/smart-youtube/themes/theme11/images/overlay.png
deleted file mode 100644
index 6f3d321..0000000
Binary files a/plugins/smart-youtube/themes/theme11/images/overlay.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme2/colorbox.css b/plugins/smart-youtube/themes/theme2/colorbox.css
deleted file mode 100644
index d525a1d..0000000
--- a/plugins/smart-youtube/themes/theme2/colorbox.css
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:visible;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- ColorBox example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:#fff;}
-
-#colorbox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxContent{margin-top:32px;}
- #cboxLoadedContent{background:#000; padding:1px;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxLoadingOverlay{background:#000;}
- #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
- #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
- #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) 0 0 no-repeat;}
- #cboxPrevious{background-position:0 0; right:44px;}
- #cboxPrevious.hover{background-position:0 -25px;}
- #cboxNext{background-position:-25px 0; right:22px;}
- #cboxNext.hover{background-position:-25px -25px;}
- #cboxClose{background-position:-50px 0; right:0;}
- #cboxClose.hover{background-position:-50px -25px;}
- .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
- .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
- .cboxSlideshow_on #cboxSlideshow.hover{background-position:-100px -25px;}
- .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0; right:44px;}
- .cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;}
diff --git a/plugins/smart-youtube/themes/theme2/images/controls.png b/plugins/smart-youtube/themes/theme2/images/controls.png
deleted file mode 100644
index 8569b57..0000000
Binary files a/plugins/smart-youtube/themes/theme2/images/controls.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme2/images/loading.gif b/plugins/smart-youtube/themes/theme2/images/loading.gif
deleted file mode 100644
index 19c67bb..0000000
Binary files a/plugins/smart-youtube/themes/theme2/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme3/colorbox.css b/plugins/smart-youtube/themes/theme3/colorbox.css
deleted file mode 100644
index 6706338..0000000
--- a/plugins/smart-youtube/themes/theme3/colorbox.css
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- ColorBox example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:#000;}
-
-#colorbox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxContent{margin-top:20px;}
- #cboxLoadedContent{background:#000; padding:5px;}
- #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
- #cboxCurrent{position:absolute; top:-20px; right:0; color:#ccc;}
- #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
- #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) top left no-repeat; width:28px; height:65px; text-indent:-9999px;}
- #cboxPrevious.hover{background-position:bottom left;}
- #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) top right no-repeat; width:28px; height:65px; text-indent:-9999px;}
- #cboxNext.hover{background-position:bottom right;}
- #cboxLoadingOverlay{background:#000;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) top center no-repeat; width:38px; height:19px; text-indent:-9999px;}
- #cboxClose.hover{background-position:bottom center;}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme3/images/controls.png b/plugins/smart-youtube/themes/theme3/images/controls.png
deleted file mode 100644
index e1e9798..0000000
Binary files a/plugins/smart-youtube/themes/theme3/images/controls.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme3/images/loading.gif b/plugins/smart-youtube/themes/theme3/images/loading.gif
deleted file mode 100644
index 19c67bb..0000000
Binary files a/plugins/smart-youtube/themes/theme3/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/colorbox.css b/plugins/smart-youtube/themes/theme4/colorbox.css
deleted file mode 100644
index d9bcc49..0000000
--- a/plugins/smart-youtube/themes/theme4/colorbox.css
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:hidden;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- ColorBox example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:#fff;}
-
-#colorBox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) 0 0 no-repeat;}
- #cboxTopCenter{height:25px; background:url(images/border1.png) 0 -50px repeat-x;}
- #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) -25px 0 no-repeat;}
- #cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) 0 -25px no-repeat;}
- #cboxBottomCenter{height:25px; background:url(images/border1.png) 0 -75px repeat-x;}
- #cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) -25px -25px no-repeat;}
- #cboxMiddleLeft{width:25px; background:url(images/border2.png) 0 0 repeat-y;}
- #cboxMiddleRight{width:25px; background:url(images/border2.png) -25px 0 repeat-y;}
- #cboxContent{background:#fff;}
- #cboxLoadedContent{margin-bottom:20px;}
- #cboxTitle{position:absolute; bottom:0; left:0; text-align:center; width:100%; color:#999;}
- #cboxCurrent{position:absolute; bottom:0; left:100px; color:#999;}
- #cboxSlideshow{position:absolute; bottom:0; right:70px; color:#444;}
- #cboxPrevious{position:absolute; bottom:0; left:0; color:#444;}
- #cboxNext{position:absolute; bottom:0; left:63px; color:#444;}
- #cboxLoadingOverlay{background:url(images/loading.gif) 5px 5px no-repeat #fff;}
- #cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme4/images/border1.png b/plugins/smart-youtube/themes/theme4/images/border1.png
deleted file mode 100644
index 2d0a04d..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/border1.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/border2.png b/plugins/smart-youtube/themes/theme4/images/border2.png
deleted file mode 100644
index be02ef4..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/border2.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomCenter.png b/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomCenter.png
deleted file mode 100644
index 12e0e9a..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomLeft.png b/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomLeft.png
deleted file mode 100644
index b7a474a..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomRight.png b/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomRight.png
deleted file mode 100644
index 6b6cb15..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderBottomRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderMiddleLeft.png b/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderMiddleLeft.png
deleted file mode 100644
index 8f248ac..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderMiddleLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderMiddleRight.png b/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderMiddleRight.png
deleted file mode 100644
index 336e19c..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderMiddleRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopCenter.png b/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopCenter.png
deleted file mode 100644
index 7cb1da4..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopLeft.png b/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopLeft.png
deleted file mode 100644
index d733b6c..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopRight.png b/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopRight.png
deleted file mode 100644
index 0d88683..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/internet_explorer/borderTopRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme4/images/loading.gif b/plugins/smart-youtube/themes/theme4/images/loading.gif
deleted file mode 100644
index 602ce3c..0000000
Binary files a/plugins/smart-youtube/themes/theme4/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme5/colorbox.css b/plugins/smart-youtube/themes/theme5/colorbox.css
deleted file mode 100644
index c44a3fc..0000000
--- a/plugins/smart-youtube/themes/theme5/colorbox.css
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:visible;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- ColorBox example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:#000;}
-
-#colorbox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) 0 0 no-repeat;}
- #cboxTopCenter{height:14px; background:url(images/border.png) top left repeat-x;}
- #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) -36px 0 no-repeat;}
- #cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) 0 -32px no-repeat;}
- #cboxBottomCenter{height:43px; background:url(images/border.png) bottom left repeat-x;}
- #cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) -36px -32px no-repeat;}
- #cboxMiddleLeft{width:14px; background:url(images/controls.png) -175px 0 repeat-y;}
- #cboxMiddleRight{width:14px; background:url(images/controls.png) -211px 0 repeat-y;}
- #cboxContent{background:#fff;}
- #cboxLoadedContent{margin-bottom:5px;}
- #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
- #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
-
- #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) 0 0 no-repeat; width:23px; height:23px; text-indent:-9999px;}
- #cboxPrevious{left:0; background-position: -51px -25px;}
- #cboxPrevious.hover{background-position:-51px 0;}
- #cboxNext{left:27px; background-position:-75px -25px;}
- #cboxNext.hover{background-position:-75px 0;}
- #cboxClose{right:0; background-position:-100px -25px;}
- #cboxClose.hover{background-position:-100px 0;}
-
- .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0; right:27px;}
- .cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0;}
- .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
- .cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0;}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme5/images/border.png b/plugins/smart-youtube/themes/theme5/images/border.png
deleted file mode 100644
index df13bb6..0000000
Binary files a/plugins/smart-youtube/themes/theme5/images/border.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme5/images/controls.png b/plugins/smart-youtube/themes/theme5/images/controls.png
deleted file mode 100644
index 65cfd1d..0000000
Binary files a/plugins/smart-youtube/themes/theme5/images/controls.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme5/images/loading.gif b/plugins/smart-youtube/themes/theme5/images/loading.gif
deleted file mode 100644
index b4695d8..0000000
Binary files a/plugins/smart-youtube/themes/theme5/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme5/images/loading_background.png b/plugins/smart-youtube/themes/theme5/images/loading_background.png
deleted file mode 100644
index 9de11f4..0000000
Binary files a/plugins/smart-youtube/themes/theme5/images/loading_background.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/colorbox.css b/plugins/smart-youtube/themes/theme6/colorbox.css
deleted file mode 100644
index 5e6585b..0000000
--- a/plugins/smart-youtube/themes/theme6/colorbox.css
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:hidden;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- Example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:url(images/overlay.png) 0 0 repeat;}
-#colorbox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
- #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
- #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
- #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}
- #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
- #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
- #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
- #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
- #cboxContent{background:#fff;}
- #cboxLoadedContent{margin-bottom:28px;}
- #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
- #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
- #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
- #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) -75px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxPrevious.hover{background-position:-75px -25px;}
- #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxNext.hover{background-position:-50px -25px;}
- #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxClose.hover{background-position:-25px -25px;}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme6/images/border.png b/plugins/smart-youtube/themes/theme6/images/border.png
deleted file mode 100644
index c7a7448..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/border.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/controls.png b/plugins/smart-youtube/themes/theme6/images/controls.png
deleted file mode 100644
index 25d7696..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/controls.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomCenter.png b/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomCenter.png
deleted file mode 100644
index c6ddac0..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomLeft.png b/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomLeft.png
deleted file mode 100644
index 6dc8984..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomRight.png b/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomRight.png
deleted file mode 100644
index ac82ba5..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderBottomRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderMiddleLeft.png b/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderMiddleLeft.png
deleted file mode 100644
index 467eddc..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderMiddleLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderMiddleRight.png b/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderMiddleRight.png
deleted file mode 100644
index 5b9cb03..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderMiddleRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopCenter.png b/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopCenter.png
deleted file mode 100644
index 322307f..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopLeft.png b/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopLeft.png
deleted file mode 100644
index 6909b12..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopRight.png b/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopRight.png
deleted file mode 100644
index 21f9bc3..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/internet_explorer/borderTopRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/loading.gif b/plugins/smart-youtube/themes/theme6/images/loading.gif
deleted file mode 100644
index 602ce3c..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/loading_background.png b/plugins/smart-youtube/themes/theme6/images/loading_background.png
deleted file mode 100644
index 6ae83e6..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/loading_background.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme6/images/overlay.png b/plugins/smart-youtube/themes/theme6/images/overlay.png
deleted file mode 100644
index 6f3d321..0000000
Binary files a/plugins/smart-youtube/themes/theme6/images/overlay.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/colorbox.css b/plugins/smart-youtube/themes/theme7/colorbox.css
deleted file mode 100644
index 1252243..0000000
--- a/plugins/smart-youtube/themes/theme7/colorbox.css
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:hidden;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- Example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:#000;}
-#colorbox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
- #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
- #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
- #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}
- #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
- #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
- #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
- #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
- #cboxContent{background:#fff;}
- #cboxLoadedContent{margin-bottom:28px;}
- #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
- #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
- #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
- #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) -75px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxPrevious.hover{background-position:-75px -25px;}
- #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxNext.hover{background-position:-50px -25px;}
- #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxClose.hover{background-position:-25px -25px;}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme7/images/border.png b/plugins/smart-youtube/themes/theme7/images/border.png
deleted file mode 100644
index f463a10..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/border.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/controls.png b/plugins/smart-youtube/themes/theme7/images/controls.png
deleted file mode 100644
index 9257176..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/controls.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomCenter.png b/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomCenter.png
deleted file mode 100644
index 0d4475e..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomLeft.png b/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomLeft.png
deleted file mode 100644
index 2775eba..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomRight.png b/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomRight.png
deleted file mode 100644
index f7f5137..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderBottomRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderMiddleLeft.png b/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderMiddleLeft.png
deleted file mode 100644
index a2d63d1..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderMiddleLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderMiddleRight.png b/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderMiddleRight.png
deleted file mode 100644
index fd7c3e8..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderMiddleRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopCenter.png b/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopCenter.png
deleted file mode 100644
index 2937a9c..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopLeft.png b/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopLeft.png
deleted file mode 100644
index f9d458b..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopRight.png b/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopRight.png
deleted file mode 100644
index 74b8583..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/internet_explorer/borderTopRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/loading.gif b/plugins/smart-youtube/themes/theme7/images/loading.gif
deleted file mode 100644
index b4695d8..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/loading_background.png b/plugins/smart-youtube/themes/theme7/images/loading_background.png
deleted file mode 100644
index 6ae83e6..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/loading_background.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme7/images/overlay.png b/plugins/smart-youtube/themes/theme7/images/overlay.png
deleted file mode 100644
index 6f3d321..0000000
Binary files a/plugins/smart-youtube/themes/theme7/images/overlay.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/colorbox.css b/plugins/smart-youtube/themes/theme8/colorbox.css
deleted file mode 100644
index 1252243..0000000
--- a/plugins/smart-youtube/themes/theme8/colorbox.css
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:hidden;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- Example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:#000;}
-#colorbox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}
- #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}
- #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}
- #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}
- #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
- #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
- #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
- #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
- #cboxContent{background:#fff;}
- #cboxLoadedContent{margin-bottom:28px;}
- #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
- #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
- #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
- #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) -75px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxPrevious.hover{background-position:-75px -25px;}
- #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxNext.hover{background-position:-50px -25px;}
- #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0 no-repeat; width:25px; height:25px; text-indent:-9999px;}
- #cboxClose.hover{background-position:-25px -25px;}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme8/images/border.png b/plugins/smart-youtube/themes/theme8/images/border.png
deleted file mode 100644
index c7a7448..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/border.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/controls.png b/plugins/smart-youtube/themes/theme8/images/controls.png
deleted file mode 100644
index 25d7696..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/controls.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomCenter.png b/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomCenter.png
deleted file mode 100644
index c6ddac0..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomLeft.png b/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomLeft.png
deleted file mode 100644
index 6dc8984..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomRight.png b/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomRight.png
deleted file mode 100644
index ac82ba5..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderBottomRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderMiddleLeft.png b/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderMiddleLeft.png
deleted file mode 100644
index 467eddc..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderMiddleLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderMiddleRight.png b/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderMiddleRight.png
deleted file mode 100644
index 5b9cb03..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderMiddleRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopCenter.png b/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopCenter.png
deleted file mode 100644
index 322307f..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopLeft.png b/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopLeft.png
deleted file mode 100644
index 6909b12..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopRight.png b/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopRight.png
deleted file mode 100644
index 21f9bc3..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/internet_explorer/borderTopRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/loading.gif b/plugins/smart-youtube/themes/theme8/images/loading.gif
deleted file mode 100644
index 602ce3c..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/loading_background.png b/plugins/smart-youtube/themes/theme8/images/loading_background.png
deleted file mode 100644
index 6ae83e6..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/loading_background.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme8/images/overlay.png b/plugins/smart-youtube/themes/theme8/images/overlay.png
deleted file mode 100644
index 6f3d321..0000000
Binary files a/plugins/smart-youtube/themes/theme8/images/overlay.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/colorbox.css b/plugins/smart-youtube/themes/theme9/colorbox.css
deleted file mode 100644
index 2d73b29..0000000
--- a/plugins/smart-youtube/themes/theme9/colorbox.css
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- ColorBox Core Style
- The following rules are the styles that are consistant between themes.
- Avoid changing this area to maintain compatability with future versions of ColorBox.
-*/
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
-#cboxOverlay{position:fixed; width:100%; height:100%;}
-#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
-#cboxContent{position:relative; overflow:hidden;}
-#cboxLoadedContent{overflow:auto;}
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
-#cboxTitle{margin:0;}
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
-#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
-
-/*
- ColorBox example user style
- The following rules are ordered and tabbed in a way that represents the
- order/nesting of the generated HTML, so that the structure easier to understand.
-*/
-#cboxOverlay{background:#fff;}
-
-#colorBox{font: 12px Tahoma, Arial,sans-serif;}
- #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) 0 0 no-repeat;}
- #cboxTopCenter{height:25px; background:url(images/border1.png) 0 -50px repeat-x;}
- #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) -25px 0 no-repeat;}
- #cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) 0 -25px no-repeat;}
- #cboxBottomCenter{height:25px; background:url(images/border1.png) 0 -75px repeat-x;}
- #cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) -25px -25px no-repeat;}
- #cboxMiddleLeft{width:25px; background:url(images/border2.png) 0 0 repeat-y;}
- #cboxMiddleRight{width:25px; background:url(images/border2.png) -25px 0 repeat-y;}
- #cboxContent{background:#fff;}
-/* #cboxLoadedContent{margin-bottom:20px;}
- #cboxTitle{position:absolute; bottom:0; left:0; text-align:center; width:100%; color:#999;}
- #cboxCurrent{position:absolute; bottom:0; left:100px; color:#999;}
- #cboxSlideshow{position:absolute; bottom:0; right:70px; color:#444;}
- #cboxPrevious{position:absolute; bottom:0; left:0; color:#444;}
- #cboxNext{position:absolute; bottom:0; left:63px; color:#444;}
- #cboxLoadingOverlay{background:url(images/loading.gif) 5px 5px no-repeat #fff;}
- #cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}*/
-
- #cboxLoadedContent{margin-bottom:20px;}
- #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}
- #cboxLoadingOverlay{background:#FFF;}
- #cboxTitle{position:absolute; bottom:0; left:0; text-align:left; width:100%; color:#999;}
- #cboxCurrent{position:absolute; bottom:0; right:120px; color:#999;}
- #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; bottom:0; background:url(images/controls.png) 0 0 no-repeat;}
- #cboxPrevious{background-position:0 0; right:44px;}
- #cboxPrevious.hover{background-position:0 -25px;}
- #cboxNext{background-position:-25px 0; right:22px;}
- #cboxNext.hover{background-position:-25px -25px;}
- #cboxClose{background-position:-50px 0; right:0;}
- #cboxClose.hover{background-position:-50px -25px;}
- .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
- .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
- .cboxSlideshow_on #cboxSlideshow.hover{background-position:-100px -25px;}
- .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0; right:44px;}
- .cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;}
\ No newline at end of file
diff --git a/plugins/smart-youtube/themes/theme9/images/border1.png b/plugins/smart-youtube/themes/theme9/images/border1.png
deleted file mode 100644
index 2d0a04d..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/border1.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/border2.png b/plugins/smart-youtube/themes/theme9/images/border2.png
deleted file mode 100644
index be02ef4..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/border2.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/controls.png b/plugins/smart-youtube/themes/theme9/images/controls.png
deleted file mode 100644
index 8569b57..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/controls.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomCenter.png b/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomCenter.png
deleted file mode 100644
index 12e0e9a..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomLeft.png b/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomLeft.png
deleted file mode 100644
index b7a474a..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomRight.png b/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomRight.png
deleted file mode 100644
index 6b6cb15..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderBottomRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderMiddleLeft.png b/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderMiddleLeft.png
deleted file mode 100644
index 8f248ac..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderMiddleLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderMiddleRight.png b/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderMiddleRight.png
deleted file mode 100644
index 336e19c..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderMiddleRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopCenter.png b/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopCenter.png
deleted file mode 100644
index 7cb1da4..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopCenter.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopLeft.png b/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopLeft.png
deleted file mode 100644
index d733b6c..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopLeft.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopRight.png b/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopRight.png
deleted file mode 100644
index 0d88683..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/internet_explorer/borderTopRight.png and /dev/null differ
diff --git a/plugins/smart-youtube/themes/theme9/images/loading.gif b/plugins/smart-youtube/themes/theme9/images/loading.gif
deleted file mode 100644
index 602ce3c..0000000
Binary files a/plugins/smart-youtube/themes/theme9/images/loading.gif and /dev/null differ
diff --git a/plugins/smart-youtube/yt.js b/plugins/smart-youtube/yt.js
deleted file mode 100644
index ba769f5..0000000
--- a/plugins/smart-youtube/yt.js
+++ /dev/null
@@ -1,124 +0,0 @@
-function toggleClass(element, className) {
- var e = ref(element);
- if (!e) return;
- if (hasClass(e, className)) {
- removeClass(e, className);
- } else {
- addClass(e, className);
- }
-}
-function hasClass(element, _className) {
- if (!element) {
- return;
- }
- var upperClass = _className.toUpperCase();
- if (element.className) {
- var classes = element.className.split(' ');
- for (var i = 0; i < classes.length; i++) {
- if (classes[i].toUpperCase() == upperClass) {
- return true;
- }
- }
- }
- return false;
-}
-function addClass(element, _class) {
- if (!hasClass(element, _class)) {
- element.className += element.className ? (" " + _class) : _class;
- }
-}
-function getClassList(element) {
- if (element.className) {
- return element.className.split(' ');
- } else {
- return [];
- }
-}
-function removeClass(element, _class) {
- var upperClass = _class.toUpperCase();
- var remainingClasses = [];
- if (element.className) {
- var classes = element.className.split(' ');
- for (var i = 0; i < classes.length; i++) {
- if (classes[i].toUpperCase() != upperClass) {
- remainingClasses[remainingClasses.length] = classes[i];
- }
- }
- element.className = remainingClasses.join(' ');
- }
-}
-function findAncestorByClass(element, className) {
- var temp = element;
- while (temp != document) {
- if (hasClass(temp, className)) return temp;
- temp = temp.parentNode;
- }
- return null;
-}
-
-var selectedThemeColor='blank';
-function onChangeColor(color){
- var oldTheme=document.getElementById('theme_color_'+selectedThemeColor+'_img');
- var newTheme=document.getElementById('theme_color_'+color+'_img');
-
- var embedColor=document.getElementById('embedColor');
- embedColor.value=color;
-
- removeClass(oldTheme,'radio_selected');
- addClass(newTheme,'radio_selected');
- selectedThemeColor=color;
- onUpdatePreviewImage();
- return false;
-}
-
-function onUpdatePreviewImage(){
- var previewImage=document.getElementById('watch-customize-embed-theme-preview');
- var showBorderCheckBox=document.getElementById('show_border_checkbox');
- var embedColor=document.getElementById('embedColor');
- var border=(!showBorderCheckBox.checked?'_nb':'');
- var prevUrl=document.getElementById('prevUrl');
-
- selectedThemeColor=embedColor.value;
- previewImage.src=prevUrl.value+'preview_embed_'+selectedThemeColor+'_sm'+border+'.gif';
- //previewImage.src='http://www.youtube.com/img/preview_embed_'+selectedThemeColor+'_sm'+border+'.gif';
-}
-
-function loaded()
-{
- var previewImage=document.getElementById('watch-customize-embed-theme-preview');
- var showBorderCheckBox=document.getElementById('show_border_checkbox');
- var embedColor=document.getElementById('embedColor');
- var prevUrl=document.getElementById('prevUrl');
- var border=(!showBorderCheckBox.checked?'_nb':'');
-
- selectedThemeColor="blank";
-
- onChangeColor(embedColor.value);
- previewImage.src=prevUrl.value+'preview_embed_'+selectedThemeColor+'_sm'+border+'.gif';
-}
-window.onload = loaded;
-
-jQuery(function($){
- $(".size-chooser a").click(function(e){
- e.preventDefault();
- vwidth = $(this).attr('v-width');
- vheight = $(this).attr('v-height');
- $(this).addClass("chosen").siblings().removeClass("chosen");
- target = "#" + $(this).parent("div").attr("forDiv");
- $(target).find("input.width").val(vwidth);
- $(target).find("input.height").val(vheight);
- }).each(function(){
- vwidth = $(this).attr('v-width');
- vheight = $(this).attr('v-height');
- thumb_width = Math.round(vwidth/8);
- thumb_height = Math.round(vheight/8);
-
- $(this).find(".outer").css("width", thumb_width + "px").css("height", thumb_height + "px");
- $(this).find("span").text(vwidth + "x" + vheight);
- });
-
- $("#usageHeader a").click(function(e){
- e.preventDefault();
- $("#usage").slideToggle("fast");
- });
-});