{"id":18412717,"url":"https://github.com/platzidev/markdown-it-video","last_synced_at":"2025-07-22T23:04:35.711Z","repository":{"id":135039624,"uuid":"278173248","full_name":"PlatziDev/markdown-it-video","owner":"PlatziDev","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-08T19:12:07.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-04-13T00:19:16.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PlatziDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-08T19:09:35.000Z","updated_at":"2021-09-18T07:29:40.000Z","dependencies_parsed_at":"2023-05-12T10:30:19.063Z","dependency_job_id":null,"html_url":"https://github.com/PlatziDev/markdown-it-video","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PlatziDev/markdown-it-video","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatziDev%2Fmarkdown-it-video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatziDev%2Fmarkdown-it-video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatziDev%2Fmarkdown-it-video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatziDev%2Fmarkdown-it-video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlatziDev","download_url":"https://codeload.github.com/PlatziDev/markdown-it-video/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatziDev%2Fmarkdown-it-video/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266586905,"owners_count":23952205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T03:43:12.347Z","updated_at":"2025-07-22T23:04:35.686Z","avatar_url":"https://github.com/PlatziDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# markdown-it-video\n\n\u003e markdown-it plugin for embedding hosted videos.\n\n[![Build Status](https://travis-ci.org/brianjgeiger/markdown-it-video.svg?branch=master)](https://travis-ci.org/brianjgeiger/markdown-it-video)\n\n## Usage\n\n#### Enable plugin\n\n```js\nvar md = require('markdown-it')({\n  html: true,\n  linkify: true,\n  typography: true\n}).use(require('markdown-it-video', { // \u003c-- this use(package_name) is required\n  youtube: { width: 640, height: 390 },\n  vimeo: { width: 500, height: 281 },\n  vine: { width: 600, height: 600, embed: 'simple' },\n  prezi: { width: 550, height: 400 }\n}));\n```\n\n#### YouTube\n\nThis only works in the inline style.\n\n```md\n@[youtube](dQw4w9WgXcQ)\n```\n\nis interpreted as\n\n```html\n\u003cp\u003e\u003cdiv class=\"embed-responsive embed-responsive-16by9\"\u003e\u003ciframe class=\"embed-responsive-item\" id=\"youtubeplayer\" type=\"text/html\" width=\"640\" height=\"390\"\n  src=\"//www.youtube.com/embed/dQw4w9WgXcQ\"\n  frameborder=\"0\"/\u003e\u003c/div\u003e\u003c/p\u003e\n```\n\nAlternately, you could use a number of different YouTube URL formats rather than just the video id.\n\n```md\n@[youtube](http://www.youtube.com/embed/dQw4w9WgXcQ)\n@[youtube](https://www.youtube.com/watch?v=dQw4w9WgXcQ\u0026feature=feedrec_centerforopenscience_index)\n@[youtube](http://www.youtube.com/user/IngridMichaelsonVEVO#p/a/u/1/QdK8U-VIH_o)\n@[youtube](http://www.youtube.com/v/dQw4w9WgXcQ?fs=1\u0026amp;hl=en_US\u0026amp;rel=0)\n@[youtube](http://www.youtube.com/watch?v=dQw4w9WgXcQ#t=0m10s)\n@[youtube](http://www.youtube.com/embed/dQw4w9WgXcQ?rel=0)\n@[youtube](http://www.youtube.com/watch?v=dQw4w9WgXcQ)\n@[youtube](http://youtu.be/dQw4w9WgXcQ)\n```\n\n#### Vimeo\n\nThis only works in the inline style.\n\n```md\n@[vimeo](19706846)\n```\n\nis interpreted as\n\n```html\n\u003cp\u003e\u003cdiv class=\"embed-responsive embed-responsive-16by9\"\u003e\u003ciframe class=\"embed-responsive-item\" id=\"vimeoplayer\" type=\"text/html\" width=\"500\" height=\"281\"\n  src=\"//player.vimeo.com/video/19706846\"\n  frameborder=\"0\"/\u003e\u003c/div\u003e\u003c/p\u003e\n```\n\nAlternately, you could use the url instead of just the video id.\n\n```md\n@[vimeo](https://vimeo.com/19706846)\n@[vimeo](https://player.vimeo.com/video/19706846)\n```\n\n#### Vine\n\nThis only works in the inline style.\n\n```md\n@[vine](etVpwB7uHlw)\n```\n\nis interpreted as\n\n```html\n\u003cp\u003e\u003cdiv class=\"embed-responsive embed-responsive-16by9\"\u003e\u003ciframe class=\"embed-responsive-item\" id=\"vineplayer\" type=\"text/html\" width=\"600\" height=\"600\"\n  src=\"//vine.co/v/etVpwB7uHlw/embed/simple\"\n  frameborder=\"0\"/\u003e\u003c/div\u003e\u003c/p\u003e\n```\n\nAlternately, you could use the url, or even the whole embed tag instead of just the video id.\n\n```md\n@[vine](https://vine.co/v/etVpwB7uHlw/embed/simple)\n@[vine](https://vine.co/v/etVpwB7uHlw/embed/postcard?audio=1)\n@[vine](\u003ciframe src=\"https://vine.co/v/etVpwB7uHlw/embed/simple?audio=1\" width=\"600\" height=\"600\" frameborder=\"0\"\u003e\u003c/iframe\u003e\u003cscript src=\"https://platform.vine.co/static/scripts/embed.js\"\u003e\u003c/script\u003e)\n```\n\n#### Prezi\n\nThis only works in the inline style.\n\n```md\n@[prezi](1kkxdtlp4241)\n```\n\nis interpreted as \n\n```html\n\u003cp\u003e\u003cdiv class=\"embed-responsive embed-responsive-16by9\"\u003e\u003ciframe class=\"embed-responsive-item\" id=\"preziplayer\" type=\"text/html\" width=\"550\" height=\"400\" src=\"https://prezi.com/embed/1kkxdtlp4241/?bgcolor=ffffff\u0026amp;lock_to_path=0\u0026amp;autoplay=0\u0026amp;autohide_ctrls=0\u0026amp;landing_data=bHVZZmNaNDBIWnNjdEVENDRhZDFNZGNIUE43MHdLNWpsdFJLb2ZHanI5N1lQVHkxSHFxazZ0UUNCRHloSXZROHh3PT0\u0026amp;landing_sign=1kD6c0N6aYpMUS0wxnQjxzSqZlEB8qNFdxtdjYhwSuI\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen\u003e\u003c/iframe\u003e\u003c/div\u003e\u003c/p\u003e\n```\n\nAlternately, you could use the url.\n\n```md\n@[prezi](https://prezi.com/1kkxdtlp4241/valentines-day/)\n@[prezi](https://prezi.com/e3g83t83nw03/destination-prezi-template/)\n@[prezi](https://prezi.com/prg6t46qgzik/anatomy-of-a-social-powered-customer-service-win/)\n```\n\n## Options\n\n```js\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatzidev%2Fmarkdown-it-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplatzidev%2Fmarkdown-it-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatzidev%2Fmarkdown-it-video/lists"}