Skip to content

Commit 2275dcd

Browse files
committed
引入视频功能
1 parent 18b827a commit 2275dcd

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

apijson-doc/md/doc/feature.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,25 @@ package.json 插件依赖
9292
vuepress export 目标地址
9393
```
9494
## 插入视频 B站 优酷 YouTube等
95+
替换 aid 、cid 和 分集 page 即可
96+
[获取视频 aid 、cid 和 page](./img/bilibili.png)
97+
98+
```
99+
<iframe
100+
src="//player.bilibili.com/player.html?aid=752714864&cid=175364063&page=1"
101+
scrolling="no"
102+
style="border:0;width:100%;height:auto;min-height:790px;"
103+
allowfullscreen="true">
104+
</iframe>
105+
```
106+
95107
<iframe
96108
src="//player.bilibili.com/player.html?aid=752714864&cid=175364063&page=1"
97109
scrolling="no"
98110
style="border:0;width:100%;height:auto;min-height:790px;"
99111
allowfullscreen="true">
100112
</iframe>
113+
114+
101115
## 计划引入功能
102116
1. 搜索功能,加入[ Algolia 搜索](https://vuepress.vuejs.org/zh/theme/default-theme-config.html#%E5%86%85%E7%BD%AE%E6%90%9C%E7%B4%A2) 实现文档快速搜索
79.5 KB
Loading

0 commit comments

Comments
 (0)