Repository navigation
Releases
Releases · Blontern/obsidian-media-marker
1.0.4
Features
- 新增循环播放时间戳:写入
[loop]起始时间戳->结束时间戳,点击渲染出的区间按钮即可循环播放该段媒体。- Added loop timestamps: write
[loop]StartTimestamp->EndTimestampand click the rendered range button to loop that segment of the media.
- Added loop timestamps: write
loop标识符不区分大小写,表达式内的空格会被忽略(如[LoOp] 00:10 -> 00:20),但需位于同一行;实时预览与阅读模式均支持。- The
loopkeyword is case-insensitive and spaces inside the expression are ignored (e.g.[LoOp] 00:10 -> 00:20), as long as it stays on a single line; supported in both Live Preview and Reading view.
- The
- 同一时间只允许一个循环区间,再次点击当前区间会停止循环;循环区间不会被当作普通时间戳统计或高亮。
- Only one loop can be active at a time, and clicking the active range again stops looping; loop ranges are not counted or highlighted as regular timestamps.
1.0.3
Fixed
- 实时预览时间戳改为精确回退:仅当光标落入时间戳自身范围时显示源码,不再整行回退,减少视觉跳动。
- Live Preview timestamps now fall back precisely: raw source is shown only when the cursor is inside the timestamp itself, instead of the entire line, reducing visual jumps.
- 修复插件卸载时残留的 DOM 产物:解除自定义播放器包装、移除吸附开关与装饰节点,并刷新视图还原后处理器产物。
- Fixed leftover DOM artifacts on plugin unload: custom player wrappers are unwrapped, sticky toggles and decoration nodes are removed, and views are refreshed to restore post-processor output.
- 修复
createDiv的笔误。- Fixed a typo in
createDiv.
- Fixed a typo in
Changed
- 媒体吸附改为默认关闭,仍可通过视图标题栏按钮按视图开启。
- Media pinning is now disabled by default; it can still be enabled per view via the pin button in the view header.
1.0.2
1.0.1
fix: 修复 1.0.0 版本 Obsidian 插件审查问题
- styles: 用 .tsp-audio 类替换 :has(audio) 选择器,并移除 all: initial
- styles: 直接 style 赋值改用 setCssStyles
- deps: 将 @codemirror/state、@codemirror/view 纳入 dependencies
- types: 用 closest() 消除多余断言,未决 Promise 补 void
- compat: 用 instanceOf 替代 instanceof、createEl 替代 document.createElement
- fix: 移除已废弃的 execCommand 复制回退,改用 Clipboard API 并新增 copyFailed 提示
1.0.0
首个正式版本。在转写文档中点击时间戳即可跳转并播放内嵌的音频/视频。
The first stable release. Click timestamps in a transcription document to seek and play the embedded audio/video.
Features
- 点击时间戳跳转并播放对应的音视频片段
- Click a timestamp to seek to and play the corresponding media segment
- 自定义音频/视频播放器界面
- Custom audio/video player UI
- 时间戳与播放器实时预览
- Live preview for timestamps and the player
- 媒体吸顶(滚动时保持播放器可见),支持一键启用/禁用
- Sticky media that stays visible while scrolling, with a one-click enable/disable toggle
- 播放器设置面板与键盘快捷键
- Player settings panel and keyboard shortcuts
- 中英文(i18n)界面支持
- Chinese and English (i18n) UI support