Commit 7e2cf290 authored by 程恺文's avatar 程恺文

视频组件文档更新

parent 518ff0fc
# Change Log # Change Log
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.1.7 (2023-04-14) ## 1.1.7 (2023-04-14)
**Note:** Version bump only for package @wisdom-components/Vmsvideo **Note:** Version bump only for package @wisdom-components/VmsVideo
## [1.1.6](https://g.civnet.cn:8443/ReactWeb5/wisdom-components/compare/@wisdom-components/testvideo@1.1.5...@wisdom-components/testvideo@1.1.6) (2023-04-13) ## [1.1.6](https://g.civnet.cn:8443/ReactWeb5/wisdom-components/compare/@wisdom-components/testvideo@1.1.5...@wisdom-components/testvideo@1.1.6) (2023-04-13)
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
## Usage ## Usage
``` ```
const Vmsvideo = require('@wisdom-components/Vmsvideo'); const Vmsvideo = require('@wisdom-components/VmsVideo');
# VmsVideo 视频组件 # VmsVideo 视频组件
......
{ {
"name": "@wisdom-components/Vmsvideo", "name": "@wisdom-components/VmsVideo",
"version": "1.1.7", "version": "1.1.7",
"description": "> TODO: description", "description": "> TODO: description",
"author": "yutian <249303761@qq.com>", "author": "yutian <249303761@qq.com>",
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
"test": "node ./__tests__/@wisdom-components/VmsVideo.test.js" "test": "node ./__tests__/@wisdom-components/VmsVideo.test.js"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.17.9" "@babel/runtime": "^7.17.9",
"ezuikit-js": "^7.6.3"
} }
} }
...@@ -57,8 +57,8 @@ const Video = (props, ref) => { ...@@ -57,8 +57,8 @@ const Video = (props, ref) => {
id: 'video-container', // 视频容器ID id: 'video-container', // 视频容器ID
accessToken: accessToken, accessToken: accessToken,
url: `ezopen://open.ys7.com/${VideoInfo.address}/1.hd.live`, url: `ezopen://open.ys7.com/${VideoInfo.address}/1.hd.live`,
templete:'simple', templete: 'simple',
footer:['talk','broadcast','hd','fullScreen'] footer: ['talk', 'broadcast', 'hd', 'fullScreen'],
}); });
PlayersA.pause = PlayersA.stop; PlayersA.pause = PlayersA.stop;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment