Error 153 when Embedding Youtube Videos

I keep getting a video unplayable “Error 153” message when trying to embed a YouTube video.

I have tries the basic syntax :
![]()

iframe:
<iframe src="INSERT YOUR URL HERE"></iframe>

and the commnity plugin convert URL to preview all with the same result.

It seems like some other users have had this issue and the responses are “Well it works for me”. I’d appreciate some help on this matter. Thanks!

11 Likes

Can you share a few links, in a code block so others can check them? e.g.

```
![](https://www.youtube.com/watch?v=c5v4LJJkvUU)

![](https://www.youtube.com/watch?v=jfKfPfyJRdk)
```

Also, I marked your examples above as inline code (single backticks) so we can see them. Hope you don’t mind.

Not much help, I know, but I was following some YouTube channels on the Feedly RSS reader because it seemed to get me fewer ads, and the same thing happened there a couple of weeks ago

  • error 153 everywhere. Maybe it’s YouTube moving the goalposts?
2 Likes

Same is happening in my vault, every new and existing youtube embed is showing “Error 153: error of the video player configuration”.

Examples:

![](https://youtu.be/2NTKh_hLefQ?si=aMmaXi2YzrJTa8JR)
![https://youtu.be/mH0xsQAIWNk?si=nSdJHXg0OLhOdBMe](https://youtu.be/mH0xsQAIWNk?si=nSdJHXg0OLhOdBMe) 

Both of those are working on my end.

I have tried those too and it works for me. I’m on the Android version of Obsidian, if that helps. I will try it later on the computer to see what happens.

I’ve got the same problem, when I try to make an iframe with a youtube link it says error 153.
Some of my friend does not have this problem, I am the only one. If you managed to solve this problem please let me know how. I tired bunch of things like deliteng the cache, or disabiliting the youtube ad blocker but nothing.

What’s the output of show debug info?

Someone posted a possible solution here:

It’s in Japanese, but a quick translation:

Reason:

This is because Obsidian has a third-party cookie for the YouTube domain, which causes the error.

Workaround:

Open Chrome DevTools in Obsidian and delete your cookies.

  1. Launch Obsidian and open the (notebook) vault where the error appears.
  2. Open Chrome DevTools. Open the Application tab, expand Cookies, and right-click any YouTube cookies to select Clear.

Once the Cookies are cleared, you’re good to go. Close the note and reopen it, and the video thumbnail should appear.


I also suspect it may, in part, have to do with region/country/geo-locking for embeds, but that’s just a guess.

7 Likes

Bear with me I’m not very savvy in the ways of these computer things just yet.

I’m not sure how to open the chrome devTools in obsidian. As it is now, obsidian is an application on my MAC and I dont have an option to open a page in a browser.

It seems like a lot of people are only recently having this issue, could it be related to an update by youtube?

I just opened another thread, definitely related: Copypasting YouTube link obtained by Obsidan Web Clipper

Try using Obsidian Web Clipper to embed YT videos, that works for me, but writing the exact same line doesn’t.

1 Like

Cmd-Option-i on macOS, then Application :right_arrow: Storage :right_arrow: Cookies :right_arrow: right click YouTube cookies to “Clear”.

4 Likes

Thank you for the answer. I tried this and can confirm that after reloading the note, the video is being displayed correctly again.

Obsidian 1.9.12, Windows 10, South America. Made no difference upon reloading the note.

Thank you! Your instructions worked perfectly.

1 Like

This worked for me, eventually!

I had to clear the cookies a few times, and restart Obsidian a few times for it to show any effect. Then there was the weird behaviour where it wasn’t fixed until I pasted a few more embedded videos in the same note. Only then did some work, where others did not. Finally, removing the ones that did not work, and pasting in a new (identical) link fixed it.

All thanks go to Minerva and their initial post. :palms_up_together:

Everyone please click through to it; there’s a helpful screenshot.


I mentioned region initially because I stumbled upon an error 153 link and the steps didn’t work for me, but using a VPN (exit location New Zealand) worked though I may have not fully cleared the cookies, it was a fluke, who knows.

I ran into this today on Windows 11. The solution I found was to

  1. Close Obsidian
  2. navigate to %appdata%/obsidian/Network and delete the Cookies file
  3. Relaunch Obsidian
3 Likes

Thank you! I’ve managed to make it work by clearing YouTube cookies in Obsidian. :slight_smile:

Thank you, worked perfectly. Wonder if this is a Safari or Webclipper thing (maybe both)… in any case - thank you again!