From 704755461ec6ae35feb05f260e11eb88062ee3a5 Mon Sep 17 00:00:00 2001 From: vbracco Date: Mon, 27 Oct 2008 12:29:08 +0000 Subject: [PATCH] Fixing Issue 73. Problems with Youtube --- classes/gelato.class.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/classes/gelato.class.php b/classes/gelato.class.php index 390c5b0..e6fc206 100644 --- a/classes/gelato.class.php +++ b/classes/gelato.class.php @@ -160,22 +160,22 @@ class gelato extends Conexion_Mysql { function getVideoPlayer($url) { if (isYoutubeVideo($url)) { $id_video = getYoutubeVideoUrl($url); - return "\t\t\t\n"; + return "\t\t\t\n"; } elseif (isVimeoVideo($url)) { $id_video = getVimeoVideoUrl($url); - return "\t\t\t\n"; + return "\t\t\t\n"; } elseif (isDailymotionVideo($url)) { $id_video = getDailymotionVideoUrl($url); - return "\t\t\t\n"; + return "\t\t\t\n"; } elseif (isYahooVideo($url)) { $id_video = getYahooVideoCode($url); - return "\t\t\t\n"; + return "\t\t\t\n"; } elseif (isSlideSharePresentation($url)) { $id_video = getSlideSharePresentationCode($url); - return "\t\t\t\n"; + return "\t\t\t\n"; } elseif (isGoogleVideoUrl($url)) { $id_video = getGoogleVideoCode($url); - return "\t\t\t\n"; + return "\t\t\t\n"; } else { return "This URL is not a supported video (YouTube, Google Video, Vimeo, DailyMotion, Yahoo Video or SlideShare)"; } @@ -185,7 +185,7 @@ class gelato extends Conexion_Mysql { $playerUrl = $this->conf->urlGelato."/admin/scripts/player.swf?soundFile=".$url; return "\t\t\t\n"; } elseif (isGoEar($url)) { - return "\t\t\t\n"; + return "\t\t\t\n"; } elseif (isOdeo($url)) { return "\t\t\t\n"; } else {