Knowledge Objects

by LockedCore
5
4
3
2
1
Score: 50/100

Description

Reviews

No reviews yet.

Stats

0
stars
128
downloads
0
forks
79
days
78
days
78
days
2
total PRs
0
open PRs
0
closed PRs
2
merged PRs
0
total issues
0
open issues
0
closed issues
23
commits

Latest Version

3 months ago

Changelog

修复 Obsidian 启动后迷你播放器按钮无效的问题。播放器现在会在工作区布局就绪后初始化,并能在界面节点失效时自动重新挂载。

README file from

Github

Knowledge Objects music player

Knowledge Objects

Knowledge Objects renders semantic objects stored in Markdown as interactive components in Obsidian.

The initial release supports local music objects.

Features

  • Render music fenced code blocks as audio players
  • Display title, artist, cover image, progress, and duration
  • Support local audio and image files stored inside the vault
  • Work on desktop and mobile
  • Preserve readable Markdown when the plugin is unavailable

Usage

Create a fenced music block:

title: Rising Force
artist: Yngwie Malmsteen
src: Assets/music/rising-force.mp3
cover: Assets/images/rising-force.jpg

Both src and cover use vault-relative paths.

Requirements

  • Audio files must be stored inside the Obsidian vault
  • Cover images must be stored inside the Obsidian vault
  • Paths must use vault-relative paths rather than operating-system absolute paths

Installation

Community plugins

Once the plugin is available in the Obsidian Community Plugins directory:

  1. Open Obsidian Settings.
  2. Open Community plugins.
  3. Search for Knowledge Objects.
  4. Install and enable it.

Manual installation

Download the following files from the latest GitHub release:

  • main.js
  • manifest.json
  • styles.css

Place them in:

<Vault>/.obsidian/plugins/knowledge-objects/

Then restart Obsidian and enable the plugin.

Roadmap

Future versions may support additional semantic objects such as papers, repositories, books, movies, and games.

License

MIT