• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Other BBCode Media Site Help

TeflonDon

Well-known member
#1
I have a simple media site I'm trying to embed and for some reason I'm struggling with it. My regex is extremely rusty. :(


Typical link
Code:
http://www.website.com/videos/99999/random-text-like-this.html
Embed code
Code:
<iframe width="400" height="460" src="http://www.website.com/embed.php?video_id=99999" border="0" frameborder="0" style="border: 0" scrolling="no" seamless="seamless"></iframe>
Anyone?
 

JoshyPHP

Well-known member
#4
Code:
http://www.website.com/videos/{$id}
Code:
<iframe width="400" height="460" src="http://www.website.com/embed.php?video_id={$id}" border="0" frameborder="0" style="border: 0" scrolling="no" seamless="seamless"></iframe>
Probably that I guess?
 

TeflonDon

Well-known member
#5
Code:
http://www.website.com/videos/{$id}
Code:
<iframe width="400" height="460" src="http://www.website.com/embed.php?video_id={$id}" border="0" frameborder="0" style="border: 0" scrolling="no" seamless="seamless"></iframe>
Probably that I guess?
Yup that worked, simpler than I thought it would be.