@byteplus/veplayer 1.9.0-rc.1 → 1.9.1
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 +2 -2
- package/index.d.ts +634 -479
- package/index.min.css +1 -1
- package/index.min.js +2 -2
- package/package.json +5 -1
- package/plugin/DashAbralgo.js +2 -0
- package/plugin/hls.js +1 -1
- package/plugin/hlsEncrypt.js +2 -2
- package/plugin/mp4Encrypt.js +2 -2
- package/plugin/preloader.js +0 -2
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ npm install @byteplus/veplayer --save
|
|
|
10
10
|
Import VePlayer and style files in the project.
|
|
11
11
|
```javascript
|
|
12
12
|
import VePlayer from '@byteplus/veplayer';
|
|
13
|
-
import '@byteplus/veplayer/
|
|
13
|
+
import '@byteplus/veplayer/index.min.css';
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
### Add playback container
|
|
@@ -43,4 +43,4 @@ const playerSdk = new VePlayer({
|
|
|
43
43
|
isLive: true,
|
|
44
44
|
url: '//livepull.example.com/appname/streamname.flv'
|
|
45
45
|
});
|
|
46
|
-
```
|
|
46
|
+
```
|