comein-player-web 0.1.7 → 0.1.9

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
@@ -17,7 +17,6 @@ import 'comein-player-web/dist/index.css';
17
17
  const player = await createWebPlayer('#comein-player-web', {
18
18
  roadshowId: 'ROADSHOW_ID',
19
19
  userInfo: 'URL 编码后的 userInfo',
20
- page: 'room',
21
20
  locale: 'zh-cn',
22
21
  isBuild: false,
23
22
  hideWebFullscreen: true,
@@ -27,4 +26,4 @@ const player = await createWebPlayer('#comein-player-web', {
27
26
  player.destroy();
28
27
  ```
29
28
 
30
- `roadshowId`、`userInfo`、`page` 为必填参数。`hideWebFullscreen` 和 `hideFullscreen` 为可选参数,不传时使用 SDK 默认值。`userInfo` 只从初始化参数读取,SDK 不会从页面 URL 或浏览器缓存中自动补取。
29
+ `roadshowId`、`userInfo` 为必填参数。`hideWebFullscreen` 和 `hideFullscreen` 为可选参数,不传时使用 SDK 默认值。`page` 不需要业务侧传入,SDK 会固定按播放器房间入口初始化,底层根据路演状态处理预告、直播、回放展示。`userInfo` 只从初始化参数读取,SDK 不会从页面 URL 或浏览器缓存中自动补取。