A simple tool to embed youtube video to your markdown!
Open Web App |
---|
- Fixed Issue#1 : "the alert box that says copied to clipboard remains persistent even on pressing OK."
- Error image will show up if link or id is invalid
Embeding Youtube videos to markdown is impossible. But, you can use this tool to embed youtube video "thumbnail" with all elements which look like real embed. Example below:
[![Me at the zoo](https://youtube-md.vercel.app/jNQXAC9IVRw/640/360)](https://www.youtube.com/watch?v=jNQXAC9IVRw)
You can either use the web app to generate the code or use the Web Api.
Open Web Editor |
---|
https://youtube-md.vercel.app/<video-id*>/<width>/<height> |
---|
*
: required
Parameter | Description | Type | optional |
---|---|---|---|
video-id |
Id of the YouTube video you want to add | Param | No |
width |
Width of the image. Used as height if only width is provided |
Param | Yes |
height |
Height of the Image | Param | Yes |
?height |
Same as height |
Query | Yes |
?width |
Same as width |
Query | Yes |
Note: Default values for width and height are
640
and360
respectively.
Support this project by buying me a coffee and starring ⭐ this repo!
This project is licensed under the MIT License - see the LICENSE file for details.