Problem with AME - The Automatic Media Embeder 1.2.0

Webdude

New Member
I have tried to allow my forum to have support for megarotic by copying the code from megavideo and changing the references to megarotic so its like below:

Megavideo:
Regular Expression
Code:
[http://]*[a-z]*?[\.]?megavideo\.com/\?v=([\w]+)

Replacement:
Code:
<object width="432" height="351"><param name="movie" value="http://www.megavideo.com/v/$p1.30430295.0"></param><param name="wmode" value="transparent"></param><embed src="http://www.megavideo.com/v/$p1.30430295.0" type="application/x-shockwave-flash" wmode="transparent" width="432" height="351"></embed></object>

Megarotic
Regular Expression
Code:
[http://]*[a-z]*?[\.]?megarotic\.com/\?v=([\w]+)

Replacement:
Code:
<object width="432" height="351"><param name="movie" value="http://video.megarotic.com/v/$p1.30430295.0"></param><param name="wmode" value="transparent"></param><embed src="http://video.megarotic.com/v/$p1.30430295.0" type="application/x-shockwave-flash" wmode="transparent" width="432" height="351"></embed></object>


Now the problem is that it now says that the video has been removed when infact it hasn't and the video is still there so i'm guessing that it has to do with the "$p1.30430295.0" part but im not sure. I was hoping someone here maybe able to help....
 
Webdude said:
i'm guessing that it has to do with the "$p1.30430295.0" part but im not sure.

I am not sure either but here is a stab in the dark....change the numbers. Make sure ther unique and no other definition shares that $p code number. It may require any random unique number or it may just need a specific number. Again I have no idea. Just trying to help. ;)
 
Back
Top