xats allows the use of BBCode-esque formatting to allow you to easily embed popular services on your profile or chat group.
Use a special codes generator for ease of producing special codes.
Note:
For example, http://nxat.eu/Test chat ID is 5, and its name is Test. This means the code will look like this:
In addition, you can use different options for further functionality:
To do so, use the following code:
You can even use multiple codes separated by a '-'.
For example:
To embed YouTube videos, you need to copy the video ID from the URL and put it in place of video id.
For example, if https://www.youtube.com/watch?v=Qyclqo_AV2M was your desired video, Qyclqo_AV2M would be the video ID and to use this video on chats and profiles, you will need to use the following code:
In the example above, no options were set but you can use the following:
An example with options set:
Note: If you want to make the video invisible, set the height and width values to 1.
You can also force different video resolutions:
The options are, in ascending quality: vq=hd720, vq=hd1080, vq=hd1440, vq=hd2160.
In addition, you can use YouTube playlists. For example, if https://www.youtube.com/playlist?list=PLmo4pBukfRoN8SB5RKvfiY9CTl9pI_IFc was your desired playlist, PLmo4pBukfRoN8SB5RKvfiY9CTl9pI_IFc would be the playlist ID. Add the ID of the first video in the playlist, followed by the playlist ID, as such:
xats recommends the embedding of radios via the service Radio. They provide their service in both SWF and HTML format. You can still use services such as SHOUTcast and Icecast.
Replace player id with your Radio player ID, which can be found on the manage page under the "URL" heading.
Other radio services use the following, similar, format:
[radiohtml5:ip:port:extra]
[radio:width:height:ip:port:extra:skin]
To embed a Facebook Page and its posts, you just need the name of the desired page.
Replace page name with the name of the Facebook Page you want to embed.
For example:
Once again, to embed a Facebook like box, you only need the name of the desired page.
For example, to embed a Facebook like box:
Use the following code to embed a Twitter profile:
For example:
You first need to register on Geovisite to create your own globe and clock.
For the following codes, the geo id variable refers to the identification number of your Geovisite account. To access it, simply login in here.
Note: Geovisite is not affiliated with xat. We strongly suggest you to use a different password on Geovisite than on xat.
Use the following code to embed a globe:
For example:
Use the following code to embed a view counter (named clock on Geovisite):
For example:
You can embed a bubble shooter game by using the following code:
n refers to the color of the background and can be replaced by any integer between 1 and 10.
1 is default, 2 is blue, 3 is sea, 4 is orange, 5 is pink, 6 is green, 7 is yellow, 8 is white, 9 is red and 10 is purple.
For example:
You can use custom font types from Google Fonts with the following code:
For example, to use the Open Sans font, the code will look like this:
Before using any icons, you must first include the library that you wish to use. There is currently support for the following icon libraries:
Once you have found the desired icon, and have included the correct library, use the following format to display the icon:
The icon sizes must be 1-100 pixels.
When using the Bootstrap or Font Awesome libraries, you do not need to include the "fa fa-" or "glyphicon glyphicon-" prefixes, only the main word.
For example:
If you have any suggestions for new special codes or how to improve the current system, please click here and post a new thread with your suggestions.
More codes may be added with time.