Embed PGN

Replay chess PGN files in your web site

How to do it:

You can embed one ore more games right in your html code like this:
Or you load it as file from your server:
In both cases the key is the enclosing
with class="cbreplay".
You can put as many games or databases as you like in one page. The script will only be loaded once.
Additionally, you have to add the following three lines to the 'head' - section of your html code:
The "jQuery" file in the second line is not needed if you have it already in your web page (quite common). jQuery version 1.14 or higher is sufficient

More Tools to Embed

Tactics Solve easy tactical positions. Thousands of positions available. Your visitors will stay a lot longer when solving positions. Example and Code
Live Blitz Chess Kibitz a strong blitz game currently played on playchess.com. Nice entertainment. Longer visitor duration for you. Example and Code
Your own chess server Visitors of your site can play blitz games with one click. No need to leave your page. Will increase visitor duration a lot. Example and Code
Chess Program Fritz Let people play against a chess program with the strength of an average club player. Entertaining games, no frustration by unbeatable engines or artificial handicaps. Will your visitors in your site and let them return. Example and Code
PGN Files Let your viewers replay chess games in PGN format. Comfortable player with integrated chess engine and annotation functions. Example and Code
Live Chess Tournaments Follow grandmaster games currently being played in real tournaments. Broadcast specific tournaments. Example and Code
Diagrams Show your chess content with interactive diagrams. Users can enter and replay moves or even play out positions against a chess program. This will enrich the user experience of your site. Example and Code