From: Alan Pippin Date: Sun, 3 Oct 2010 03:36:20 +0000 (-0600) Subject: Fixed dailymotion import issues X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/.%24link.?a=commitdiff_plain;h=HEAD;p=embedvideo%2F.git Fixed dailymotion import issues --- diff --git a/ItemAddEmbedVideo.inc b/ItemAddEmbedVideo.inc index 2298698..2ba1adf 100644 --- a/ItemAddEmbedVideo.inc +++ b/ItemAddEmbedVideo.inc @@ -578,7 +578,7 @@ class ItemAddEmbedVideo extends ItemAddPlugin { $thumbnail=$dailymotionThumbnailUrl.$item_id; /* Format the description to hold a reference to the embedded video */ - if(preg_match('/<.+? value="(.+?)" class=".+?" id="video_player_embed_code_text" \/>/', $contents, $matches)) { + if(preg_match('/embed code:.+? value="(.+?)" /', $contents, $matches)) { $description=$matches[1]; $description=preg_replace("/"/","'",$description); $description=preg_replace("/</","<",$description);