# 第七章：字幕搜索与弹幕搜索

### **💬 弹幕搜索**

**路径**：播放器 > 菜单 > 弹幕 > 选择来源 > 搜索

可用的弹幕源：

| 来源                   | 说明                     |
| -------------------- | ---------------------- |
| 文件导入                 | 导入本地 .xml / .json 弹幕文件 |
| Emby 服务端             | 从 Emby 服务器获取弹幕数据       |
| 弹弹 Play (DanDanPlay) | 国内主流动漫弹幕社区，按番剧名自动匹配    |
| Forward Widget 弹幕    | 模块扩展的第三方弹幕源            |

搜索流程：输入视频/番剧名 → 选择匹配结果 → 加载对应集数弹幕 → 实时叠加显示。

弹幕支持**分段加载**，大弹幕库可按时间分段按需加载，提升弹幕加载的及时程度。

### 💬 弹幕加载机制

* Forward 会根据影片识别信息，自动尝试从内置弹幕 API 获取相关弹幕，或者如果Emby已经利用弹幕插件刮削了弹幕也可以加载。
* 弹幕匹配逻辑基于影片名、剧集信息、播放源等进行判断。

> 💡 若当前影片未识别成功（剧集命名差异）或来源较少，可能无法加载弹幕内容。

{% embed url="<https://t.me/forwardplayer/111>" %}

***

### 🧩 与模块配合

部分模块可能会扩展 Forward 的弹幕数据来源。例如：

* baran通用弹幕模块
* varlog自动弹幕模块

使用这些模块时，Forward 会自动切换或补充默认弹幕源，无需用户干预。

***

### ⚙️ 弹幕相关设置

目前弹幕功能在播放器中默认开启，已经支持

&#x20; \- 弹幕增强：行数、轨道间距、基础速度、粗体字设置

&#x20;&#x20;

***

> 📌 提示：Forward 专注于播放体验，弹幕功能作为补充呈现。如需弹幕精准管理，建议配合其他弹幕平台使用。

**🔤 字幕搜索**

**路径**：播放器 > 菜单 > 字幕 > 搜索字幕

可用的字幕源：

| 来源                | 说明                       |
| ----------------- | ------------------------ |
| 本地文件              | 浏览已缓存的字幕文件或手动导入          |
| Stremio 字幕        | 从已连接的 Stremio Addon 搜索字幕 |
| Forward Widget 字幕 | 通过模块扩展的第三方字幕源            |

搜索后可预览字幕列表，选择后即时生效。支持多语言筛选。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://forward-2.gitbook.io/forward/di-qi-zhang-zi-mu-sou-suo-yu-tan-mu-sou-suo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
