Fix YouTube Error 153 in Obsidian
Resolve YouTube embedding issues when videos show Error 153 instead of playing
When embedding YouTube videos in Obsidian notes, you might encounter "Error 153" displayed instead of the video thumbnail or player. This error prevents videos from loading and is typically caused by cookie or privacy restrictions.
Solution
Clear YouTube Cookies (Troubleshooting)
Available in Media Extended v4.1.2
- Open the Command Palette with Ctrl / ⌘ + P
- Search for and select "Clear YouTube cookies"
- Wait for the confirmation notice
This command clears cookies from both youtube.com
and youtube-nocookie.com
domains. It should fix the issue after re-opening the note.
Manual fix
If you prefer to fix it manually, you can do the following:
- Open Developer Tools
- On Windows, you can open it with Ctrl + Shift + I
- On macOS, you can open it with ⌘ + ⌥ + I
- From the obsidian menu:
View
>Toggle Developer Tools
- Open the
Application
tab - expand
Cookies
- right-click any YouTube cookies (
https://www.youtube.com
orhttps://www.youtube-nocookie.com
) - select
Clear
.
Replace iframe Host with No-Cookie Variant
If you're using iframe HTML embeds in your notes, you can manually change the host from youtube.com
to youtube-nocookie.com
to avoid Error 153:
Before:
<iframe src="https://www.youtube.com/embed/VIDEO_ID"></iframe>
After:
<iframe src="https://www.youtube-nocookie.com/embed/VIDEO_ID"></iframe>
This privacy-enhanced domain doesn't use third-party cookies, reducing the likelihood of Error 153.
Use Media Extended's Embed Feature (Recommended)
Media Extended uses YouTube's no-cookie variant (youtube-nocookie.com
) for embeds by default, which significantly reduces the likelihood of encountering Error 153. To embed YouTube videos properly with Media Extended:
- Use the standard image embed syntax with the YouTube URL:

Or with timestamp and other properties:

For complete embed syntax and options, see the Media Embeds documentation.