X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=ItemAddEmbedVideo.inc;h=2ba1adf30853a3884883c3e4d30ccdf289c697da;hb=3fb911a7d807b2abdf42af143e40f45fa4786c30;hp=22986988fd3957466a24a292f67d18a4ddd98951;hpb=d9b0ef7fec32d06faec82150e4c4e7c9f879334c;p=embedvideo%2F.git 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);