Skip to content

vyleung/logseq-helium-plugin

Repository files navigation

logseq-helium-plugin

If you find this plugin – or any of my other Logseq plugins – useful and would like to support me, you can buy me a coffee 🙂

Features

Float videos for an improved note-taking experience in 3 ways:

  • Block context menu (right-click on bullet) → 🎈 Start float
  • Slash (/) command → 🎈 Start float
  • Keyboard shortcut
    • Usage: click on the task (as if to edit it) → activate the keyboard shortcut (can be configured in the settings)

Note about videos

When a video is being floated, clicking on the dimensions icon underneath the balloon icon will enable the video's height (H) and width (W) to be individually or simultaneously adjusted.

If the video is a YouTube video or a local video, you can use keyboard shortcuts to play/pause and skip forward/backward as well as adjust the video's playback speed (keyboard shortcuts, skip duration, and playback speed increment can be configured in the settings)

Demo

  • v.1.0.x: Using the block context menu to float the video
    logseq-helium-plugin main demo (block context menu)
  • v.1.1.x: Using the keyboard shortcut to float the video
    logseq-helium-plugin main demo (keyboard shortcut)
  • v.2.0.x: Using keyboard shortcuts to play/pause the video and skip forward/backward in the video
    logseq-helium-plugin v.2.0.0 demo
  • v.2.1.x: Adjust the video's playback speed and set a default playback speed for videos logseq-helium-plugin v.2.1.0 demo

Settings

  • Each time you make changes to the plugin settings, please refresh Logseq to ensure that all settings are updated
    logseq-helium-plugin settings

Installation

Preparation

  1. Click the 3 dots in the righthand corner → SettingsAdvanced → Enable Developer mode and Plug-in system
  2. Click the 3 dots in the righthand corner → Plugins – OR – Use keyboard shortcut Esc t p

Load plugin via the marketplace (recommended)

  1. Click the 3 dots in the righthand corner → Plugins – OR – Use keyboard shortcut Esc t p
  2. Go to the Marketplace tab and search for Helium → Click Install

Load plugin manually

  1. Download the latest release of the plugin (e.g logseq-helium-plugin-v.1.0.0.zip) from Github
  2. Unzip the file
  3. Navigate to plugins (Click the 3 dots → Plugins – OR – Use keyboard shortcut Esc t p) → Load unpacked plugin → Select the folder of the unzipped file

License

MIT

Credits

About

a Logseq plugin to float items (e.g. videos) for an improved note-taking experience

Topics

Resources

License

Stars

Watchers

Forks