Camen Design Forum

embedd youtube videos?

Johann

Oops, I also just noticed that there are many instances of "\#" (with # being a number) which actually ought to be "\\#" -- not sure if I pasted bad code, or if that got mangled along the way.

I will download and install NNF today or tomorrow when I find time, and see if I can do this. I suck at git, but I might throw up the code changes/additions plus directions on a webpage somewhere (neocities, that is :D), at the very least.

Surely there is a way to to add the condition "unless it is directly preceeded by '[video]'" to the regex that turns URL into HTML links... that would at least be better than my initial idea, namely to parse for video tags once and base64encode the URL, then do the other stuff, and finally parsing the video tags again xD

Append

(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn