[pLog-svn] r6810 - plog/branches/lifetype-1.2/js/tinymce/plugins/insertvideo
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Sat Feb 21 07:39:25 EST 2009
Author: jondaley
Date: 2009-02-21 07:39:25 -0500 (Sat, 21 Feb 2009)
New Revision: 6810
Modified:
plog/branches/lifetype-1.2/js/tinymce/plugins/insertvideo/functions.js
Log:
dailymotion has a new format of videos. I think this fixes it, though it seems that all videos are broken at the moment
Modified: plog/branches/lifetype-1.2/js/tinymce/plugins/insertvideo/functions.js
===================================================================
--- plog/branches/lifetype-1.2/js/tinymce/plugins/insertvideo/functions.js 2009-02-21 12:32:11 UTC (rev 6809)
+++ plog/branches/lifetype-1.2/js/tinymce/plugins/insertvideo/functions.js 2009-02-21 12:39:25 UTC (rev 6810)
@@ -155,7 +155,7 @@
function getDailymotionLink( url )
{
// check if this is a URL pointing to a dailymotion embedded video link
- var regexp = /object\swidth="([0-9]+)"\sheight="([0-9]+)".+value="(http:\/\/www\.dailymotion\.com\/swf\/\w*)"/;
+ var regexp = /object\swidth="([0-9]+)"\sheight="([0-9]+)".+value="(http:\/\/www\.dailymotion\.com\/swf\/\w+).*"/;
result = regexp.exec( url );
return( result );
}
More information about the pLog-svn
mailing list