New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

veplayer-mp-wechat

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

veplayer-mp-wechat - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

dist/plugins/xg-fullscreen-icon/xg-fullscreen-icon.js

2

package.json
{
"name": "veplayer-mp-wechat",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "miniprogram": "dist",

@@ -38,3 +38,3 @@ # Veplayer小程序播放器

## 使用组件
### 1. url 方式播放
```xml

@@ -53,6 +53,21 @@ <view>

```
### 2. vid 方式播放
```xml
<view>
<!-- 以下是对一个播放器组件的引用 -->
<xgvideo
id='xgVideo'
className='xg-video'
mode='small'
playDomain='https://vod.volcengineapi.com'
playAuthToken='*****************'
></xgvideo>
</view>
```
>
> - `playDomain`是调用火山引擎视频点播OpenAPI的接口地址,业务方如果做了该接口的代理,可以替换成业务方的地址。
> - `playAuthToken`是获取视频播放信息的临时凭证,由业务方服务端通过调用火山服务端SDK本地生成,具体生成参考[火山引擎视频点播文档](https://www.volcengine.com/docs/4/67350#%E6%9C%8D%E5%8A%A1%E7%AB%AF-sdk)
## [组件属性](#VideoProps)
小程序播放器对video原生组件进行了封装,因此支持觉大部分的video属性配置。以下说明列出了新增属性及差异化属性,列出的部分中以 `show-` 开头的开关即影响原生组件又影响自定义UI,不在列表中的只影响原生组件:
小程序播放器对video原生组件进行了封装,因此支持大部分的video属性配置。以下说明列出了新增属性及差异化属性,列出的部分中以 `show-` 开头的开关即影响原生组件又影响自定义UI,不在列表中的只影响原生组件:

@@ -59,0 +74,0 @@ | Property | Type | Default | Required | Description |

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc