projects
/
embedvideo
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed vimeo thumbnail processing code
[embedvideo/.git]
/
ItemAddEmbedVideo.inc
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];