Code Monkey home page Code Monkey logo

youtube-md's Introduction

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.

youtube-md's People

Contributors

harry260 avatar

Stargazers

Akbar Yahya avatar Mayur Tendulkar avatar  avatar

Watchers

 avatar

youtube-md's Issues

Alert box remains persistent

After copying the generated markdown, the alert box that says copied to clipboard remains persistent even on pressing OK.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.