Quote:
Originally Posted by Dollarsign
Please anyone  
|
Like I said guys, I'll get to updating the definitions just as soon as I have my site squared away (and hopefully these health issues under a little control too)
Quote:
Originally Posted by xTerMn8R
I'm trying to get this to work with Video links on "WebTemplates" pages that are integrated with my vb3.8.2. Can't figure out why they wont work, I think that its got summin to do with the 'regular expression' I made for the definition I created. Can anyone help me out with this.
1) The Web Template ONLY contains the url to the Movie File.
2) The Link to the page is... http://www.superskunkracing.com/view.php?pg=ssr-vid
3) My RegEx: ( http://www\.superskunkracing\.com/view\.php\?pg=ssr-vid)
4) My Replacement code:
Code:
<object id="MediaPlayer" width="$ameinfo[width]" height="$ameinfo[height]" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components…" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="$p1">
<param name="Showcontrols" value="True">
<param name="autostart" value="false">
<embed type="application/x-mplayer2" src="$p1" name="MediaPlayer" width="$ameinfo[width]" height="$ameinfo[height]" autoplay="false"></embed>
</object>
I've done some reading up on these RE's but still dont understand why I need them, and if I do why must they contain so many varibles if I'm pointing it directly to a Page thats not dynamic in its name. Any insite on this would be deeply appreciated...
Thank you,
xT
|
I'm not sure what your trying to do. For one, AME isn't designed to work outside of Posts, Visitor Messages, Signatures and Blogs. The definitions do not make AME work in different areas of your forum. The definitions make AME parse media from specific websites in your Posts, Visitor Messages, Signatures and Blogs.
So, for example, I make a definition for YouTube. Then I post a link to YouTube in one of the areas I mentioned. AME replaces the link with the Replacement HTML. So you can see, why would it parse on the page it's supposed to be parsing? The idea is the regular expression is supposed to match the URL of a page with a video already on it. Not the other way around.
Really, trying to get AME to work on a custom page is going about the hard way. Just put the embed code to your video on that page. AME is meant for posting areas where HTML code isn't allowed or would be dangerous to use otherwise.