Quote:
Originally Posted by Makc666
Daily Motion
Regular expression by default:
PHP Code:
http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/[\w\-]+
Extract destination data by default:
PHP Code:
http://[w\.]*dailymotion\[/url].[com|alicet\.]+/swf/([\w]*)
In any way [com|alicet\.]must be [com|alice\.it]
Also the only way I was able to make Daily Motion working is to set: - Regular expression to:
PHP Code:
http://[w\.]*dailymotion\.[com|alicet\.]+/[\w/\-%]*video/([\w\-]+)
- And set off "Extract destination data".
- And remove "Embedding Regexp"
|
As per my other post, I think you were over thinking this one (at least from the examples I saw).
Dailymotions URL structure is
domain.suffix/various/paths/depending/on/things/name_of_video
In the embed code, you see a couple of references:
http://www.dailymotion.com/swf/name_of_video
and
http://www.dailymotion.com/swf/name_of_video
So, all we need is the name_of_video which can be taken from the URL and put into the replace code.
See attached definition