From 6873be3aaa2b28177e7d880086479211b9ea4120 Mon Sep 17 00:00:00 2001 From: "Alan J. Pippin" Date: Tue, 23 Sep 2008 23:17:02 -0600 Subject: [PATCH] Fixed vimeo embed parsing algorithm --- ItemAddEmbedVideo.inc | 23 ++++++++++++----------- templates/ItemAddEmbedVideo.tpl | 1 + 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/ItemAddEmbedVideo.inc b/ItemAddEmbedVideo.inc index d598ee2..4e16f42 100644 --- a/ItemAddEmbedVideo.inc +++ b/ItemAddEmbedVideo.inc @@ -798,18 +798,19 @@ class ItemAddEmbedVideo extends ItemAddPlugin { } /* Format the description to hold a reference to the embedded video */ - $description = ''; $description.= ''; - $description.= ''; - $description.= ''; - $description.= ''; - + $description.= ''; + $description.= ''; + $description.= ''; + $description.= ''; + /* ********************************** * Embed a remote .swf file diff --git a/templates/ItemAddEmbedVideo.tpl b/templates/ItemAddEmbedVideo.tpl index 43d0e73..1ea2807 100644 --- a/templates/ItemAddEmbedVideo.tpl +++ b/templates/ItemAddEmbedVideo.tpl @@ -31,6 +31,7 @@ Stickam: http://www.stickham.com/editMediaComment.do?method=load&mId=xxxxxxxxx
Myspace1: http://vids.myspace.com/index.cfm?fuseaction=vids.individual&VideoID=xxxxxxxx
Myspace2: http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=xxxxxxxx
+ Vimeo: http://www.vimeo.com/xxxxxx
Generic: Any webpage with an '<object ... <embed ...' style video on its page

Supported File Types:
-- 2.34.1