Quote:
Originally Posted by The Geek
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
|
The Geek, thanks for reply.
I understand that I can use only
Regular expression .
This is OK for me.
I am trying to understand why
Embedding Regexp doesn't work for me on that Daily Motion?
As I understand AME does this one:
- Finds an URL of Daily Motion in post using Regular expression for example the URL:
http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creation
- Then if Embedding Regexp is filled
- AME takes that URL from post
- Extracts HTML Source of that page it got from the URL
- Using Embedding Regexp AME tries to find some "text" for that Regexp from that HTML Source
- If AME finds, then it uses it to build Replacement
Am I right?