@eluvio/elv-player-js 1.0.140 → 2.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/README.md +35 -6
- package/dist/.vite/manifest.json +67 -0
- package/dist/Analytics-MzZmvYgy.mjs +2028 -0
- package/dist/Analytics-jM8HcyUa.js +29 -0
- package/dist/dash.all.min-16Sl6Y0h.js +25 -0
- package/dist/dash.all.min-2ST8aEXP.mjs +19428 -0
- package/dist/elv-player-js.cjs.js +1 -0
- package/dist/elv-player-js.css +1 -0
- package/dist/elv-player-js.es.js +5 -0
- package/dist/hls-1eCRapWm.mjs +15461 -0
- package/dist/hls-6O5SV1FQ.js +26 -0
- package/dist/index-BThzGsbn.js +23 -0
- package/dist/index-Cw8L2-NE.js +367 -0
- package/dist/index-herSXPMN.mjs +2273 -0
- package/dist/index-mO9GR6Op.mjs +67432 -0
- package/lib/index.js +7 -0
- package/{src → lib/player}/Analytics.js +9 -8
- package/lib/player/Controls.js +912 -0
- package/{src → lib/player}/FairPlay.js +2 -0
- package/lib/player/Player.js +881 -0
- package/lib/player/PlayerParameters.js +173 -0
- package/lib/static/icons/Icons.js +29 -0
- package/lib/static/icons/svgs/backward-circle.svg +5 -0
- package/lib/static/icons/svgs/backward.svg +4 -0
- package/lib/static/icons/svgs/captions-off.svg +7 -0
- package/lib/static/icons/svgs/captions.svg +6 -0
- package/lib/static/icons/svgs/check.svg +1 -0
- package/lib/static/icons/svgs/chevron-left.svg +1 -0
- package/lib/static/icons/svgs/chevron-right.svg +1 -0
- package/lib/static/icons/svgs/forward-circle.svg +5 -0
- package/lib/static/icons/svgs/forward.svg +4 -0
- package/{src/static/icons/media/Full Screen icon.svg → lib/static/icons/svgs/full-screen.svg} +1 -1
- package/lib/static/icons/svgs/large-play-circle.svg +4 -0
- package/lib/static/icons/svgs/list.svg +1 -0
- package/{src/static/icons → lib/static/icons/svgs}/minimize.svg +1 -1
- package/{src/static/icons/media/Pause icon.svg → lib/static/icons/svgs/pause-circle.svg} +3 -3
- package/lib/static/icons/svgs/pause.svg +1 -0
- package/{src/static/icons/media/Play icon.svg → lib/static/icons/svgs/play-circle.svg} +1 -1
- package/lib/static/icons/svgs/play.svg +1 -0
- package/lib/static/icons/svgs/rotate-cw.svg +1 -0
- package/lib/static/icons/svgs/settings.svg +11 -0
- package/{src/static/icons/media/skip back icon.svg → lib/static/icons/svgs/skip-backward.svg} +2 -3
- package/{src/static/icons/media/Skip forward icon.svg → lib/static/icons/svgs/skip-forward.svg} +2 -3
- package/{src/static/icons/media/Volume icon.svg → lib/static/icons/svgs/volume-high.svg} +3 -3
- package/lib/static/icons/svgs/volume-low.svg +10 -0
- package/{src/static/icons/media/low volume icon.svg → lib/static/icons/svgs/volume-medium.svg} +2 -2
- package/{src/static/icons/media/no volume icon.svg → lib/static/icons/svgs/volume-off.svg} +3 -3
- package/lib/static/stylesheets/common.module.scss +486 -0
- package/lib/static/stylesheets/controls-tv.module.scss +488 -0
- package/lib/static/stylesheets/controls-web.module.scss +422 -0
- package/lib/static/stylesheets/player-profile-form.module.scss +141 -0
- package/lib/static/stylesheets/player.module.scss +92 -0
- package/lib/static/stylesheets/reset.module.scss +79 -0
- package/lib/static/stylesheets/ticket-form.module.scss +123 -0
- package/lib/ui/BuildIcons.cjs +44 -0
- package/lib/ui/Common.js +210 -0
- package/lib/ui/Components.jsx +342 -0
- package/lib/ui/Observers.js +449 -0
- package/lib/ui/PlayerProfileForm.jsx +106 -0
- package/lib/ui/PlayerUI.jsx +316 -0
- package/lib/ui/TVControls.jsx +337 -0
- package/lib/ui/TicketForm.jsx +147 -0
- package/lib/ui/WebControls.jsx +290 -0
- package/package.json +35 -47
- package/dist/index.js +0 -2
- package/dist/index.js.LICENSE.txt +0 -80
- package/src/BuildIcons.js +0 -27
- package/src/PlayerControls.js +0 -1478
- package/src/index.js +0 -1417
- package/src/static/icons/Icons.js +0 -15
- package/src/static/icons/Settings icon.svg +0 -4
- package/src/static/icons/chat icon collapse.svg +0 -1
- package/src/static/icons/chat icon.svg +0 -11
- package/src/static/icons/chat send.svg +0 -1
- package/src/static/icons/full screen.svg +0 -1
- package/src/static/icons/media/LargePlayIcon.svg +0 -4
- package/src/static/icons/media/Settings icon.svg +0 -4
- package/src/static/icons/media/Skip backward icon.svg +0 -4
- package/src/static/icons/media/list.svg +0 -1
- package/src/static/icons/media/loop icon.svg +0 -12
- package/src/static/icons/media/shuffle icon.svg +0 -13
- package/src/static/icons/muted.svg +0 -11
- package/src/static/icons/pause.svg +0 -1
- package/src/static/icons/play circle.svg +0 -1
- package/src/static/icons/play.svg +0 -1
- package/src/static/icons/settings.svg +0 -1
- package/src/static/icons/slider circle.svg +0 -1
- package/src/static/icons/unmuted.svg +0 -10
- package/src/static/images/ELUV.IO logo embed player.png +0 -0
- package/src/static/images/ELUV.IO logo embed player.svg +0 -1
- package/src/static/images/ELUV.IO white 20 px V2.png +0 -0
- package/src/static/images/ELUVIO white.svg +0 -26
- package/src/static/images/Logo.png +0 -0
- package/src/static/stylesheets/player.scss +0 -1065
- package/webpack.config.js +0 -152
- /package/{src/static/icons → lib/static/icons/svgs}/arrow-left.svg +0 -0
- /package/{src/static/icons/live icon.svg → lib/static/icons/svgs/live.svg} +0 -0
- /package/{src/static/icons → lib/static/icons/svgs}/multiview.svg +0 -0
- /package/{src/static/icons/media → lib/static/icons/svgs}/next.svg +0 -0
- /package/{src/static/icons/media → lib/static/icons/svgs}/previous.svg +0 -0
- /package/{src/static/icons → lib/static/icons/svgs}/x.svg +0 -0
- /package/{dist/5897e28fa3e8ac0a2fae.png → lib/static/images/Logo.png} +0 -0
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* JavaScript Cookie v2.1.3
|
|
3
|
-
* https://github.com/js-cookie/js-cookie
|
|
4
|
-
*
|
|
5
|
-
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
|
6
|
-
* Released under the MIT license
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/*!
|
|
10
|
-
* The buffer module from node.js, for the browser.
|
|
11
|
-
*
|
|
12
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
13
|
-
* @license MIT
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
/*!
|
|
17
|
-
* URI.js - Mutating URLs
|
|
18
|
-
*
|
|
19
|
-
* Version: 1.19.11
|
|
20
|
-
*
|
|
21
|
-
* Author: Rodney Rehm
|
|
22
|
-
* Web: http://medialize.github.io/URI.js/
|
|
23
|
-
*
|
|
24
|
-
* Licensed under
|
|
25
|
-
* MIT License http://www.opensource.org/licenses/mit-license
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
/*!
|
|
30
|
-
* URI.js - Mutating URLs
|
|
31
|
-
* IPv6 Support
|
|
32
|
-
*
|
|
33
|
-
* Version: 1.19.11
|
|
34
|
-
*
|
|
35
|
-
* Author: Rodney Rehm
|
|
36
|
-
* Web: http://medialize.github.io/URI.js/
|
|
37
|
-
*
|
|
38
|
-
* Licensed under
|
|
39
|
-
* MIT License http://www.opensource.org/licenses/mit-license
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
/*!
|
|
44
|
-
* URI.js - Mutating URLs
|
|
45
|
-
* Second Level Domain (SLD) Support
|
|
46
|
-
*
|
|
47
|
-
* Version: 1.19.11
|
|
48
|
-
*
|
|
49
|
-
* Author: Rodney Rehm
|
|
50
|
-
* Web: http://medialize.github.io/URI.js/
|
|
51
|
-
*
|
|
52
|
-
* Licensed under
|
|
53
|
-
* MIT License http://www.opensource.org/licenses/mit-license
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
/*!
|
|
58
|
-
* mux-embed
|
|
59
|
-
* @version 4.30.0
|
|
60
|
-
* @copyright 2023 Mux, Inc
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
/*! For license information please see dash.all.min.js.LICENSE.txt */
|
|
64
|
-
|
|
65
|
-
/*! https://mths.be/punycode v1.4.0 by @mathias */
|
|
66
|
-
|
|
67
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
68
|
-
|
|
69
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
70
|
-
|
|
71
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* [js-sha3]{@link https://github.com/emn178/js-sha3}
|
|
75
|
-
*
|
|
76
|
-
* @version 0.8.0
|
|
77
|
-
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
78
|
-
* @copyright Chen, Yi-Cyuan 2015-2018
|
|
79
|
-
* @license MIT
|
|
80
|
-
*/
|
package/src/BuildIcons.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
const fs = require("fs");
|
|
2
|
-
const Path = require("path");
|
|
3
|
-
|
|
4
|
-
const iconSource = {
|
|
5
|
-
PlayCircleIcon: Path.resolve(__dirname, "./static/icons/media/LargePlayIcon.svg"),
|
|
6
|
-
PlayIcon: Path.resolve(__dirname, "./static/icons/media/Play icon.svg"),
|
|
7
|
-
PauseIcon: Path.resolve(__dirname, "./static/icons/media/Pause icon.svg"),
|
|
8
|
-
FullscreenIcon: Path.resolve(__dirname, "./static/icons/media/Full Screen icon.svg"),
|
|
9
|
-
ExitFullscreenIcon: Path.resolve(__dirname, "./static/icons/minimize.svg"),
|
|
10
|
-
SettingsIcon: Path.resolve(__dirname, "./static/icons/media/Settings icon.svg"),
|
|
11
|
-
CloseIcon: Path.resolve(__dirname, "./static/icons/x.svg"),
|
|
12
|
-
MutedIcon: Path.resolve(__dirname, "./static/icons/media/no volume icon.svg"),
|
|
13
|
-
VolumeLowIcon: Path.resolve(__dirname, "./static/icons/media/low volume icon.svg"),
|
|
14
|
-
VolumeHighIcon: Path.resolve(__dirname, "./static/icons/media/Volume icon.svg"),
|
|
15
|
-
MultiViewIcon: Path.resolve(__dirname, "./static/icons/multiview.svg"),
|
|
16
|
-
LeftArrowIcon: Path.resolve(__dirname, "./static/icons/arrow-left.svg"),
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
let iconFile = "";
|
|
20
|
-
Object.keys(iconSource).map(iconName => {
|
|
21
|
-
iconFile += `export const ${iconName} = "${fs.readFileSync(iconSource[iconName]).toString("utf8").replaceAll("\n", "").replaceAll("\"", "\\\"")}";\n`;
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
fs.writeFileSync(
|
|
25
|
-
Path.resolve(__dirname, "./static/icons/Icons.js"),
|
|
26
|
-
iconFile
|
|
27
|
-
);
|