The Geek |
01-23-2009 10:57 AM |
Quote:
Originally Posted by Digital Jedi
(Post 1722100)
Okay, you got me: I don't I understand how the Validation tool works. What is the RegEx checking for to determine if a video can be embedded or not?
Also, running this on my demo board, the default YouTube definition doesn't convert anything. It just turns videos into the little Film icon and nothing more.
|
The validation works like this:
If the validation field has a value and extraction is on, then AME will scan the contents of the destination page for the existence of the validation field. If it finds the value, it is validated, otherwise not.
For instance, the following regexp is actually part of the HTML input box that contains youtubes Embed code IF the video can be embeded. If not, this regexp won't validate because the input box actually says 'Embedding disabled by request' instead of the HTML needed to embed:
Code:
value="http://www\.youtube\.com/v/([\w\-]*)?&
There was a bug prior to 2.5.3 that prevented the title appearing in a non validated result (just the icon showed).
HTHs :)
|