From 3fb911a7d807b2abdf42af143e40f45fa4786c30 Mon Sep 17 00:00:00 2001 From: Alan Pippin Date: Sat, 2 Oct 2010 21:36:20 -0600 Subject: [PATCH] Fixed dailymotion import issues --- ItemAddEmbedVideo.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1