@scaleflex/widget-media-player 4.0.7 → 4.1.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/CHANGELOG.md +7579 -7567
- package/LICENSE +0 -0
- package/README.md +69 -69
- package/package.json +3 -3
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
# `@scaleflex/widget-media-player`
|
|
2
|
-
|
|
3
|
-
[![Plugins][plugins-image]](#plugins)
|
|
4
|
-
[![Website][filerobot-image]][sfx-url]
|
|
5
|
-
[![Version][filerobot-version]][version-url]
|
|
6
|
-
[![Scaleflex team][made-by-image]][sfx-url]
|
|
7
|
-
[![License][license-image]][license-url]
|
|
8
|
-
[![CodeSandbox][codeSandbox-image]][codeSandbox-url]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<div align='center'>
|
|
12
|
-
<img title="Scaleflex Widget logo" alt="Scaleflex Widget logo" src="https://assets.scaleflex.com/Corporate+Branding/%5B2025%5D+ALL+LOGOS+%2B+ICONS/SCALEFLEX/VXP+logo/Horizontal+White/VXP+logo+WHITE.png?vh=663932" width="140"/>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
The media-player plugin provides player controls to audio/video files in [Scaleflex Media Asset Widget](https://www.npmjs.com/package/@scaleflex/widget-core).
|
|
16
|
-
> Note: The supported playback audio/video formats are `audio/mpeg, audio/ogg, audio/wav, video/mp4, video/quicktime, video/3gpp, video/x-msvideo, video/webm, video/x-matroska`
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## Usage
|
|
20
|
-
|
|
21
|
-
### NPM
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npm install --save @scaleflex/widget-media-player
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### YARN
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
yarn add @scaleflex/widget-media-player
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
then
|
|
34
|
-
|
|
35
|
-
```js
|
|
36
|
-
import MediaPlayer from '@scaleflex/widget-media-player
|
|
37
|
-
...
|
|
38
|
-
...
|
|
39
|
-
...
|
|
40
|
-
scaleflexWidget.use(MediaPlayer)
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### CDN
|
|
44
|
-
|
|
45
|
-
The plugin from CDN is found inside `Scaleflex` global object `Scaleflex.MediaPlayer`
|
|
46
|
-
|
|
47
|
-
```js
|
|
48
|
-
const MediaPlayer = window.ScaleflexWidget.MediaPlayer
|
|
49
|
-
...
|
|
50
|
-
...
|
|
51
|
-
...
|
|
52
|
-
scaleflexWidget.use(MediaPlayer)
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
<!-- Variables -->
|
|
56
|
-
|
|
57
|
-
[npm-url]: https://www.npmjs.com/package/@scaleflex/widget-media-player
|
|
58
|
-
[license-url]: https://opensource.org/licenses/MIT
|
|
59
|
-
[sfx-url]: https://www.scaleflex.com/
|
|
60
|
-
[version-url]: https://www.npmjs.com/package/@scaleflex/widget-media-player
|
|
61
|
-
[codeSandbox-url]: https://codesandbox.io/p/sandbox/scalelfex-widget-v4-sandbox-dtp6l3?file=%2Fsrc%2Findex.js
|
|
62
|
-
|
|
63
|
-
[npm-image]: https://img.shields.io/npm/v/@telus/remark-config.svg?style=for-the-badge&logo=npm
|
|
64
|
-
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge
|
|
65
|
-
[made-by-image]: https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg?style=for-the-badge
|
|
66
|
-
[plugins-image]: https://img.shields.io/static/v1?label=Scaleflex&message=Plugins&color=yellow&style=for-the-badge
|
|
67
|
-
[filerobot-image]: https://img.shields.io/static/v1?label=Scaleflex&message=website&color=orange&style=for-the-badge
|
|
68
|
-
[filerobot-version]: https://img.shields.io/npm/v/@scaleflex/widget-media-player?label=Version&style=for-the-badge&logo=npm
|
|
69
|
-
[codeSandbox-image]: https://img.shields.io/badge/CodeSandbox-black?style=for-the-badge&logo=CodeSandbox
|
|
1
|
+
# `@scaleflex/widget-media-player`
|
|
2
|
+
|
|
3
|
+
[![Plugins][plugins-image]](#plugins)
|
|
4
|
+
[![Website][filerobot-image]][sfx-url]
|
|
5
|
+
[![Version][filerobot-version]][version-url]
|
|
6
|
+
[![Scaleflex team][made-by-image]][sfx-url]
|
|
7
|
+
[![License][license-image]][license-url]
|
|
8
|
+
[![CodeSandbox][codeSandbox-image]][codeSandbox-url]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<div align='center'>
|
|
12
|
+
<img title="Scaleflex Widget logo" alt="Scaleflex Widget logo" src="https://assets.scaleflex.com/Corporate+Branding/%5B2025%5D+ALL+LOGOS+%2B+ICONS/SCALEFLEX/VXP+logo/Horizontal+White/VXP+logo+WHITE.png?vh=663932" width="140"/>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
The media-player plugin provides player controls to audio/video files in [Scaleflex Media Asset Widget](https://www.npmjs.com/package/@scaleflex/widget-core).
|
|
16
|
+
> Note: The supported playback audio/video formats are `audio/mpeg, audio/ogg, audio/wav, video/mp4, video/quicktime, video/3gpp, video/x-msvideo, video/webm, video/x-matroska`
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
### NPM
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install --save @scaleflex/widget-media-player
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### YARN
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
yarn add @scaleflex/widget-media-player
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
then
|
|
34
|
+
|
|
35
|
+
```js
|
|
36
|
+
import MediaPlayer from '@scaleflex/widget-media-player
|
|
37
|
+
...
|
|
38
|
+
...
|
|
39
|
+
...
|
|
40
|
+
scaleflexWidget.use(MediaPlayer)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### CDN
|
|
44
|
+
|
|
45
|
+
The plugin from CDN is found inside `Scaleflex` global object `Scaleflex.MediaPlayer`
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
const MediaPlayer = window.ScaleflexWidget.MediaPlayer
|
|
49
|
+
...
|
|
50
|
+
...
|
|
51
|
+
...
|
|
52
|
+
scaleflexWidget.use(MediaPlayer)
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
<!-- Variables -->
|
|
56
|
+
|
|
57
|
+
[npm-url]: https://www.npmjs.com/package/@scaleflex/widget-media-player
|
|
58
|
+
[license-url]: https://opensource.org/licenses/MIT
|
|
59
|
+
[sfx-url]: https://www.scaleflex.com/
|
|
60
|
+
[version-url]: https://www.npmjs.com/package/@scaleflex/widget-media-player
|
|
61
|
+
[codeSandbox-url]: https://codesandbox.io/p/sandbox/scalelfex-widget-v4-sandbox-dtp6l3?file=%2Fsrc%2Findex.js
|
|
62
|
+
|
|
63
|
+
[npm-image]: https://img.shields.io/npm/v/@telus/remark-config.svg?style=for-the-badge&logo=npm
|
|
64
|
+
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge
|
|
65
|
+
[made-by-image]: https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg?style=for-the-badge
|
|
66
|
+
[plugins-image]: https://img.shields.io/static/v1?label=Scaleflex&message=Plugins&color=yellow&style=for-the-badge
|
|
67
|
+
[filerobot-image]: https://img.shields.io/static/v1?label=Scaleflex&message=website&color=orange&style=for-the-badge
|
|
68
|
+
[filerobot-version]: https://img.shields.io/npm/v/@scaleflex/widget-media-player?label=Version&style=for-the-badge&logo=npm
|
|
69
|
+
[codeSandbox-image]: https://img.shields.io/badge/CodeSandbox-black?style=for-the-badge&logo=CodeSandbox
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleflex/widget-media-player",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Media player integration for video/audio files with Scaleflex",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@scaleflex/icons": "^3.0.0-beta.11",
|
|
17
17
|
"@scaleflex/ui": "^3.0.0-beta.11",
|
|
18
|
-
"@scaleflex/widget-common": "^4.0
|
|
18
|
+
"@scaleflex/widget-common": "^4.1.0",
|
|
19
19
|
"video.js": "^8.10.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"react-dom": ">=19.0.0",
|
|
31
31
|
"react-redux": "^8.1.1"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "471120d67066617a0d8824eae11b07d1f2259473"
|
|
34
34
|
}
|