Quote:
Originally Posted by Texas_Dawg
Does ESPN.com work for anyone?
How do we fix the ESPN XML? Thanks for any help...
|
Think I figured it out on my own.
Here's what I did:
1) Control Panel >> AME CP >> Display Definitions >> ESPN.com
2) Change the "Regular Expression" box to:
PHP Code:
http://espn\.go\.com/video/clip\?id=([\d]+)[\w&;=]*
3) Change the "Replacement" box to:
PHP Code:
<object width="$ameinfo[width]" height="$ameinfo[height]"><param name="movie" value="http://sports.espn.go.com/videohub/player/embed.swf?id=$p1"/><param name="wmode" value="opaque"/><param name="allowScriptAccess" value="always"/><embed src="http://sports.espn.go.com/videohub/player/embed.swf?id=$p1" type="application/x-shockwave-flash" wmode="opaque" width="$ameinfo[width]" height="$ameinfo[height]" allowScriptAccess="always"></embed></object>
4) Save.