Skip to content

Commit

Permalink
fix(docs): remove control character "\x08" in documents (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
zunsthy authored and xiaoyuhen committed Mar 22, 2019
1 parent 1ca4b3e commit e6811cf
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ render(<Player sources={sources} />)

[查看详细使用方法](./packages/griffith/README-zh_CN.md)

**注意:暂不支持 SSR 应用**
**注意:暂不支持 SSR 应用**

### 非 React 应用

Expand Down
2 changes: 1 addition & 1 deletion packages/griffith-message/README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ dispatchMessage(targetWindow, messageName, data)
| --------------------------------- | -------- | ------------------------------------------------- | ------ |
| `ACTIONS.PLAYER.PLAY` | 播放 | `{applyOnFullScreen: boolean}` 是否应用于全屏视频 | TODO |
| `ACTIONS.PLAYER.PAUSE` | 暂停 | 同上 | 已支持 |
| `ACTIONS.PLAYER.SET_VOLUME` | 设置音量 | `{volume: number}` 音量值,0 到 1 | TODO |
| `ACTIONS.PLAYER.SET_VOLUME` | 设置音量 | `{volume: number}` 音量值,0 到 1 | TODO |
| `ACTIONS.PLAYER.ENTER_FULLSCREEN` | 进入全屏 || TODO |
| `ACTIONS.PLAYER.EXIT_FULLSCREEN` | 退出全屏 || TODO |
2 changes: 1 addition & 1 deletion packages/griffith-message/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ Event sent to the player
| --------------------------------- | ---------------- | ----------------------------------------------------------- | ------ |
| `ACTIONS.PLAYER.PLAY` | Play | `{applyOnFullScreen: boolean}` Applied to full screen video | TODO |
| `ACTIONS.PLAYER.PAUSE` | Pause | Applied to full screen video ||
| `ACTIONS.PLAYER.SET_VOLUME` | Set the volume | `{volume: number}` Volume value from 0 to 1 | TODO |
| `ACTIONS.PLAYER.SET_VOLUME` | Set the volume | `{volume: number}` Volume value from 0 to 1 | TODO |
| `ACTIONS.PLAYER.ENTER_FULLSCREEN` | Enter fullScreen | null | TODO |
| `ACTIONS.PLAYER.EXIT_FULLSCREEN` | Exit fullscreen | null | TODO |
4 changes: 2 additions & 2 deletions packages/griffith/README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```bash
yarn add griffith
yarn add hls.js
# Griffith 播放 M3U8 视频依赖 hls.js。如果不想安装 hls.js,请看 README 的「构建选项」部分。
# Griffith 播放 M3U8 视频依赖 hls.js。如果不想安装 hls.js,请看 README 的「构建选项」部分。
```

```js
Expand Down Expand Up @@ -58,7 +58,7 @@ standalone 模式下的行为有:
- 启用快捷键支持(监听 document 上的 keydown 事件)。
- 会向父级页面发送 message,iframe 所在的页面可以监听这些事件,与播放器进行通信。

### 与播放器进行跨窗口通信
### 与播放器进行跨窗口通信

使用 [griffith-message](../packages/griffith-message#README)

Expand Down
2 changes: 1 addition & 1 deletion packages/griffith/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The behavior in standalone mode is:
- Enable shortcut support (listen to the keydown event on document).
- Will send a message to the parent page, the parent page can listen to these events and then communicate with the player.

### Cross-window meesage with player
### Cross-window meesage with player

use [griffith-message](../packages/griffith-message#README)

Expand Down

0 comments on commit e6811cf

Please sign in to comment.