From: Harris Wong Date: Tue, 12 Oct 2010 16:01:31 +0000 (-0000) Subject: - changed to ContentUtility:convertYoutubePlayURLToWatchURL X-Git-Tag: v1.1~12 X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=acontent.git;a=commitdiff_plain;h=bb14b43aa47386c91d9edd1629f46bee2de4cecf - changed to ContentUtility:convertYoutubePlayURLToWatchURL --- diff --git a/docs/home/imscc/include/ims_template.inc.php b/docs/home/imscc/include/ims_template.inc.php index c096590..8d7851c 100644 --- a/docs/home/imscc/include/ims_template.inc.php +++ b/docs/home/imscc/include/ims_template.inc.php @@ -338,7 +338,7 @@ function print_organizations($parent_id, */ if (strpos($file, 'youtube.com')!==false){ //apply the conversion before linking the alternatives. Otherwise it will not be added. - $file = convert_youtube_playURL_to_watchURL($file); + $file = ContentUtility::convertYoutubePlayURLToWatchURL($file); } // If this file has a4a alternatives, link it. if (isset($a4a_xml_array[$file]) || isset($a4a_secondary_files[$file])){