I know i asked earlier and found out this week that the geek has some personal stuff going on.
So i have a question for anyone that has had any luck with the regex stuff.
I have been working on alot of different media tags and i have a problem trying to grab the actual media player.
This code is for break.com, and i realize that it is a hard one to work with, but i am trying to see if we can get some type of tutorial going for those that would like to learn to work with this awesome mod.
Here is what i have done with break:
Reg Expression:
PHP Code:
http://www\.break\.com/index/([/\w-.+]*)
Replacement
The HTML to use. Note the backreference!
PHP Code:
<object width="464" height="392"><param name="movie" value="http://embed.break.com/MzYyNjc4"></param><embed src="http://embed.break.com/MzYyNjc4" type="application/x-shockwave-flash" width="464" height="392"></embed></object>
and if you go to your site with the above, and place in any break url, you will get the player and it will only play: MzYyNjc4
My confusion comes by the way of the $p1 , where, how and why do you use this?
It doesn't seem to matter what video program i work with, i can get the regex to work enough to show a player, but once i try inserting the $p1, i get nothing. What exactly is need to force the embed player to work with the $p1, with ANY of the url's we have used lately?