Skip to content

Harry260/youtube-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube MD

A simple tool to embed youtube video to your markdown!



Open Web App

Changes

  1. Fixed Issue#1 : "the alert box that says copied to clipboard remains persistent even on pressing OK."
  2. Error image will show up if link or id is invalid

Table Of Contents

Example

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)

Me at the zoo

Usage

You can either use the web app to generate the code or use the Web Api.

Open Web Editor
API
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 and 360 respectively.

Support

Support this project by buying me a coffee and starring ⭐ this repo!

Buy Me A Coffee

License

This project is licensed under the MIT License - see the LICENSE file for details.