>sirnot, you realize that single quoted strings are string literals in php, right? they are not interpreted by php.
I am fully aware of that. The $1 is not meant to be replaced by PHP; heck, I don't think variables can even begin with a number. From php.net/preg_replace:
Replacement may contain references of the form \\n or (since PHP 4.0.4) $n, with the latter form being the preferred one. Every such reference will be replaced by the text captured by the n'th parenthesized pattern. n can be from 0 to 99, and \\0 or $0 refers to the text matched by the whole pattern. Opening parentheses are counted from left to right (starting from 1) to obtain the number of the capturing subpattern.
@strawberries: I'm not in a position to test anything at the moment, but the extended text formatter may be what's causing this. Try disabling it and see if anything changes. I'll be more helpful when I get home. EDIT: nope, nevermind...
SirNot, thanks for trying......I tried the suggestion of disabling the Extended Text Formatter. But the change made no difference :(
On a wider perspective, we really do need a YouTube Extension. Every non-vanilla forum I am in these days has youtube videos posted.
LOL
I know we vanilla folks are different from the others.....but the ability to post a youtube video would be nice, mini.
eg at the minute, i am trying to describe how beautiful a location is in New Zealand to Merikan friends on my board, when it is so much easier if i can post a few youtube videos on the area and let them see for themselves.
Comments
I am fully aware of that. The $1 is not meant to be replaced by PHP; heck, I don't think variables can even begin with a number. From php.net/preg_replace: @strawberries: I'm not in a position to test anything at the moment, but the extended text formatter may be what's causing this. Try disabling it and see if anything changes. I'll be more helpful when I get home. EDIT: nope, nevermind...
*makes the sign of the cross
I'm able to post YouTube videos on my Vanilla setup, (I have allowed iFrames).
My question is; being that the video file is hosted on YouTube, does the bandwidth used get registered against my server in any way?
That is, does it go directly from YouTube to the viewer's browser or is it routed via my server?
But allowing them to use iframes is a bad idea since anything can be loaded on your pages.