|
27 | 27 | Trying to embed well known services (like [CodePen][codepen], |
28 | 28 | [CodeSandbox][codesandbox], [GIPHY][giphy], [Instagram][instagram], |
29 | 29 | [Lichess][lichess], [Pinterest][pinterest], [Slides][slides], |
30 | | -[SoundCloud][soundcloud], [Spotify][spotify], [Streamable][streamable], |
31 | | -[Twitch][twitch], [Twitter][twitter] or [YouTube][youtube]) into your |
32 | | -[Gatsby][gatsby] website can be hard, since you have to know how this needs to |
33 | | -be done for all of these different services. |
| 30 | +[SoundCloud][soundcloud], [Spotify][spotify], [Streamable][streamable], [Testing |
| 31 | +Playground][testing-playground], [Twitch][twitch], [Twitter][twitter] or |
| 32 | +[YouTube][youtube]) into your [Gatsby][gatsby] website can be hard, since you |
| 33 | +have to know how this needs to be done for all of these different services. |
34 | 34 |
|
35 | 35 | ## This solution |
36 | 36 |
|
37 | 37 | `gatsby-remark-embedder` tries to solve this problem for you by letting you just |
38 | | -copy-paste the link to the gif/pen/pin/player/post/sandbox/tweet/video you want |
39 | | -to embed right from within your browser onto a separate line (surrounded by |
40 | | -empty lines) and replace it with the proper embed-code. |
| 38 | +copy-paste the link to the |
| 39 | +gif/pen/pin/player/playground/post/sandbox/tweet/video you want to embed right |
| 40 | +from within your browser onto a separate line (surrounded by empty lines) and |
| 41 | +replace it with the proper embed-code. |
41 | 42 |
|
42 | 43 | ## Table of Contents |
43 | 44 |
|
@@ -563,6 +564,33 @@ https://streamable.com/moo |
563 | 564 |
|
564 | 565 | </details> |
565 | 566 |
|
| 567 | +### Testing Playground |
| 568 | + |
| 569 | +#### Usage |
| 570 | + |
| 571 | +```md |
| 572 | +https://testing-playground.com/?markup=DwGwhgRgpiAEBmB7ATgXgEQFcDOVkDswBbKdAPgFVcDipgB6caEMgKGAEt8AHTAF1YcAJhhx5CJdKwlRR1GVO7gAxlAAWiEELwYNAd1jYNmLbACSsZWBBwAnokwB%2BKULB8wAWj5RsfYaIVWPz4QWXQofG9kWHtMaLEaSVZrPgwIqJiHePlaKQA3a0wwgCtENXwPIURSINtuMO8ADz4pejZgCH4%2BRHxYGQxsDgBzfExudFg%2BOrDsTAgiDhayQZGxhk6%2BbvwyIA&query=PTAEEUFcFMCcE9TwPaVqaAbaBbaA7AFwGdQALOaAGlAAdZoAzOAQwCNNEB3AS0LIBQIUAANiAYwYEAdAHNohAELxAZAQAKFQEoR00AElGSVKHEt8AckKhIxaELASp%2Ba7dHjkRFj3xxpARxgEAGUsaHFCZFgNbWkBexMPQi8fWH9A%2BBDscMi1c29aSEJzTQFHaBl5JXgAJWRsXLZCiItNIA |
| 573 | +``` |
| 574 | + |
| 575 | +<details> |
| 576 | +<summary><b>Result</b></summary> |
| 577 | + |
| 578 | +```html |
| 579 | +<iframe |
| 580 | + src="https://testing-playground.com/?markup=DwGwhgRgpiAEBmB7ATgXgEQFcDOVkDswBbKdAPgFVcDipgB6caEMgKGAEt8AHTAF1YcAJhhx5CJdKwlRR1GVO7gAxlAAWiEELwYNAd1jYNmLbACSsZWBBwAnokwB%2BKULB8wAWj5RsfYaIVWPz4QWXQofG9kWHtMaLEaSVZrPgwIqJiHePlaKQA3a0wwgCtENXwPIURSINtuMO8ADz4pejZgCH4%2BRHxYGQxsDgBzfExudFg%2BOrDsTAgiDhayQZGxhk6%2BbvwyIA&query=PTAEEUFcFMCcE9TwPaVqaAbaBbaA7AFwGdQALOaAGlAAdZoAzOAQwCNNEB3AS0LIBQIUAANiAYwYEAdAHNohAELxAZAQAKFQEoR00AElGSVKHEt8AckKhIxaELASp%2Ba7dHjkRFj3xxpARxgEAGUsaHFCZFgNbWkBexMPQi8fWH9A%2BBDscMi1c29aSEJzTQFHaBl5JXgAJWRsXLZCiItNIA" |
| 581 | + width="100%" |
| 582 | + height="300" |
| 583 | + scrolling="no" |
| 584 | + frameborder="0" |
| 585 | + allowtransparency="true" |
| 586 | + allowfullscreen="true" |
| 587 | + style="overflow: hidden; display: block;" |
| 588 | + loading="lazy" |
| 589 | +></iframe> |
| 590 | +``` |
| 591 | + |
| 592 | +</details> |
| 593 | + |
566 | 594 | ### Twitch |
567 | 595 |
|
568 | 596 | Twitch embeds can only be embedded on HTTPS websites. Check out [the Gatsby |
|
915 | 943 | [soundcloud]: https://soundcloud.com |
916 | 944 | [spotify]: https://spotify.com |
917 | 945 | [streamable]: https://streamable.com |
| 946 | +[testing-playground]: https://testing-playground.com |
918 | 947 | [twitch]: https://twitch.tv |
919 | 948 | [twitter]: https://twitter.com |
920 | 949 | [twitter-widget-javascript-docs]: https://developer.twitter.com/en/docs/twitter-for-websites/javascript-api/overview |
|
0 commit comments