inherit
255769
0
Apr 27, 2024 0:18:35 GMT -8
Radrook
Some participation would be greatly appreciated.
291
July 2018
radrook
|
Post by Radrook on Apr 15, 2024 17:32:33 GMT -8
Forum URL: varietygalore.boards.net/Is it possible to effectively embed the daily chess puzzle from Lichess on my website? Embed lichess.org/developers#embed-gameThis s what they tell me to paste: <iframe src="https://lichess.org/training/frame?theme=brown&bg=dark" style="width: 400px; height: 444px;" allowtransparency="true" frameborder="0"></iframe>
|
|
Kami
Forum Cat
Posts: 40,032
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,032
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Apr 15, 2024 18:53:07 GMT -8
Maybe in your headers/footers, a custom page, or in a specific team template; technically, PB is designed to break out of iframes, but I believe it's only if a PB site is put in one, and doesn't also break any iframes place onto a PB site.
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,858
December 2005
horace
|
Post by Chris on Apr 15, 2024 18:55:08 GMT -8
Forum URL: varietygalore.boards.net/Is it possible to effectively embed the daily chess puzzle from Lichess on my website? Embed lichess.org/developers#embed-gameThis s what they tell me to paste: <iframe src="https://lichess.org/training/frame?theme=brown&bg=dark" style="width: 400px; height: 444px;" allowtransparency="true" frameborder="0"></iframe> For BBCode content areas, you could accomplish this using the View in Post plugin making sure to allow-popups and allow-scripts for the iframe security sandbox The iframe from lichess, however, isn't very interactive since it simply redirects you away from the forum upon clicking or attempting to drag a piece. The chesstempo PGN Viewer plugin, on the other hand, allows you to do a move-by-move analysis of puzzles as well as entire games while still viewing the post with the PGN data embedded right there in the post Example:
|
|
inherit
255769
0
Apr 27, 2024 0:18:35 GMT -8
Radrook
Some participation would be greatly appreciated.
291
July 2018
radrook
|
Post by Radrook on Apr 15, 2024 20:10:30 GMT -8
Thanks! I will check the plugin you just mentioned.
|
|
inherit
255769
0
Apr 27, 2024 0:18:35 GMT -8
Radrook
Some participation would be greatly appreciated.
291
July 2018
radrook
|
Post by Radrook on Apr 15, 2024 20:13:06 GMT -8
Maybe in your headers/footers, a custom page, or in a specific team template; technically, PB is designed to break out of iframes, but I believe it's only if a PB site is put in one, and doesn't also break any iframes place onto a PB site. Thanks: I will try the headers and footers. BTW What is an Iframe? What does breaking out of an Iframe mean?
|
|
inherit
Official Code Helper
65613
0
1
Apr 15, 2024 17:01:41 GMT -8
Chris
"'Oops' is the sound we make when we improve"
8,858
December 2005
horace
|
Post by Chris on Apr 15, 2024 20:51:29 GMT -8
Maybe in your headers/footers, a custom page, or in a specific team template; technically, PB is designed to break out of iframes, but I believe it's only if a PB site is put in one, and doesn't also break any iframes place onto a PB site. Thanks: I will try the headers and footers. BTW What is an Iframe? What does breaking out of an Iframe mean? An iframe allows nesting a document within another document so a lichess.org document can exist within a proboards.com document (think Inception). The View in Post plugin mentioned above simply creates an iframe within the post to display a document from a different location. This method is more secure because it has crippling safeguards in place to prevent one site from interfering with the operations of another site or stealing credentials from unsuspecting users. Breaking out of an iframe used to involve codes that detected whether the document was running at the top level and, if not, breaking out of the dream realm back into reality. Nowadays, there are multiple HTTP headers a server can send to the browser that deny access to the document if certain conditions are not met, such as not being displayed at the top level.
|
|
inherit
255769
0
Apr 27, 2024 0:18:35 GMT -8
Radrook
Some participation would be greatly appreciated.
291
July 2018
radrook
|
Post by Radrook on Apr 16, 2024 14:28:20 GMT -8
Thanks for the explanation. I understand it better now.
|
|