Hanks10100 closed pull request #220: Update video.md URL: https://github.com/apache/incubator-weex-site/pull/220
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/source/cn/references/components/video.md b/source/cn/references/components/video.md index ffd7fe818..812353f2e 100644 --- a/source/cn/references/components/video.md +++ b/source/cn/references/components/video.md @@ -21,6 +21,8 @@ version: 2.1 - `src {string}`:内嵌的视频指向的URL - `play-status {string}`:可选值为 `play` | `pause`,用来控制视频的播放状态,`play` 或者 `pause`,默认值是 `pause`。 - `auto-play {boolean}`:可选值为 `true` | `false`,当页面加载初始化完成后,用来控制视频是否立即播放,默认值是 `false`。 +- `poster {string}` <span class="weex-version">v0.18+ & iOS only</span>:指定视频首图的图片链接。 +- `controls {string}` <span class="weex-version">v0.19+</span>:可选值为 `controls` | `nocontrols`,控制视频播放组件是否显示回放控制面板,默认会显示,当指定为 `nocontrols` 时不显示回放控制面板。 ## 样式 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services