projects
/
embedvideo
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66480d1
)
Fixed vimeo thumbnail processing code
author
Alan Pippin
<apippin@pippins.net>
Sun, 3 Oct 2010 03:27:38 +0000
(21:27 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Sun, 3 Oct 2010 03:27:38 +0000
(21:27 -0600)
ItemAddEmbedVideo.inc
patch
|
blob
|
history
diff --git
a/ItemAddEmbedVideo.inc
b/ItemAddEmbedVideo.inc
index 820fe6f5f2d0e0ac393698803ee5ac0388c5b92e..22986988fd3957466a24a292f67d18a4ddd98951 100644
(file)
--- a/
ItemAddEmbedVideo.inc
+++ b/
ItemAddEmbedVideo.inc
@@
-804,7
+804,7
@@
class ItemAddEmbedVideo extends ItemAddPlugin {
$title=$matches[1];
/* Extract the thumbnail URL from the webpage contents */
- preg_match('/"
videothumbnail" href
="(.+?)"/i',
+ preg_match('/"
og:image" content
="(.+?)"/i',
$contents, $matches);
$thumbnail=$matches[1];