Youtube I could embed as video. The problem is more with links to random servers that could track users IP addresses and user agents.
Discussion
Hmm, good point.
Github Copilot wrote me code to embed youtube videos. Let's deploy.
```
const youtubeRegex = /(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))([\w-]{11})(?:\S+)?/g;
replacedText = reactStringReplace(replacedText, youtubeRegex, (match, i) => {
return (
Sweet!