![]() |
Quote:
Regular expression by default: PHP Code:
PHP Code:
Also the only way I was able to make Daily Motion working is to set:
|
Quote:
|
Quote:
|
Quote:
|
1 Attachment(s)
Quote:
BTw: Extraction must be on to obtain the embed key. HTHs |
Quote:
I guess that I was under the assumption that one could change the title name that comes up as the definition of the video. Like X video @ YOURWEBSITENAME or whatever you wanted to put there. |
Guess you could edit the ame_container template and change:
<a href="$ameinfo[url]" title="$ameinfo[title]" target="_blank">$ameinfo[title]</a> to <a href="$ameinfo[url]" title="$ameinfo[title] @ YOURSITENAME" target="_blank">$ameinfo[title] @ YOURSITENAME</a> |
1 Attachment(s)
Quote:
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 |
Quote:
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:
Am I right? |
You only use the Embedding Regexp if the data needed to embed cannot be found within the URL itself.
For example: if the embed code for www.myvideo.com/watch.php?v=123456 looks like: <embed src="http://www.myvideo.com/watch.php?v=abcdef" ... /> In this instance, the URL doesnt 'tie up' to the embed HTML so AME needs to go to www.myvideo.com/watch.php?v=123456 and find the abcdef part. With the Embedding Regexp, AME pulls down the page and runs something like: http://www\.myvideo\.com/watch\.php\?v=(\w+) Which grabs the abcdef part so the video will properly embed. In the event that the URL contains the information you need (i.e. the dailymotion definition I just posted) then this process is redundant and a time waster. Furthermore, the Embedding Regexp is generally different than the regexp used to match the URL in the first place. Hope this helps. |
All times are GMT. The time now is 05:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|