{"action":"created","issue":{"url":"https://api.github.com/repos/adam-p/markdown-here/issues/349","repository_url":"https://api.github.com/repos/adam-p/markdown-here","labels_url":"https://api.github.com/repos/adam-p/markdown-here/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/adam-p/markdown-here/issues/349/comments","events_url":"https://api.github.com/repos/adam-p/markdown-here/issues/349/events","html_url":"https://github.com/adam-p/markdown-here/issues/349","id":148868009,"number":349,"title":"Multimedia?","user":{"login":"eemantsal","id":18057272,"avatar_url":"https://avatars.githubusercontent.com/u/18057272?v=3","gravatar_id":"","url":"https://api.github.com/users/eemantsal","html_url":"https://github.com/eemantsal","followers_url":"https://api.github.com/users/eemantsal/followers","following_url":"https://api.github.com/users/eemantsal/following{/other_user}","gists_url":"https://api.github.com/users/eemantsal/gists{/gist_id}","starred_url":"https://api.github.com/users/eemantsal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eemantsal/subscriptions","organizations_url":"https://api.github.com/users/eemantsal/orgs","repos_url":"https://api.github.com/users/eemantsal/repos","events_url":"https://api.github.com/users/eemantsal/events{/privacy}","received_events_url":"https://api.github.com/users/eemantsal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-16T16:32:55Z","updated_at":"2016-05-25T16:11:47Z","closed_at":null,"body":"Excuse if I'm asking a too elementary question, I don't know much of Markdown. Can be audio and video files be embedded using Markdown-here? AFAIK images can, but what about voice notes, GIF or MNG animations, or videos? With Evernote you can do all this, but I think they use HTML; well, could the same results be achieved with Markdown to compose mails or notes with multimedia content?\r\n\r\nRegards."},"comment":{"url":"https://api.github.com/repos/adam-p/markdown-here/issues/comments/221626110","html_url":"https://github.com/adam-p/markdown-here/issues/349#issuecomment-221626110","issue_url":"https://api.github.com/repos/adam-p/markdown-here/issues/349","id":221626110,"user":{"login":"ErichDonGubler","id":658538,"avatar_url":"https://avatars.githubusercontent.com/u/658538?v=3","gravatar_id":"","url":"https://api.github.com/users/ErichDonGubler","html_url":"https://github.com/ErichDonGubler","followers_url":"https://api.github.com/users/ErichDonGubler/followers","following_url":"https://api.github.com/users/ErichDonGubler/following{/other_user}","gists_url":"https://api.github.com/users/ErichDonGubler/gists{/gist_id}","starred_url":"https://api.github.com/users/ErichDonGubler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErichDonGubler/subscriptions","organizations_url":"https://api.github.com/users/ErichDonGubler/orgs","repos_url":"https://api.github.com/users/ErichDonGubler/repos","events_url":"https://api.github.com/users/ErichDonGubler/events{/privacy}","received_events_url":"https://api.github.com/users/ErichDonGubler/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T16:11:47Z","updated_at":"2016-05-25T16:11:47Z","body":"The short answer is: links and images are fine, but maybe not other types of media. MDH is mainly geared towards writing Markdown in mail clients, so if you want anything other than images (including GIFs) you may just be stuck using links or attachments.\r\n\r\nMarkdown is basically a convenient notation that relate to commonly-used HTML (lists, blockquotes, etc.). If you write HTML and run it through a Markdown parser, the general expectation is that it returns the HTML. In the case of Markdown Here, you need to write the HTML text in your editor first and THEN use MDH to convert it so that it renders properly. If you have a method of embedding video (Youtube embeds) or audio (links?), you write them as raw text and then use MDH to put them in as HTML. For instance, if you wrote the following:\r\n\r\n```\r\n![some gif](http://i.imgur.com/7wjjB5a.gif)\r\n```\r\n\r\n...you'd get this:\r\n\r\n![some gif](http://i.imgur.com/7wjjB5a.gif)\r\n\r\nGIFs should work for MDH. For video on Youtube, using HTML on a web page you could do this:\r\n\r\n```\r\n<iframe src=\"//www.youtube-nocookie.com/embed/uzjFEMmM0Xs?rel=0\" frameborder=\"0\" allowfullscreen></iframe>\r\n```\r\n\r\nBut `iframe` usage is dependent on the platform you're using. I used that embed on a post I wrote for my [personal website](http://erichdongubler.github.io/spiritual/2014/12/07/his-gifts-are-many/), but Github and Gmail don't allow iframes for security reasons below. When I paste that snippet in this post, nothing gets rendered.\r\n\r\n<iframe src=\"//www.youtube-nocookie.com/embed/uzjFEMmM0Xs?rel=0\" frameborder=\"0\" allowfullscreen></iframe>\r\n\r\nLikewise, when I try to paste an `iframe` into Gmail and use MDH to render, it seemingly disappears because Gmail refuses to render them for the same reason. For those cases, I would usually just use a link like:\r\n\r\n```\r\nhttp://www.youtube-nocookie.com/embed/uzjFEMmM0Xs?rel=0\r\n```\r\n\r\nYou mentioned Evernote -- Evernote has its own storage and method of presenting rich media like audio and video. Unfortunately, that is outside of the scope of Markdown. If you can't write it in HTML on your mail clients, then you probably can't do it with MDH. "}}
{"actor":{"display_login":"ErichDonGubler"}}