- changed to ContentUtility:convertYoutubePlayURLToWatchURL
authorHarris Wong <hwong@ocad.ca>
Tue, 12 Oct 2010 16:01:31 +0000 (16:01 -0000)
committerHarris Wong <hwong@ocad.ca>
Tue, 12 Oct 2010 16:01:31 +0000 (16:01 -0000)
docs/home/imscc/include/ims_template.inc.php

index c096590..8d7851c 100644 (file)
@@ -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])){