Before VB came out with their built-in video bb code we were using our own. I'd like to migrate my existing bb code to the new video bb code without having to touch de DB or having all my videos break. I need some assistance.
Example URL from Youtube: http://www.youtube.com/watch?v=ZZv1vki4ou4
Our existing bb code:
I think VB's built-in video code looks like this:
What I'd really like to do is leave my "[youtube][/youtube]" bb code markup intact and just change the parameters associated with it so that it safely displays what the VB video code displays (trying not to open myself to xss problems). Would someone please have a look and tell me how I would set this up? Thank you!
Example URL from Youtube: http://www.youtube.com/watch?v=ZZv1vki4ou4
Our existing bb code:
PHP Code:
[youtube]ZZv1vki4ou4[/youtube]
PHP Code:
[video=youtube;ZZv1vki4ou4]ZZv1vki4ou4[/video]
Comment