Quote:
Originally Posted by MWRD
Recently i noticed that links the videos on you tube had changed format and embed method
so that any new link i put it from youtube to my forum don't work or convert .
I made a change in / Regular expression like this :
old one:
PHP Code:
[http://]*[a-z]*?[\.]?youtube\.[a-z]*?/watch\?v=([A-Z0-9._%-]*)[&\w;=\+_\-]*
new one:
PHP Code:
[http://]*[a-z]*?[\.]?youtube\.[a-z]*?/watch\#v=([A-Z0-9._%-]*)[&\w;=\+_\-]*
because the urls changed to :
http://www.youtube.com/watch#v=XXXXXXXXXXX
from:
http://www.youtube.com/watch?v=XXXXXXXXXXX
and its work fine now
Except for one important thing :
Video Title from youtube not work at all only youtube text title ?
can i find a help to make it work or there is an update for this mod?
thanks for any one help me
|
First off, please let me say that it's not necessary to send me PMs to check posts in my OWN thread. I check my own threads for new posts the as soon as I have the time for it.
As far as your problem is concerned, I don't see any changes at YouTube. I'm looking at it right now and they all seem the same. I clicked on the link with the pound symbol (#) that you posted, and they redirect to regular YouTube links.
If for some reason your users are getting links with the # symbol, then it's possible it's the Language or Location that your users are using. What Language and Location are you browsing YouTube in? I'm specifically referring to the settings at the very bottom of each YouTube page.
As far as the title's go, this is not a problem with AME. This has to do with the fact that the page is a redirect page. AME will only read target page, not the page it's redirecting you to, so all you're going to get is the website's title. There is no workaround for this.