# Youtube embed

**URL:** <https://discourse.joplinapp.org/t/youtube-embed/4638>\
**Category:** Features\
**Created:** [10 December 2019 17:17 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638 "2019-12-10T17:17:48Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![chajadesign](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/chajadesign/32/1849_2.png) [@chajadesign](https://discourse.joplinapp.org/u/chajadesign)\
**Post date:** [10 December 2019 17:17 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/1 "2019-12-10T17:17:48Z")

</div>

Hello, when adding youtube videos using the embed code the options to view fullscreen or go to youtube is not working in Joplin.  
Hope this can be implemented in futher version.

Thanks.

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [10 December 2019 19:04 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/2 "2019-12-10T19:04:33Z")

</div>

The purpose of the app is to create and manage notes and attachments, so you know that if you create a note 10 years from now it will still be readable and all attachments will be available.

That’s not true of YouTube videos as whatever you link today might be gone tomorrow. So for that reason video links aren’t supported and probably won’t be supported.

---

<div class="post-metadata">

**Author:** ![chajadesign](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/chajadesign/32/1849_2.png) [@chajadesign](https://discourse.joplinapp.org/u/chajadesign)\
**Post date:** [11 December 2019 10:11 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/3 "2019-12-11T10:11:07Z")

</div>

As you already accomodate embedding of youtube video why not fine tuning this so users can have better use of it. Seems strange to me why you bother if a user cannot use a link anymore.  
It is his/her responsibility to use it and know the advantages and disadvantages.

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [11 December 2019 10:27 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/4 "2019-12-11T10:27:01Z")

</div>

> As you already accomodate embedding of youtube video

Actually we don't. The editor supports HTML so certain things might work even if we don't explicitly support them, and that's the case with YouTube videos. That being said, if someone can make a simple fix to provide full support for it, I won't be opposed to it.

---

<div class="post-metadata">

**Author:** ![chajadesign](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/chajadesign/32/1849_2.png) [@chajadesign](https://discourse.joplinapp.org/u/chajadesign)\
**Post date:** [11 December 2019 10:32 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/5 "2019-12-11T10:32:31Z")

</div>

I would really appreciate if this could be accomplished by someone. Thanks!

---

<div class="post-metadata">

**Author:** ![krntsck](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/krntsck/32/10682_2.png) [@krntsck](https://discourse.joplinapp.org/u/krntsck)\
**Post date:** [28 December 2019 13:28 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/6 "2019-12-28T13:28:47Z")

</div>

Actually, I get your point, laurent:

1. Yes, it matters if links are useable and notes containing hundreds of references to non-existing files will be of next to no use and impossible to fix for a user in such a situation. This shgould be avoided.
2. The solution could be to allow downloading media content - nit just YOuTube, but also Soundcloud and whatnot. Ideally, this could be implemented as a kind of open link that allows for little snippets of code to be written in order to add new sources.
3. These media files could be stored within the folder for the rest of the entry, maybe in a subfolder with the name of the extension

I wished for this a thousand times, as often I need media files alongside with a note. For now, I separately download the file, put it in a folder and link to it from within the note. It is quite a cumbersome process.

The same goes for embedded content from the likes of Twitter or Facebook, as can often be found in articles quoting from such sources…

---

<div class="post-metadata">

**Author:** ![fhll](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@fhll](https://discourse.joplinapp.org/u/fhll)\
**Post date:** [14 May 2020 16:40 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/7 "2020-05-14T16:40:26Z")

</div>

If you have the video direct link or local file, it can work around with video tag, but it will be deleted if you use WYSIWYG edit mode.

Video tag sample:  
[https://www.w3schools.com/tags/tag\_video.asp](https://www.w3schools.com/tags/tag_video.asp)

For youtube video, I tried Iframe tag and Object tags, but they are not working.  
Iframe Object tag sample:  
[http://www.simplehtmlguide.com/youtube.php](http://www.simplehtmlguide.com/youtube.php)

---

<div class="post-metadata">

**Author:** ![TensorTom](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tensortom/32/5323_2.png) [@TensorTom](https://discourse.joplinapp.org/u/TensorTom)\
**Post date:** [14 October 2020 09:57 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/8 "2020-10-14T09:57:45Z")

</div>

Ahah! but you all are forgetting about youtubedl. No need to rely on the future of youtube.

(I signed up here to request video embeds)

---

<div class="post-metadata">

**Author:** ![joeschmoe](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/joeschmoe/32/9127_2.png) [@joeschmoe](https://discourse.joplinapp.org/u/joeschmoe)\
**Post date:** [15 September 2021 19:17 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/9 "2021-09-15T19:17:03Z")

</div>

I would like to see iframe etc fully supported as well.

> The purpose of the app is to create and manage notes and attachments, so you know that if you create a note 10 years from now it will still be readable and all attachments will be available.

Technically an iframe with a video is no more an attachment than a regular URL is. A URL could easily give me a 404 at any time. I'd rather have the power to have that happen than not.

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [15 September 2021 19:48 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/10 "2021-09-15T19:48:35Z")

</div>

Creating a plugin for this would be quite easy.

---

<div class="post-metadata">

**Author:** ![joeschmoe](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/joeschmoe/32/9127_2.png) [@joeschmoe](https://discourse.joplinapp.org/u/joeschmoe)\
**Post date:** [26 September 2021 06:15 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/11 "2021-09-26T06:15:47Z")

</div>

having not written a plugin before, aside from just reading the instructions on how to write one, is there anything else you can tell me that would be helpful in figuring out what I need for this particular plugin? What do I need to look for?

---

<div class="post-metadata">

**Author:** ![joeschmoe](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/joeschmoe/32/9127_2.png) [@joeschmoe](https://discourse.joplinapp.org/u/joeschmoe)\
**Post date:** [1 October 2021 01:24 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/12 "2021-10-01T01:24:43Z")

</div>

Thoughts?

---

<div class="post-metadata">

**Author:** ![joeschmoe](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/joeschmoe/32/9127_2.png) [@joeschmoe](https://discourse.joplinapp.org/u/joeschmoe)\
**Post date:** [28 October 2021 00:47 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/13 "2021-10-28T00:47:15Z")

</div>

@laurent ☝

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [28 October 2021 18:51 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/14 "2021-10-28T18:51:54Z")

</div>

There are a bunch of [samples](https://github.com/laurent22/joplin/tree/dev/packages/app-cli/tests/support/plugins) in the code base, which should help.

Also, I think there are a few [plugins](https://discourse.joplinapp.org/t/plugin-list/17671), which do something similar (from a code perspective).

---

<div class="post-metadata">

**Author:** ![alexploter](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/alexploter/32/12730_2.png) [@alexploter](https://discourse.joplinapp.org/u/alexploter)\
**Post date:** [15 February 2022 18:41 UTC](https://discourse.joplinapp.org/t/youtube-embed/4638/15 "2022-02-15T18:41:55Z")

</div>

I save web pages as notes using the Joplin Web Clipper browser extension to read them later. But I have to follow the link to the original post every time to check if I missed any video in it. Why is it so difficult to add iframe support in Joplin, while in Obsidian it works out of the box?
