Updating error message for Video format.
parent
f77a625c12
commit
2f62a7efdc
|
|
@ -173,7 +173,7 @@ class gelato extends Conexion_Mysql {
|
||||||
$id_video = getYahooVideoCode($url);
|
$id_video = getYahooVideoCode($url);
|
||||||
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&id=".$id_video[1]."&vid=".$id_video[0]."&onsite=1&site=video.yahoo.com&page=792730258&lang=en-US&intl=us\" /></object>\n";
|
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&id=".$id_video[1]."&vid=".$id_video[0]."&onsite=1&site=video.yahoo.com&page=792730258&lang=en-US&intl=us\" /></object>\n";
|
||||||
} else {
|
} else {
|
||||||
return "This URL is not a supported video (YouTube, Vimeo or DailyMotion)";
|
return "This URL is not a supported video (YouTube, Vimeo, DailyMotion or Yahoo Video)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue