Changeset 3307 for extensions/gvideo/admin
- Timestamp:
- May 20, 2009, 1:28:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gvideo/admin/add_page.php
r3296 r3307 17 17 { 18 18 @preg_match("#thumbnailUrl\\\\x3d(http://.*/ThumbnailServer.*)\\\\x26#", $source, $thumb_url); 19 //$video['thumb_url'] = @str_replace(array('\x3d', '\x26'), array('=', '&'), $thumb_url[1]);20 19 $video['thumb_url'] = @urldecode($thumb_url[1]); 20 $video['thumb_url'] = @str_replace(array('\x3d', '\x26'), array('=', '&'), $video['thumb_url']); 21 21 } 22 22 return $video; … … 63 63 if ($_POST['thumbnail'] == 'thumb_from_server' and fetchRemote($url, $source)) 64 64 { 65 @preg_match('#link rel="image_src" href="(http:// images.vimeo.com/.*?)"#', $source, $matches);65 @preg_match('#link rel="image_src" href="(http://.*?)"#', $source, $matches); 66 66 $video['thumb_url'] = @str_replace('160.jpg', '200.jpg', $matches[1]); 67 67 }
Note: See TracChangeset
for help on using the changeset viewer.