Skip to content

Conversation

@elliott-liu
Copy link

Summary

I wanted to be able to use commands to control the player in reading mode, as well as the editor modes.

Overview

  1. Switched play-pause, seek-forward, and seek-backward commands from using editorCallback to callback method
  2. Renamed the existing play-pause (Pause player) command to toggle-play-pause-video (Toggle play/pause video)
  3. Enforced sentence case for command names seek-forward (now "Seek forward") and seek-backward (now "Seek backwards")
  4. Added new play-video (Play video), and pause-video (Pause video) commands

`editorCallback` restricts playback commands to MarkdownView only. This has been replaced with `callback` to enable playback control in any editing mode Obsidian.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant