@eluvio/elv-player-js 1.0.131 → 1.0.133
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/dist/bundle.333.7815f5ebcb1488f0e077.js +2 -0
- package/dist/bundle.542.13fbfeeb92e41067e9da.js +2 -0
- package/dist/bundle.542.13fbfeeb92e41067e9da.js.LICENSE.txt +13 -0
- package/dist/bundle.543.f78d7c10787a91d4b582.js +2 -0
- package/dist/bundle.552.fbfc2e2fc68f6287f12c.js +1 -0
- package/dist/bundle.688.ef6032af9f304acb167f.js +1 -0
- package/dist/bundle.978.40fe2f1d0a843e187793.js +1 -0
- package/dist/index.js +2 -0
- package/dist/{514.bundle.js.LICENSE.txt → index.js.LICENSE.txt} +0 -2
- package/package.json +2 -2
- package/src/index.js +6 -3
- package/src/static/stylesheets/player.scss +1 -1
- package/dist/514.bundle.js +0 -2
- package/dist/bundle.333.56cecff855c747d06da1.js +0 -2
- package/dist/bundle.552.f55e941d82c928e09395.js +0 -1
- package/dist/bundle.688.deaafcaddb0a963835f3.js +0 -1
- package/dist/bundle.978.5b37f5b0d74481e4be10.js +0 -1
- package/dist/main.bundle.js +0 -2
- /package/dist/{bundle.333.56cecff855c747d06da1.js.LICENSE.txt → bundle.333.7815f5ebcb1488f0e077.js.LICENSE.txt} +0 -0
- /package/dist/{main.bundle.js.LICENSE.txt → bundle.543.f78d7c10787a91d4b582.js.LICENSE.txt} +0 -0
|
@@ -48,8 +48,6 @@
|
|
|
48
48
|
|
|
49
49
|
/*! https://mths.be/punycode v1.4.0 by @mathias */
|
|
50
50
|
|
|
51
|
-
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
52
|
-
|
|
53
51
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
54
52
|
|
|
55
53
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eluvio/elv-player-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.133",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"webpack.config.js"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@eluvio/elv-client-js": "^4.0.
|
|
39
|
+
"@eluvio/elv-client-js": "^4.0.62",
|
|
40
40
|
"dashjs": "^4.7.0",
|
|
41
41
|
"focus-visible": "^5.2.0",
|
|
42
42
|
"hls.js": "^1.4.12",
|
package/src/index.js
CHANGED
|
@@ -142,15 +142,15 @@ const DefaultParameters = {
|
|
|
142
142
|
const PlayerProfiles = {
|
|
143
143
|
default: {
|
|
144
144
|
label: "Default",
|
|
145
|
-
hlsSettings: {},
|
|
145
|
+
hlsSettings: Utils.HLSJSSettings({profile: "default"}),
|
|
146
146
|
},
|
|
147
147
|
low_latency: {
|
|
148
148
|
label: "Low Latency Live",
|
|
149
|
-
hlsSettings: Utils.
|
|
149
|
+
hlsSettings: Utils.HLSJSSettings({profile: "ll"})
|
|
150
150
|
},
|
|
151
151
|
ultra_low_latency: {
|
|
152
152
|
label: "Ultra Low Latency Live",
|
|
153
|
-
hlsSettings: Utils.
|
|
153
|
+
hlsSettings: Utils.HLSJSSettings({profile: "ull"})
|
|
154
154
|
},
|
|
155
155
|
custom: {
|
|
156
156
|
label: "Custom",
|
|
@@ -974,12 +974,15 @@ export class EluvioPlayer {
|
|
|
974
974
|
this.Log(`Encountered ${error.details}`);
|
|
975
975
|
this.Log(error);
|
|
976
976
|
|
|
977
|
+
/*
|
|
977
978
|
if(error.details === "bufferFullError") {
|
|
978
979
|
this.bufferFullRestartTimeout = setTimeout(() => {
|
|
979
980
|
this.Log("Buffer full error - Restarting player", true);
|
|
980
981
|
this.HardReload(error, 5000);
|
|
981
982
|
}, 3000);
|
|
982
983
|
}
|
|
984
|
+
|
|
985
|
+
*/
|
|
983
986
|
|
|
984
987
|
if(error.details === "bufferStalledError") {
|
|
985
988
|
const stallTime = this.video.currentTime;
|