projects
/
embedvideo
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6873be3
)
Fixed google video thumbnail parsing pattern
author
Alan J. Pippin
<ajp@pippins.net>
Sun, 1 Feb 2009 20:42:23 +0000
(13:42 -0700)
committer
Alan J. Pippin
<ajp@pippins.net>
Sun, 1 Feb 2009 20:42:23 +0000
(13:42 -0700)
ItemAddEmbedVideo.inc
patch
|
blob
|
history
diff --git
a/ItemAddEmbedVideo.inc
b/ItemAddEmbedVideo.inc
index 4e16f42b64a17da624bdd5cc76ed2447a935a551..bfb8daab44028f339ca27a5d45fcf621bc1b8829 100644
(file)
--- a/
ItemAddEmbedVideo.inc
+++ b/
ItemAddEmbedVideo.inc
@@
-331,7
+331,7
@@
class ItemAddEmbedVideo extends ItemAddPlugin {
}
/* Extract the thumbnail URL from the webpage contents */
- preg_match('/
thumbnail:
\'(http:\/\/.*?\/ThumbnailServer2.+?)\'/i',
+ preg_match('/\'(http:\/\/.*?\/ThumbnailServer2.+?)\'/i',
$contents, $matches);
$thumbnail=$matches[1];
$thumbnail=preg_replace("/\\\\x26/","&",$thumbnail);