Changeset 1147
- Timestamp:
- 06/13/07 10:17:31 (1 year ago)
- Files:
-
- devel/mod/contenttoolbar/lib.php (modified) (1 diff)
- devel/mod/contenttoolbar/lib/contenttoolbar_text_processing.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/contenttoolbar/lib.php
r1081 r1147 91 91 preg_match($urlpattern,$video_url,$url); 92 92 $video_url=substr($url[0],0,-1); 93 $body = run("video:text:process","{{video:$video_url ?".$video_width."x".$video_height."}}");93 $body = run("video:text:process","{{video:$video_url}}"); 94 94 } 95 95 return array('title'=>"",'content'=>$body); devel/mod/contenttoolbar/lib/contenttoolbar_text_processing.php
r1081 r1147 24 24 \$height = \$size[3]; 25 25 } 26 return "<embed class=\"VideoPlayback\" type=\"application/x-shockwave-flash\" src=\"\$url\" width=\"\$width\" height=\"\$height\"/>"; 26 27 return "<object width=\"\$width\" height=\"\$height\"><param name=\"movie\" value=\"\$url\"></param><param name=\"wmode\" value=\"transparent\"></param><embed class=\"VideoPlayback\" type=\"application/x-shockwave-flash\" src=\"\$url\" width=\"\$width\" height=\"\$height\"/></object>"; 27 28 28 29 END;
