Embed YouTube videos with the new [youtube] BBCode

Questions, comments, issues, and suggestions about the new SRRP website.

Embed YouTube videos with the new [youtube] BBCode

Postby Gen.Jersey » Mon Oct 14, 2013 3:22 am

I've added a custom BBCode that allows you to easily embed YouTube videos in your posts.

Usage:

Code: Select all
[youtube]<video id>[/youtube]


Replace "<video id>" with the video ID of the YouTube video.

For example, this is how you embed the YouTube video at http://www.youtube.com/watch?v=k4CrNO5Q9U8.

  • The string after the "watch?v=" is the video id. In this case it is "k4CrNO5Q9U8".

So just type the following:

Code: Select all
[youtube]k4CrNO5Q9U8[/youtube]


And it will look like this:

General Jersey
SRRP Website Designer and Administrator
____________________________________________________________

Please let me know if you have any issues, questions,
or comments about the SRRP website and server.

____________________________________________________________

Add me on Steam @ [SRRP]Gen.Jersey

PM me here:
Image

____________________________________________________________

Looking to buy a real gun?

Check out WhichGun.com, my firearms reference site and buying guide.
User avatar
Gen.Jersey
SRRP Senior General
 
Posts: 681
Joined: Sat Sep 24, 2011 8:57 am
Location: New Jersey

Return to Website Discussion & Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron