Skip to content

Add Lichess and Chess.com embed providers.#14

Open
ryanpcmcquen wants to merge 3 commits intoinkdropapp:masterfrom
ryanpcmcquen:master
Open

Add Lichess and Chess.com embed providers.#14
ryanpcmcquen wants to merge 3 commits intoinkdropapp:masterfrom
ryanpcmcquen:master

Conversation

@ryanpcmcquen
Copy link
Copy Markdown

This should resolve #13, although I am not sure how to test/deploy these to Vercel.

Signed-off-by: Ryan McQuen <rpcm@linux.com>
@craftzdog
Copy link
Copy Markdown
Contributor

Aren't they allowed to use iframe like YouTube?

https://github.com/inkdropapp/inkdrop-embed/blob/master/src/providers/youtube.js

Gist and Twitter require static pages for embedding:

https://github.com/inkdropapp/inkdrop-embed-provider

@ryanpcmcquen
Copy link
Copy Markdown
Author

Ah, okay, I will modify this PR, thank you.

Signed-off-by: Ryan McQuen <rpcm@linux.com>
@ryanpcmcquen
Copy link
Copy Markdown
Author

@craftzdog I did some cleanup, thank you for noticing that.

@craftzdog
Copy link
Copy Markdown
Contributor

Looks good. Can you give me a few examples to test them?

@craftzdog
Copy link
Copy Markdown
Contributor

Also, please update README.md

@ryanpcmcquen
Copy link
Copy Markdown
Author

I updated the README.

@ryanpcmcquen
Copy link
Copy Markdown
Author

Lichess example:
https://lichess.org/htkTQHbJ/black

@ryanpcmcquen
Copy link
Copy Markdown
Author

Chess.com example:
https://chess.com/emboard?id=13906993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Chess.com and Lichess

2 participants