79451593

Date: 2025-02-19 14:02:42
Score: 2.5
Natty:
Report link

The best way is to do it via HTML and CSS like robin mentioned in his comment. If you wanna do the same in Markdown, or just without using CSS, read on...

I made an open-source API to add a play button to Youtube thumbnails given a Youtube id or URL, simply input the video URL to this API i developed like so: https://markdown-videos-api.jorgenkh.no/url?https://youtu.be/dQw4w9WgXcQ

Result:

Definitely not a rickroll

Documentation can be found here if you wanna customize the size: https://markdown-videos-api.jorgenkh.no/docs

I even made a website to make it easier for you to input video URLs: https://markdown-videos.jorgenkh.no/

And best of all, the code is fully open sourced, so you can fork it and host it yourself if you'd like: https://github.com/Snailedlt/Markdown-Videos

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Snailedlt