Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1655

How to Create my own Svelte Embed Component

$
0
0

Certain platforms like GitBook allow you to insert an embed URL, like https://www.youtube.com/embed/eGUEAvNpz48, and it displays as a component on that website, as seen here:

enter image description here

I want to create my own embed component using SvelteKit and have it available at some URL, like https://test/embed, that I can plug in to platforms and have it display as a widget, but I'm not sure how to do that.

In simpler forms, my question is, how do I create an embed component like https://www.youtube.com/embed/eGUEAvNpz48 using SvelteKit?


Viewing all articles
Browse latest Browse all 1655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>