@eluvio/elv-player-js 2.0.39 → 2.0.40

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.
@@ -49580,7 +49580,7 @@ const ii = {
49580
49580
  ElvCrypto: async () => {
49581
49581
  try {
49582
49582
  if (!ii.elvCrypto) {
49583
- const n = (await import("./index-DOPJpqb1.mjs")).default;
49583
+ const n = (await import("./index-DeBr9qMJ.mjs")).default;
49584
49584
  ii.elvCrypto = await new n().init();
49585
49585
  }
49586
49586
  return ii.elvCrypto;
@@ -65859,7 +65859,7 @@ class s2 {
65859
65859
  playoutParameters: h
65860
65860
  }), this.__destroyed)
65861
65861
  return;
65862
- o === "hls" ? await this.__InitializeHLS({ playoutUrl: i, authorizationToken: m, drm: u, drms: c, multiviewOptions: p }) : await this.__InitializeDash({ playoutUrl: i, authorizationToken: m, drm: u, drms: c, multiviewOptions: p }), this.playerOptions.collectVideoAnalytics && import("./Analytics-BASEfJkR.mjs").then(({ InitializeMuxMonitoring: w }) => w({
65862
+ o === "hls" ? await this.__InitializeHLS({ playoutUrl: i, authorizationToken: m, drm: u, drms: c, multiviewOptions: p }) : await this.__InitializeDash({ playoutUrl: i, authorizationToken: m, drm: u, drms: c, multiviewOptions: p }), this.playerOptions.collectVideoAnalytics && import("./Analytics-1QZjV_dS.mjs").then(({ InitializeMuxMonitoring: w }) => w({
65863
65863
  appName: this.playerOptions.appName || "elv-player-js",
65864
65864
  elvPlayer: this,
65865
65865
  playoutUrl: i,
@@ -65965,6 +65965,7 @@ class s2 {
65965
65965
  playoutUrl: e,
65966
65966
  authorizationToken: t,
65967
65967
  drm: r,
65968
+ drms: i,
65968
65969
  multiviewOptions: o
65969
65970
  }), g ? this.video.play() : this.video.pause(), this.isLive || (this.video.currentTime = S);
65970
65971
  }, m.on(
@@ -65979,7 +65980,7 @@ class s2 {
65979
65980
  }
65980
65981
  }
65981
65982
  async __InitializeDash({ playoutUrl: e, authorizationToken: t, drm: r, drms: i }) {
65982
- this.Dash = (await import("./dash.all.min-fyp1Uv1c.mjs").then((c) => c.d)).default;
65983
+ this.Dash = (await import("./dash.all.min-BL_VlSvE.mjs").then((c) => c.d)).default;
65983
65984
  const o = this.Dash.MediaPlayer().create(), u = this.playerOptions.dashjsOptions || {};
65984
65985
  if (o.updateSettings({
65985
65986
  ...u,
@@ -605,7 +605,7 @@ export class EluvioPlayer {
605
605
  playoutUrl.searchParams.delete("authorization");
606
606
 
607
607
  let drmSettings = {};
608
- if (drm === EluvioPlayerParameters.drms.PLAYREADY || drm === EluvioPlayerParameters.drms.WIDEVINE) {
608
+ if(drm === EluvioPlayerParameters.drms.PLAYREADY || drm === EluvioPlayerParameters.drms.WIDEVINE) {
609
609
  drmSettings = {
610
610
  drmSystems: {},
611
611
  emeEnabled: true,
@@ -614,7 +614,7 @@ export class EluvioPlayer {
614
614
  xhr.setRequestHeader("Authorization", `Bearer ${authorizationToken}`);
615
615
  }
616
616
  };
617
- if (drm === EluvioPlayerParameters.drms.PLAYREADY) {
617
+ if(drm === EluvioPlayerParameters.drms.PLAYREADY) {
618
618
  drmSettings.drmSystems = {
619
619
  "com.microsoft.playready": {
620
620
  licenseUrl: drms[drm].licenseServers[0]
@@ -739,6 +739,7 @@ export class EluvioPlayer {
739
739
  playoutUrl,
740
740
  authorizationToken,
741
741
  drm,
742
+ drms,
742
743
  multiviewOptions
743
744
  });
744
745
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-player-js",
3
- "version": "2.0.39",
3
+ "version": "2.0.40",
4
4
  "description": "![Eluvio Logo](lib/static/images/Logo.png \"Eluvio Logo\")",
5
5
  "main": "dist/elv-player-js.es.js",
6
6
  "license": "MIT",