This plugin
- Starts VLC Player with the Web Interface active and opens video addresses written in Obsidian URI format at the specified time,
- Pastes timestamped link or snapshot from existing video into note
- Allows you to control the player by sending request to the VLC Web Interface with commands,
so you can take notes from the video without losing focus from the Obsidian Editor.
demo.mp4
Turn off Settings → Community plugins → Restricted mode
, click Settings → Community plugins → Browse
and search for "VLC Bridge" or open this link, then install and enable it.
Or:
- Install and activate BRAT by opening the
obsidian://show-plugin?id=obsidian42-brat
link or fromSettings → Community plugins → Browse
- Install VLC Bridge by using the
Add a beta plugin for testing
command and then enteringzuluwi/obsidian-vlc-bridge
or by opening the linkobsidian://brat?plugin=zuluwi/obsidian-vlc-bridge
- Download Latest version
- Create a new folder at
<vault_location>/.obsidian/plugins
- Move the downloaded
main.js
andmanifest.json
files to this folder - Turn off
Settings → Community plugins → Restricted mode
and enable VLC Bridge inInstalled plugins
.
Important
To use the plugin, you must first select vlc.exe
in the plugin settings from the location where VLC Player is installed and then set a port number
- Using the
Select a file to open with VLC Player
command or by clicking on the icon in the sidebar - By clicking on a timestamp link you created with the plugin
- or by dragging and dropping a video to the player you have already opened with the plugin
you can control VLC Player with the plugin for videos you open in these ways.
Tip
If you want to be able to use the plugin when you open VLC yourself on your computer, you must save the parameters you set in the plugin settings in the VLC preferences
- Open
Tools → Preferences → select "All" in "Show Settings" at the bottom-left corner → Interface → Main interfaces
and checkWeb
, then inMain interfaces → Lua
set the password tovlcPassword
in theLua HTTP
header select "Simple" in "Show Settings" at the bottom-left corner → Video → Video snapshots
and setDirectory
to the folder you set in the plugin settings- VLC Player uses port
8080
and this cannot be changed in the preferences, so you have to set the port to8080
in the plugin settings.
Open the command palette (Ctrl+P) and use the command Paste timestamped link of current video
to paste the timestamped link of the current video where the cursor is in the editor.
Link Syntax:
[{{Timestamp Linktext}}](obsidian://vlcBridge?mediaPath=<File URI>&subPath=<File URI or Absolute Path>&subDelay=<in seconds>×tamp=<in seconds or percentage value>)
Tip
- Check
Pause video while pasting timestamp
in Settings - You can add delay with
Timestamp offset
setting - In the
Link templates
settings you can setTimestamp linktext
and a template for how to paste the link
If you want to include the subtitle link in the video link, instead of dragging the subtitle to the VLC Player, use the Add subtitles
command to select the file and add it to the video, otherwise the plugin will not be able to access the existing subtitle in the player.
Open the command palette (Ctrl+P) and use the Take and paste snapshot from video
command to paste a snapshot of the current video with the timestamped link where the cursor is in the editor.
Tip
- Check
Pause video while pasting snapshot
in Settings - If you want to open the exact frame in the snapshot with the timestamp link, enable
Use percentile position instead of seconds as timestamp value in the link
in Settings - In the
Link templates
settings you can setSnapshot linktext
and a template for how to paste the snapshot embed
Syncplay is an application that connects to an online server to open the preferred player and synchronizes the connected players. By selecting Syncplay.exe
from the plugin settings and clicking the Start Syncplay button, you can start Syncplay so that the plugin interacts with the VLC Player that the app will open.
Tip
Create a shortcut with the url obsidian://vlcBridge-runSyncplay
to open Obsidian and then Syncplay
- Media Extended
- Obsidian VLC Control
- Syncplay
- Obsidian Kanban (for localization handler)