@cycjimmy/jsmpeg-player 5.0.1 → 6.0.0
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/LICENSE +2 -2
- package/README.md +1 -8
- package/dist/{jsmpeg-player.cjs.js → jsmpeg-player.cjs} +106 -92
- package/dist/jsmpeg-player.esm.js +107 -93
- package/dist/jsmpeg-player.umd.js +109 -95
- package/dist/jsmpeg-player.umd.min.js +3 -3
- package/package.json +7 -41
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2017 cycjimmy
|
|
3
|
+
Copyright (c) 2017-2022 cycjimmy
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
# JSMpeg Player(TS Player)
|
|
2
2
|
|
|
3
3
|
![][workflows-badge-image]
|
|
4
|
-
[![build status][travis-image]][travis-url]
|
|
5
4
|
[![libraries dependency status][libraries-status-image]][libraries-status-url]
|
|
6
5
|
[![libraries sourcerank][libraries-sourcerank-image]][libraries-sourcerank-url]
|
|
7
6
|
[![Release date][release-date-image]][release-url]
|
|
8
7
|
[![rollup][rollup-image]][rollup-url]
|
|
9
8
|
[![semantic-release][semantic-image]][semantic-url]
|
|
10
|
-
[![jest][jest-image]][jest-url]
|
|
11
9
|
[![npm license][license-image]][download-url]
|
|
12
10
|
|
|
13
11
|
|
|
@@ -83,7 +81,7 @@ new JSMpeg.VideoElement(videoWrapper, videoUrl [, options] [, overlayOptions])
|
|
|
83
81
|
## CDN
|
|
84
82
|
To use via a CDN include this in your HTML:
|
|
85
83
|
```text
|
|
86
|
-
<script src="https://cdn.jsdelivr.net/npm/@cycjimmy/jsmpeg-player@
|
|
84
|
+
<script src="https://cdn.jsdelivr.net/npm/@cycjimmy/jsmpeg-player@6/dist/jsmpeg-player.umd.min.js"></script>
|
|
87
85
|
```
|
|
88
86
|
|
|
89
87
|
## Encoding Video/Audio for [jsmpeg](https://github.com/phoboslab/jsmpeg) by [ffmpeg](https://ffmpeg.org/). E.g:
|
|
@@ -115,8 +113,6 @@ $ ffmpeg -i input.mp4 -f mpegts \
|
|
|
115
113
|
[jsdelivr-url]: https://www.jsdelivr.com/package/npm/@cycjimmy/jsmpeg-player
|
|
116
114
|
|
|
117
115
|
[workflows-badge-image]: https://github.com/cycjimmy/jsmpeg-player/workflows/Test%20CI/badge.svg
|
|
118
|
-
[travis-image]: https://img.shields.io/travis/cycjimmy/jsmpeg-player
|
|
119
|
-
[travis-url]: https://travis-ci.org/cycjimmy/jsmpeg-player
|
|
120
116
|
|
|
121
117
|
[libraries-status-image]: https://img.shields.io/librariesio/release/npm/@cycjimmy/jsmpeg-player
|
|
122
118
|
[libraries-sourcerank-image]: https://img.shields.io/librariesio/sourcerank/npm/@cycjimmy/jsmpeg-player
|
|
@@ -132,9 +128,6 @@ $ ffmpeg -i input.mp4 -f mpegts \
|
|
|
132
128
|
[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
|
133
129
|
[semantic-url]: https://github.com/semantic-release/semantic-release
|
|
134
130
|
|
|
135
|
-
[jest-image]: https://img.shields.io/badge/tested_with-jest-99424f.svg
|
|
136
|
-
[jest-url]: https://github.com/facebook/jest
|
|
137
|
-
|
|
138
131
|
[license-image]: https://img.shields.io/npm/l/@cycjimmy/jsmpeg-player
|
|
139
132
|
|
|
140
133
|
[github-pages-url]: https://cycjimmy.github.io/jsmpeg-player/
|