Isaiah12 downloadsWatch YouTube videos inside your notes in a plain video player, with clickable timestamps, resume and a subscriptions hub. Works on desktop and mobile with no install
Watch YouTube videos inside your Obsidian notes, in a plain video player, and take notes against them with clickable timestamps. Works on desktop and mobile. Nothing else to install.
YouTube for You is an independent project. It is not affiliated with, endorsed by or sponsored by YouTube or Google.
YouTube for You does not strip ads out of YouTube's player. It skips that player: it asks YouTube for
the video's stream and plays it in a normal <video> element. When a video's stream can't be
reached, it falls back to YouTube's own embedded player in the same place.
In Obsidian: Settings → Community plugins → Browse, search for YouTube for You, then Install and Enable.
Until the plugin is listed there, install by hand: download main.js, manifest.json and
styles.css from the latest release
into <your vault>/.obsidian/plugins/ytfree/, then enable YouTube for You under Community plugins.
Put a YouTube URL (or bare video ID) in a ytfree code block:
```ytfree
https://www.youtube.com/watch?v=dQw4w9WgXcQ
```
You get native video controls and Picture-in-Picture for free — those are the browser's, not reimplemented.
| Command | What it does |
|---|---|
| Insert timestamp at cursor | Writes a clickable [12:34] link at the current playback position |
| Insert player from YouTube URL in clipboard | Turns a copied URL into a ytfree block |
| Open YouTube URL from clipboard | Opens (or makes) the copied video's note, at its timestamp |
Clicking a timestamp seeks the player. Bind the timestamp command to a hotkey — it is the whole point of taking notes against a video.
templates/templater-ytfree.md prompts for a URL and builds the note.templates/webclipper-ytfree.json. It fires automatically on
any youtube.com/watch page. The description arrives as a blockquote, with [[ written as an HTML entity, on
purpose: the clipper cannot run the plugin's own escaping, and a raw description can open a
code fence or a heading that breaks the rest of the note. Re-import the template after
updating.Any YouTube video link can open its note in YouTube for You instead of youtube.com, at the link's
timestamp. An existing note for the video is reused (the hub's, or any note whose url /
media_link names it); otherwise the note is made the way the hub makes one.
In a note: on by default (Settings → YouTube links → Open YouTube links here).
The door: obsidian://ytfree?url=<YouTube URL, URL-encoded>. Everything below uses it.
Other Mac apps (Mail, Messages, Slack): install Finicky,
copy scripts/finicky.js to ~/.finicky.js, and set defaultBrowser in it to your browser.
Video links go to Obsidian; everything else goes to the browser as before.
Inside the browser: Settings → YouTube links → Browser bookmarklet → Copy. Make a bookmark and paste that as its address. Click it on a YouTube video tab.
iPhone: build a Shortcut named Open in YouTube for You:
obsidian://ytfree?url= followed by the URL Encoded Text variable.Share any YouTube link (from the YouTube app, Messages, Safari) → Open in YouTube for You.
Anything else: copy the link and run Open YouTube URL from clipboard.
A video starts at 360p within a few seconds of pressing Play, then switches to HD (up to 1080p) while it keeps playing. Nothing is requested from YouTube before you press Play. Settings → YouTube for You has switches for HD and for waiting until HD is ready before starting.
Skips the silences in a video and speeds through music, using the caption timing. Off by default; turn it on per video from the player's controls, or for every video in settings.
Off by default. If you turn on Tidy empty notes after in settings, a video note you played and never wrote in is moved to Obsidian's trash after that many days.
YouTube for You talks to these services. Nothing else, and no telemetry: it sends no data about you or your vault to its author or anyone else.
youtube.com, i.ytimg.com, *.googlevideo.com, and YouTube's image hosts such as
yt3.ggpht.com for channel pictures): video pages, streams, thumbnails, search, channel pages, transcripts and the RSS feeds of channels you subscribe
to. The subscriptions hub checks those feeds on a timer while Obsidian is open (hourly by
default; Settings → Check every). Requests are always signed out.barkernotbob.github.io/obsidian-ytfree/player/, served by
GitHub Pages): only when a video plays in YouTube's own embedded player, which then loads
from YouTube as usual.No programs run, no files outside your vault. YouTube for You runs no other program and
reads or writes nothing outside your vault. Its own data is in .obsidian/plugins/ytfree/.
(Versions before 0.2.2 could run yt-dlp and ffmpeg for offline downloads; see
docs/DESKTOP-HELPERS.md. Versions before sign-in was removed kept a
cookie file in ~/Library/Application Support/obsidian-ytfree/; if you used one, delete that
folder by hand.)
Accounts and payments. No account and no sign-in; nothing is paid for. Your YouTube cookies never reach the plugin.
Ads. YouTube for You shows no ads of its own. When a video falls back to YouTube's embedded player, that player is YouTube's own and YouTube may show its ads in it.
The hub, watch time and watch history are plain JSON files in
.obsidian/plugins/ytfree/, synced by whatever syncs your vault (iCloud, Obsidian Sync,
Google Drive, Dropbox, Syncthing). Each device merges the other's changes and re-sends
anything a sync collision dropped, so two devices end up identical (docs/V1-SCOPE-SYNC.md).
How fast a change crosses is up to your sync service; once the file arrives, an open hub
shows it within 5 seconds.
That folder is hidden. Obsidian Sync carries it only with Settings → Sync → Installed community plugins on, and some Google Drive and phone sync apps skip hidden folders unless told otherwise. If the hub never matches between devices, check that first.
See docs/DEVELOPING.md.