Browse Source

Updating error message for Video format.

vbracco 16 years ago
parent
commit
2f62a7efdc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      classes/gelato.class.php

+ 1 - 1
classes/gelato.class.php View File

173
 			$id_video = getYahooVideoCode($url);
173
 			$id_video = getYahooVideoCode($url);
174
 			return "\t\t\t<object type=\"application/x-shockwave-flash\" style=\"width:500px;height:393px\" data=\"http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf\"><param name=\"quality\" value=\"high\" /><param name=\"FlashVars\" value=\"event_function=YAHOO.yv.Player.SWFInterface&amp;id=".$id_video[1]."&amp;vid=".$id_video[0]."&amp;onsite=1&amp;site=video.yahoo.com&amp;page=792730258&amp;lang=en-US&amp;intl=us\" /></object>\n";
174
 			return "\t\t\t<object type=\"application/x-shockwave-flash\" style=\"width:500px;height:393px\" data=\"http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf\"><param name=\"quality\" value=\"high\" /><param name=\"FlashVars\" value=\"event_function=YAHOO.yv.Player.SWFInterface&amp;id=".$id_video[1]."&amp;vid=".$id_video[0]."&amp;onsite=1&amp;site=video.yahoo.com&amp;page=792730258&amp;lang=en-US&amp;intl=us\" /></object>\n";
175
 		} else {
175
 		} else {
176
-			return "This URL is not a supported video (YouTube, Vimeo or DailyMotion)";
176
+			return "This URL is not a supported video (YouTube, Vimeo, DailyMotion or Yahoo Video)";
177
 		}		
177
 		}		
178
 	}
178
 	}
179
 	
179