@eluvio/elv-player-js 2.1.29 → 2.1.31

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.
@@ -78,7 +78,7 @@ class Cast {
78
78
  async SetMedia({playoutOptions, playoutParameters}) {
79
79
  // Get dash options
80
80
  let dashOptions = ((playoutOptions || {}).dash || {}).playoutMethods || {};
81
- let options = dashOptions.clear || dashOptions.widevine;
81
+ let options = dashOptions.clear;
82
82
 
83
83
  if(!options) {
84
84
  // Dash options might be available under the default_dash offering
@@ -89,16 +89,13 @@ class Cast {
89
89
  });
90
90
 
91
91
  dashOptions = ((playoutOptions || {}).dash || {}).playoutMethods || {};
92
- options = dashOptions.clear || dashOptions.widevine || {};
92
+ options = dashOptions.clear || {};
93
93
  } catch(error) {
94
94
  this.player.Log("Unable to find dash playout options for chromecast");
95
95
  }
96
96
  }
97
97
 
98
98
  this.playoutUrl = (options || {}).playoutUrl;
99
-
100
- console.log("Chromecast Playout URL: ", this.playoutUrl);
101
-
102
99
  if(this.playoutUrl && this.ready) {
103
100
  this.onReady && this.onReady();
104
101
  }
@@ -165,6 +165,10 @@ export class EluvioPlayer {
165
165
  clip_end: (playoutParameters.options || {}).clip_end || playoutParameters.clipEnd,
166
166
  };
167
167
 
168
+ if(playoutParameters.vertical) {
169
+ options.v = 1;
170
+ }
171
+
168
172
  let clipStart, clipEnd;
169
173
  if(options.clip_start || options.clip_end) {
170
174
  clipStart = parseFloat(options.clip_start || 0);
@@ -166,6 +166,7 @@ export const DefaultParameters = {
166
166
  clipEnd: undefined,
167
167
  clipRelativeToUntrimmed: true,
168
168
  audioTrackLabel: undefined,
169
+ vertical: false,
169
170
  options: undefined
170
171
  }
171
172
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-player-js",
3
- "version": "2.1.29",
3
+ "version": "2.1.31",
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",