@volcengine/veplayer 1.10.0-rc.0 → 1.10.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,7 +16,7 @@ import '@volcengine/veplayer/index.min.css';
16
16
  ### 添加播放容器
17
17
  在需要展示播放器的页面添加播放器容器,例如,在 index.html 中加入以下代码。
18
18
  ```javascript
19
- <div id="video"></div>
19
+ <div id="video" style="width: 900px;height: 450px"></div>
20
20
  ```
21
21
  ### 播放器实例化
22
22
  在获取到视频地址后,实例化播放器。
@@ -41,7 +41,7 @@ const player = new VePlayer({
41
41
  const playerSdk = new VePlayer({
42
42
  id: 'video',
43
43
  isLive: true,
44
- url: '//livepull.example.com/appname/streamname.flv'
44
+ url: 'https://livepull.example.com/appname/streamname.flv'
45
45
  });
46
46
  ```
47
47
  直播功能的详细说明参考[火山引擎-视频直播-Web SDK-拉流SDK](https://www.volcengine.com/docs/6469/127525)