comein-player-web 0.1.4 → 0.1.6
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 +3 -1
- package/dist/index.css +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +13 -5
- package/dist/index.umd.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,9 +20,11 @@ const player = await createWebPlayer('#comein-player-web', {
|
|
|
20
20
|
page: 'room',
|
|
21
21
|
locale: 'zh-cn',
|
|
22
22
|
isBuild: false,
|
|
23
|
+
hideWebFullscreen: true,
|
|
24
|
+
hideFullscreen: false,
|
|
23
25
|
});
|
|
24
26
|
|
|
25
27
|
player.destroy();
|
|
26
28
|
```
|
|
27
29
|
|
|
28
|
-
`roadshowId`、`userInfo`、`page` 为必填参数。`userInfo` 只从初始化参数读取,SDK 不会从页面 URL 或浏览器缓存中自动补取。
|
|
30
|
+
`roadshowId`、`userInfo`、`page` 为必填参数。`hideWebFullscreen` 和 `hideFullscreen` 为可选参数,不传时使用 SDK 默认值。`userInfo` 只从初始化参数读取,SDK 不会从页面 URL 或浏览器缓存中自动补取。
|