@eluvio/elv-player-js 2.1.0 → 2.1.2
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/.vite/manifest.json +15 -15
- package/dist/{dash.all.min-CI5RcNnm.mjs → dash.all.min-BL6tNUCs.mjs} +1 -1
- package/dist/{dash.all.min-CF_-4Slr.js → dash.all.min-DSdDnxBL.js} +1 -1
- package/dist/elv-player-js.cjs.js +1 -1
- package/dist/elv-player-js.css +1 -1
- package/dist/elv-player-js.es.js +1 -1
- package/dist/{index-DbJqN5VS.js → index-7GwGdyHP.js} +1 -1
- package/dist/{index-DboHaHhI.mjs → index-BTJyodYy.mjs} +14 -14
- package/dist/{index-BruQW3W6.js → index-BuOaL0fD.js} +4 -4
- package/dist/{index-BlqfaZFd.mjs → index-DlJMTNdL.mjs} +1 -1
- package/lib/static/stylesheets/player.module.scss +1 -1
- package/lib/ui/Common.js +8 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as DI, r as tI, a as TA, b as rI, d as oA, e as uA, f as PA, g as cI } from "./index-
|
|
1
|
+
import { c as DI, r as tI, a as TA, b as rI, d as oA, e as uA, f as PA, g as cI } from "./index-BTJyodYy.mjs";
|
|
2
2
|
class BA {
|
|
3
3
|
constructor(B) {
|
|
4
4
|
this.wasm = B;
|
package/lib/ui/Common.js
CHANGED
|
@@ -148,7 +148,14 @@ export const Time = (time, total) => {
|
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
export const ImageUrl = async ({player, pathOrUrl="", width}) => {
|
|
151
|
-
if(
|
|
151
|
+
if(
|
|
152
|
+
typeof pathOrUrl === "string" &&
|
|
153
|
+
(
|
|
154
|
+
pathOrUrl.startsWith("http://") ||
|
|
155
|
+
pathOrUrl.startsWith("https://") ||
|
|
156
|
+
pathOrUrl.startsWith("data:")
|
|
157
|
+
)
|
|
158
|
+
) {
|
|
152
159
|
return pathOrUrl;
|
|
153
160
|
} else if(pathOrUrl && pathOrUrl.url) {
|
|
154
161
|
return pathOrUrl.url;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eluvio/elv-player-js",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/elv-player-js.es.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"package-lock.json"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
+
"@eluvio/elv-client-js": "^4.2.3",
|
|
39
40
|
"dashjs": "git+https://github.com/elv-zenia/dash.js.git#text-track-fix",
|
|
40
|
-
"@eluvio/elv-client-js": "^4.2.1",
|
|
41
41
|
"focus-visible": "^5.2.0",
|
|
42
42
|
"hls.js": "1.6.0",
|
|
43
43
|
"mux-embed": "^5.9.0",
|